ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexis Votta" <alexisvo...@gmail.com>
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}"/>
  </target>

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/Crypto.java to be compiled.

How can I do this?

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message