Summary: | Javac task includes all files from the extDirs list | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Alex Blewitt <alex.blewitt> | ||||
Component: | Core | Assignee: | Olivier Thomann <Olivier_Thomann> | ||||
Status: | VERIFIED FIXED | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P3 | ||||||
Version: | 3.2 | ||||||
Target Milestone: | 3.2 M6 | ||||||
Hardware: | Macintosh | ||||||
OS: | Mac OS X - Carbon (unsup.) | ||||||
Whiteboard: | |||||||
Bug Depends on: | |||||||
Bug Blocks: | 127382 | ||||||
Attachments: |
|
Description
Alex Blewitt
2006-03-28 18:01:21 EST
Could you please use a more recent build? You are using build scripts that require a more recent Eclipse build than M5a. Could you please try with the upcoming M6 build? The code you are looking at in the compiler ant adapter doesn't exist anymore. The log file is now created by the script and no longer by the ant adapter. Re: log file being created in ant builds and not helper any more; sounds like that will fix one of the problems. The other problem -- that it uses * for its import of the java.ext.dirs -- will still cause a problem for any system that contains non-Jar files in ext locations. I'll verify against a more recent build and post back results. Alex. According to the description of extDirs in the javac doc, we should include only jars files. Not the zip files. http://java.sun.com/j2se/1.5.0/docs/tooldocs/windows/javac.html -extdirs directories Cross-compile against the specified extension directories. Directories is a semicolon-separated list of directories. Each JAR archive in the specified directories is searched for class files. Would jar files be enougjh or mac is using zip files as well? In fact this sounds inconsistent with the -bootclasspath option that can include zip files and/or jar files. I would go for inclusion of both types. Created attachment 37201 [details]
Proposed fix
Fixed and released in HEAD. I released a better change. Instead of managing the ext dirs in the ant adapter we should reuse the batch compiler support. So, you already fixed it :-) The Mac uses the ext libs for both Jars and .jnilibs. It's probably a good idea to support Zips as well. Do you want me to test the newer fix with on the Mac? Or shall I just wait for M6 to verify it? Feel free to try the 20060329-1600 build. It should include the fix for this problem. Let me know asap if this is fine. FYI I've downloaded I20060329 and verified that this fix works on a Mac platform, provided that I override the bootclasspath (as described in bug 127382) Changing OS from Mac OS to Mac OS X as per bug 185991 |