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=4035>.
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=4035
Jikes compiler task adds non jar files in JRE/lib/ext to the classpath
Summary: Jikes compiler task adds non jar files in JRE/lib/ext to
the classpath
Product: Ant
Version: 1.5 alpha (nightly)
Platform: Other
OS/Version: Windows NT/2K
Status: NEW
Severity: Minor
Priority: Other
Component: Core tasks
AssignedTo: ant-dev@jakarta.apache.org
ReportedBy: steve_l@iseran.com
I have the java serial ports stuff in comm.jar in my JRE's ext directory along
with the associated properties file, and now when I run javac with
build.compiler=jikes I get a warning message
*** Warning: The file "D:\Java\jdk13\jre\lib\ext\javax.comm.properties" is not
a valid directory.
I think the problem lies in DefaultCompilerAdapter.addExtdirsToClasspath(),
which adds all files in all ext directories to the classpath. Should it be
restricted to only adding *.jar ?
|