ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexis Votta" <>
Subject How to include a single Java file in javac task?
Date Mon, 08 Oct 2007 10:50:48 GMT
Currently, my compile target is as follows.

  <target name="compile">
    <mkdir dir="${build.classes.dir}"/>
    <javac srcdir="${src.dir}" destdir="${build.classes.dir}"/>

So, it compiles everything in ${src.dir}.

Apart from this I want to add one single Java file to be compiled.
Therefore, I want:

1. All Java files in ${src.dir} to be compiled.
2. rt/src/ to be compiled.

How can I do this?

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message