ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Pettiss" <>
Subject RE: someone help, please
Date Wed, 01 Aug 2001 00:12:51 GMT
And what happens?  If the certain directories aren't being excluded, perhaps
it's because you haven't turned off dependency checking on your compiler--
this will automatically drag more classes into compilation if it deems them
necessary.  Check the docs for the options on javac and see if that works.


-----Original Message-----
From: Jason Rogers []
Sent: Tuesday, July 31, 2001 4:02 PM
To: Ant Users (E-mail)
Subject: someone help, please

I have been racking my brain for over an hour trying to figure out what I am
doing wrong and just can't get it.

I am trying to build a set of source files but I want to exclude certain
directories (using Ant 1.3 and Java 1.3).  Here's a snippet:

    <target name="buildEA" depends="buildJUnit">
        <mkdir dir="${classes.dir}" />
        <mkdir dir="${build.dir}/lib" />

        <javac srcdir="${src.dir}"
com/tumbleweed/ea/alltests/**, com/tumbleweed/ea/tests/**"
            <classpath refid="all.jars" />
        <jar jarfile="${build.dir}/lib/ea.jar"
             basedir="${classes.dir}" />

Thanks in advance...


View raw message