ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conor MacNeill" <co...@cortexebusiness.com.au>
Subject RE: Compiling multiple source files....
Date Wed, 07 Mar 2001 23:28:39 GMT
Rich,

This answer depends on what packages your classes are in. If I assume that
both classes are in the unnamed package (i.e. no package statement), this
should work

<javac classpath="${CLASSPATH}"
       destdir="${BUILDDIR}"
       deprecation="on"
       >
    <src path="${SRCDIR}/Directory1"/>
    <src path="${SRCDIR}/Directory2"/>
    <include name="file1.java"/>
    <include name="file2.java"/>
</javac>

Conor


Mime
View raw message