ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 3198] - The <javac> task doesn't work properly with multi-element sourceparh
Date Tue, 23 Apr 2002 09:06:36 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3198>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3198

The <javac> task doesn't work properly with multi-element sourceparh





------- Additional Comments From jdennist@lehman.com  2002-04-23 09:06 -------
There is an additional downside to Ant using javac -sourcepath rather than a 
list of files.  
Imagine you have two different packages com.xyz.one and com.xyz.two which have 
the same base but require different third party JARs to compile.  The obvious 
thing would be to have two targets with different classpaths and 
includes/excludes.  If you do this, Ant correctly decides whether there are any 
files to compile but if there are, then javac incorrectly attempts to compile 
code in both packages and fails because of missing JARs

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message