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

Bug 276376

Summary: [product][export] creates config.ini with invalid start level
Product: [Eclipse Project] PDE Reporter: Rüdiger Herrmann <ruediger.herrmann>
Component: UIAssignee: PDE-UI-Inbox <pde-ui-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: caniszczyk
Version: 3.5   
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard:
Attachments:
Description Flags
Product configuration none

Description Rüdiger Herrmann CLA 2009-05-14 16:08:23 EDT
When exporting the attached feature-based product, I end up with a config.ini that speifies invalid start levels.
The feature just consists of the mail template plus its dependencies.

The config.ini looks like this:
eclipse.application=org.eclipse.mail.demo.application
osgi.bundles.defaultStartLevel=4
eclipse.product=org.eclipse.mail.demo.product
osgi.splashPath=platform:/base/plugins/org.eclipse.mail.demo
osgi.bundles=org.eclipse.mail.demo@0,org.eclipse.core.runtime@0,...

Trying to launch the exported product results in:
java.lang.IllegalArgumentException: The requested start level of 0 is invalid.  The value must be a positive integer.
Comment 1 Rüdiger Herrmann CLA 2009-05-14 16:09:34 EDT
Created attachment 135854 [details]
Product configuration
Comment 2 Chris Aniszczyk CLA 2009-05-14 16:15:53 EDT

*** This bug has been marked as a duplicate of bug 273961 ***