Bug 40691 - Java Classpath Variables should be overrideable on a per project basis.
Summary: Java Classpath Variables should be overrideable on a per project basis.
Status: RESOLVED WONTFIX
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 3.0 M3   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-23 21:10 EDT by MG CLA
Modified: 2003-07-24 11:36 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description MG CLA 2003-07-23 21:10:14 EDT
Windows->Preferences->Java->Classpath Variables need to be overrideable on a per
project basis.

I have two versions of my product, 1.0 and 2.0.

The variable I use is:  JRE_LIB.

Each version of the weblogic appserver is dependant on a specific version of a
jre.  For instance, wlserver6.1sp2 runs with JRE 1.3.1-04 where as
wlserver6.1sp3 runs with JRE 1.3.1-06.

So in the project for 1.0 I want my JRE_LIB to be 1.3.1-04 and in 2.0 I want it
to be 1.3.1-06.
Comment 1 Philipe Mulet CLA 2003-07-24 08:01:15 EDT
Then switch to using JRE containers instead, which have more abilities (denote 
multiple libraries at once, and be configurable on a per project basis).

See build path preferences, add library and pick 'JRE System Library' (also 
remove the variable JRE LIB from your build path).

Then you can edit this entry to use a different flavor.

Ok to close?
Comment 2 Philipe Mulet CLA 2003-07-24 08:23:07 EDT
Closing, since we are not going to change classpath variables anyway.
Comment 3 MG CLA 2003-07-24 11:36:09 EDT
Alright, thanks for the info.  It is too bad the ui for that feature is
semi-broken bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=40720