Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 25275

Summary: classpath variable ECLIPSE_HOME variable disappear
Product: [Eclipse Project] PDE Reporter: Sam <scheung>
Component: UIAssignee: Wassim Melhem <wassim.melhem>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: david.dean
Version: 2.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Sam CLA 2002-10-23 15:31:27 EDT
i am using M2 build. I notice the classpath variable does not exist. And
everytime I add the ECLIPSE_HOME classpath variable manually, it will be
removed when i exit Eclispe.
My Eclipse Plugin projects can not longer build due to this. And I have to
add that classpath variable everytime I start eclipse.
Comment 1 Wassim Melhem CLA 2002-10-23 22:40:47 EDT
Fixed.
Comment 2 David Dean CLA 2003-01-15 14:22:57 EST
This is clearly still a problem. I can reproduce it in M4. I hadn't experienced
it until I upgraded to WinXP, but I don't know if that's a factor. It happens if
I "import/existing project into workspace" in a fresh, empty workspace. The only
workaround I've found is to first create a new plug-in project in the workspace,
then do the import. I think the severity of this bug should be reconsidered
also. It's pretty annoying.
Comment 3 Wassim Melhem CLA 2003-01-16 00:34:42 EST
On a fresh workspace, you have to go to the Target Platform preference page 
and enable external plugins if you want your project to compile without 
problems.
Also, we recommend that you use the import 'external plugins and fragments' 
wizard, and NOT the 'existing project into workspace' import wizard.  If you 
use PDE's 'external plugins and fragments' import wizard, we would guarantee 
that ECLIPSE_HOME is properly initialized, and also in that wizard, there is a 
shortcut to the Target platform preference page that you definitely need to 
visit at some point.  Also our wizard allows you to import plugins from 
arbitrary locations when you uncheck the first checkbox on the page and browse 
for the location of your choice.
Comment 4 Wassim Melhem CLA 2003-01-16 00:36:27 EST
resolving as works for me.