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 4372] - Javac task always generates optional -sourcepath switch
Date Wed, 19 Dec 2001 21:34:44 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=4372>.
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=4372

Javac task always generates optional -sourcepath switch

jwinshell@bearriver.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |



------- Additional Comments From jwinshell@bearriver.com  2001-12-19 13:34 -------
Here is the fix:

file: src/main/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapter.java
around line: 270

            cmd.createArgument().setPath(classpath);
/** jw: this is wrong!  Otherwise javac won't find sources for implicitly referenced classes
that outside our specific
set of source files
            cmd.createArgument().setValue("-sourcepath");
            cmd.createArgument().setPath(src);
*/

--
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