You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Stefan Bodewig <bo...@bost.de> on 2000/09/06 10:14:16 UTC

Re: Optional tasks while building ant

>>>>> "RK" == Roland Kamke <rk...@SPM.DE> writes:

 RK> Where to specify which of these optional tasks to be included in
 RK> a build run?

By default all optional task that can be built on your system are
included.

To do so, Ant checks for several classes. <script> for example needs
BSF, so Ant looks for the class com.ibm.bsf.BSFManager. If it can find
it this means BSF is in your CLASSPATH and the task will be included.

You'll need to modify build.xml if you want a different behavior (for
example put

<exclude name="**/optional/**" />

into the javac task and no optional tasks should be included.

Stefan