| <<O>> Difference Topic NicecAntTaskdef (r1.7 - 28 Apr 2005 - TWikiGuest) |
| <<O>> Difference Topic NicecAntTaskdef (r1.6 - 26 Jan 2005 - LiYan) |
| <<O>> Difference Topic NicecAntTaskdef (r1.5 - 13 Jan 2005 - DanielBonniot) |
| Deleted: | |
| < < | |
| <<O>> Difference Topic NicecAntTaskdef (r1.4 - 07 Feb 2004 - TWikiGuest) |
| Added: | |
| > > | |
| <<O>> Difference Topic NicecAntTaskdef (r1.3 - 22 Jan 2004 - TWikiGuest) |
| Changed: | |
| < < | </java> |
| > > | </nicec> |
| <<O>> Difference Topic NicecAntTaskdef (r1.2 - 04 Oct 2003 - ChristianS) |
| Added: | |
| > > | -- AlexGreif - 14 Mar 2003 |
| Added: | |
| > > | It is important, that the class nice.tools.ant.Nicec is in the ANT classpath. You can easily achieve that with placing the nice.jar in the library directory of your Ant distribution: $ANT_HOME/lib. |
| Added: | |
| > > | -- ChristianS - 04 Oct 2003 |
| Deleted: | |
| < < | -- AlexGreif - 14 Mar 2003 |
| <<O>> Difference Topic NicecAntTaskdef (r1.1 - 14 Mar 2003 - AlexGreif) |
| Added: | |||||||||||||||||||||||||||||||||||||||||||
| > > |
%META:TOPICINFO{author="AlexGreif" date="1047646500" format="1.0" version="1.1"}%
%META:TOPICPARENT{name="NiceTutorial"}%
To use the Nice compiler laso in an ant build script, we developed a task definition for it. Here you can see the documentation with some examples.
NicecDescriptionRuns the Nice compiler. All arguments to the Nice compiler Task has to be placed as attributes in the nicec xml-element.Parameters
classpath
Example
<nicec package="test" >
<classpath>
<pathelement location="\test.jar"/>
<pathelement path="${java.class.path}"/>
</classpath>
</java>
It is possible to use the classpath attribute together with the classpath nested tag. In this case the result is a concatenated path. It is highly recommended to use the nested version!
Examples
<taskdef name="nicec" classname="nice.tools.ant.Nicec"/>
<target name="nice-compiler">
<nicec package="test" runtime="../share/java/nice.jar"/>
</target>
-- AlexGreif - 14 Mar 2003 | ||||||||||||||||||||||||||||||||||||||||||
| Topic NicecAntTaskdef . { View | Diffs | r1.7 | > | r1.6 | > | r1.5 | More } |
|
Revision r1.1 - 14 Mar 2003 - 12:55 GMT - AlexGreif Revision r1.7 - 28 Apr 2005 - 11:54 GMT - TWikiGuest |
Copyright © 1999-2003 by the contributing authors.
All material on this collaboration platform is the property of the contributing authors. Ideas, requests, problems regarding TWiki? Send feedback. |