Community
Participate
Working Groups
Build Identifier: 20100218-1602 After doing an "import, plug-ins and fragments" on freshly created plug-in, new line "Remove Bundle-ClassPath:" appears in manifest.mf. This causes ClassNotFoundException. The removing of the line solves the problem. Reproducible: Always Steps to Reproduce: Eclipse for RCP/Plug-in Developers Build id: 20100218-1602 1. Create a simple project 1.1. New : plug-in project 1.2. Enter project name (xxxx), create it in alternative workspace folder (not in default location - c:\tmp\xxxx) 1.3. Next 1.4. Plug-in with multi-page editor 1.6 finish 1.7. Run as eclipse application, test the app works (for example open new Sample Wizard, multi-page Editor File ) 2.1.Remove your project without deleting its content on disk. 3. Imported project doesn't work 3.1. Go to "Import, plug-ins and fragments" 3.2. Directory, point your alternative workspace directory (c:\tmp) 2.3. Select your project (xxxx) and click add 2.4. Finish, yes to all 2.5. Run as eclipse application, 2.6 test the app doesn't work (for example open new Sample Wizard, multi-page Editor File will give The selected wizard could not be started. Plug-in xxxx was unable to load class xxxx.wizards.SampleNewWizard. xxxx.wizards.SampleNewWizard ) 4.0. Solve the problem 4.1. Open manifest.mf 4.2. Remove Bundle-ClassPath: xxxx 4.3. Repeat the scenario from 2.6 - it will work.
Rather than importing the project using "Import > Plug-in Development > Plug-ins and Fragments" use "Import > General > Existing Projects into Workspace". The PDE project is not packaged as a bundle - it is a workspace project, and the shape of the project is not the same as a runtime bundle. This use case you have outlined is not a supported scenario.