ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sujan Digumarti <Sujan.Diguma...@india.techspan.com>
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}" />
</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:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message