Bug 117483 - The classpath for the resources-ant.jar script has to be updated
Summary: The classpath for the resources-ant.jar script has to be updated
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Resources (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.2 M4   Edit
Assignee: John Arthorne CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-22 09:14 EST by Oleg Besedin CLA
Modified: 2005-11-23 11:07 EST (History)
1 user (show)

See Also:


Attachments
Patch for the org.eclipse.core.resources (2.20 KB, patch)
2005-11-22 10:21 EST, Oleg Besedin CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Oleg Besedin CLA 2005-11-22 09:14:08 EST
The file org.eclipse.core.resources/scripts/buildExtraJAR.xml contains explicit list of paths for the javac command. 

There are at least two problems with it.

First, due to the runtime split the following plugins have to be added to the path:
   org.eclipse.core.jobs
   org.eclipse.equinox.common

Secondly, it won't work anyway as the jar files are generated with qualifier versions - the actual jar names are:
   org.eclipse.equinox.common_1.0.0.N20051121-0010.jar
   org.eclipse.osgi_3.2.0.N20051121-0010.jar
and, of course, they change with every build.
Comment 1 Oleg Besedin CLA 2005-11-22 10:21:16 EST
Created attachment 30378 [details]
Patch for the org.eclipse.core.resources

Added a possible patch for this problem (used the approach from the org.eclipse.ant.core).
Comment 2 John Arthorne CLA 2005-11-23 11:07:33 EST
Thanks Oleg, patch released.