Community
Participate
Working Groups
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.
Fixed.
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.
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.
resolving as works for me.