next up previous contents index
Next: Parameters Up: NetRexxC Previous: NetRexxC   Contents   Index

Description

Compiles a NetRexx source tree within the running (Ant) VM.

The source and destination directory will be recursively scanned for NetRexx source files to compile. Only NetRexx files that have no corresponding class file or where the class file is older than the java file will be compiled.

Files in the source tree are copied to the destination directory, allowing support files to be located properly in the classpath. The source files are copied because the NetRexx compiler cannot produce class files in a specific directory via parameters

The directory structure of the source tree should follow the package hierarchy.

It is possible to refine the set of files that are being compiled/copied. This can be done with the includes, includesfile, excludes, excludesfile and defaultexcludes attributes. With the includes or includesfile attribute you specify the files you want to have included by using patterns. The exclude or excludesfile attribute is used to specify the files you want to have excluded. This is also done with patterns. And finally with the defaultexcludes attribute, you can specify whether you want to use default exclusions or not. See the section on directory based tasks, on how the inclusion/exclusion of files works, and how to write patterns.

This task forms an implicit FileSet and supports all attributes of <fileset> (dir becomes srcdir) as well as the nested <include>, <exclude> and <patternset> elements.

All properties except classpath, srcdir and destDir are also available as properties in the form ant.netrexxc.attributename, eg.

<property name="ant.netrexxc.verbose" value="noverbose"/>
or from the command line as ant -Dant.netrexxc.verbose=noverbose ...


next up previous contents index
Next: Parameters Up: NetRexxC Previous: NetRexxC   Contents   Index
Andrew Marlow 2003-07-08