ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Rogers" <jason.rog...@tumbleweed.com>
Subject someone help, please
Date Tue, 31 Jul 2001 21:01:56 GMT
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}"
               destdir="${classes.dir}"
               includes="com/tumbleweed/**"
               excludes="com/tumbleweed/ea/feeder/ime/**,
com/tumbleweed/ea/alltests/**, com/tumbleweed/ea/tests/**"
               failonerror="true"
        >
            <classpath refid="all.jars" />
        </javac>
        <jar jarfile="${build.dir}/lib/ea.jar"
             basedir="${classes.dir}" />
    </target>

Thanks in advance...

-Jason


Mime
View raw message