ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sujan Digumarti <>
Subject Multiple sources in javac
Date Mon, 11 Mar 2002 08:30:18 GMT
I have small problem please let me know how to about it..

<target name="compile" depends="init" >
<javac destdir="${temp}" >
<src path="${src}" />
<src path="${helper}" />

i want to exclude all the files in the ${helper} directory, so that only
those files which have are "imported" by the files in ${src} are compiled
into ${temp} 

i have tried the following combinations ..

<src path="${src}" />
<include name="**/*.java" />
<src path="${helper}" />
<exclude name="**/*.java" />

doesnt work as it excludes all the files that are included 

<src path="${src}" />
<src path="${helper}" />
<exclude name="${helper}/**/*.java" />

doesnt work.

i hv also referred to a particular bug reported in ant bugzilla

as my problem is quite similar to the reported bug.

Any kind of ideas will be most welcome .. 


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message