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 23035] - javac always recompiles when multiple src paths are given
Date Wed, 10 Sep 2003 18:05:46 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=23035>.
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=23035

javac always recompiles when multiple src paths are given





------- Additional Comments From thomas.diesler@iotronics.com  2003-09-10 18:05 -------
You mean like this




        <javac srcdir="${src.dir}" destdir="${build.dir}" >


            <exclude name="packone/**" />


            <include name="packtwo/**" />


        </javac>




whereas the include would be optional. The output is:




compile:


    [javac] Compiling 1 source file to D:\projects\antTest\target\classes




Which looks ok and as I would expect it. But infact it compiles 2 sources. 
packone.ClassA is implicitly compiled, although I excluded it. I think, this is 
because of the dependency: public class ClassB extends ClassA 




I'm running into this, because I want ClassB to use myjar.jar/packone/ClassA and 
not recompile it from the source tree.

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


Mime
View raw message