How can I exclude my tests package from source folder in an ant build file?

Posted by Chris on Stack Overflow See other posts from Stack Overflow or by Chris
Published on 2010-05-25T05:31:16Z Indexed on 2010/05/25 5:41 UTC
Read the original article Hit count: 204

Filed under:
|
|

I have the following declaration in my build.xml file, in my src folder I have my test package which I don't want to include into my process. How can I force scrdir to read everything from ${src.dir} except test package?

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

© Stack Overflow or respective owner

Related posts about java

Related posts about ant