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

Examples

The following build.xml snippet is an example of how to use the recorder to record just the <javac> task:

    ...
    <compile >
        <record name="log.txt" action="start"/>
        <javac ...
        <record name="log.txt" action="stop"/>
    <compile/>
    ...
The following two calls to <record> set up two recorders: one to file "records-simple.log" at logging level info (the default) and one to file "ISO.log" using logging level of verbose.
    ...
    <record name="records-simple.log"/>
    <record name="ISO.log" loglevel="verbose"/>
    ...



Andrew Marlow 2003-07-08