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}" />
</javac>
</target> 

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 
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3198

as my problem is quite similar to the reported bug.

Any kind of ideas will be most welcome .. 

Rgds,
Sujan



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to