Last published: 17 June 2005 | Doc for 1.0 |
|
DescriptionThis tag sets an attribute of an Ant task or datatype if the given value is not null. This is very useful in allowing attributes of ant tasks to be set conditionally without ugly if/then/else logic. Attributes
Nested ElementsNone ExamplesThis tag is always nested inside of another Ant task, target or datatype. <j:jelly xmlns:j="jelly:core" xmlns:ant="jelly:ant"> <ant:javac destdir="${maven.build.dest}" excludes="**/package.html" debug="${maven.compile.debug}" deprecation="${maven.compile.deprecation}" optimize="${maven.compile.optimize}"> <ant:setProperty name="encoding" value="${maven.compile.encoding}" /> <ant:setProperty name="executable" value="${maven.compile.executable}" /> </ant:javac> </j:jelly> |
© 2002-2005, Apache Software Foundation |