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

Bug 337235

Summary: Eclipse export product encountered problem (fails)
Product: [Eclipse Project] PDE Reporter: Gilbert Le Blanc <gleblanc>
Component: BuildAssignee: pde-build-inbox <pde-build-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: major    
Priority: P3 CC: mwallis76
Version: 4.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Gilbert Le Blanc CLA 2011-02-15 12:56:28 EST
Build Identifier: Build id: M20100211-1343

The Eclipse Product export wizard fails on my workstation when the RCP is built using JavaSE-1.6.  If the RCP is built using Java 1.5, the Eclipse Product export wizard succeeds.

I have reproduced this problem on Eclipse 3.6, Build id: 20100617-1415 

I'm using jre1.5.0_20 as the Java 1.5 run environment.  I'm using both jre6 and jdk1.6.0_23 as the Java 1.6 run environment.

The error I get is:

C:\BOPEclipse3.5RabId\.metadata\.plugins\org.eclipse.pde.core\temp\org.eclipse.pde.container.feature\package.org.eclipse.pde.container.feature.win32.win32.x86.xml:99: The following error occurred while executing this line:
C:\BOPEclipse3.5RabId\.metadata\.plugins\org.eclipse.pde.core\temp\org.eclipse.pde.container.feature\package.org.eclipse.pde.container.feature.win32.win32.x86.xml:247: C:\BOPEclipse3.5RabId\.metadata\.plugins\org.eclipse.pde.core\temp\assemblyLocation\tmp\eclipse\plugins\org.eclipse.equinox.launcher_1.0.201.R35x_v20090715 not found.
The following error occurred while executing this line:
C:\BOPEclipse3.5RabId\.metadata\.plugins\org.eclipse.pde.core\temp\org.eclipse.pde.container.feature\package.org.eclipse.pde.container.feature.win32.win32.x86.xml:247: C:\BOPEclipse3.5RabId\.metadata\.plugins\org.eclipse.pde.core\temp\assemblyLocation\tmp\eclipse\plugins\org.eclipse.equinox.launcher_1.0.201.R35x_v20090715 not found.

The line numbers vary, but the essential problem remains the same.

I'm building from a Windows XP workstation and the target of my RCP application is Windows XP.

Reproducible: Always

Steps to Reproduce:
1. Create a Hello World RCP application, using a Java 1.6 JRE System Library.

2. Create a new Product Configuration for the RCP application.  Initialize the file content by using an existing product.

3. Run from inside Eclipse as an Eclipse application.  Verify that the RCP application starts and displays a blank window.

4. Use the Eclipse Product export wizard to export the Hello World RCP application.  Make the destination an archive file.  Uncheck export source and generate metadata repository, and check allow for binary cycles in target platform.  Verify that you get the export product has encountered a problem window.

5. Change the JRE System Library to Java 1.5 in the Hello World RCP application, and repeat steps 3 and 4.  Verify that you have a successful export.
Comment 1 Michael CLA 2012-01-24 15:40:14 EST
Gilbert,

I too am experiencing this issue but have been unable to successfully reproduce it.  However, I always see the message indicating the org.eclipse.equinox.launcher feature could not be found.

My configuration:

Java JDK 1.5
Eclipse for RCP and RAP Developers
Version: Helios Service Release 2
Build id: 20110218-0911
contains plugin...
    plugin id      : org.eclipse.equinox.launcher
    plugin version : 1.1.1.R36x_v20101122_1400

Delta Pack, contains...
    feature name    : org.eclipse.equinox.executable
    feature version : 3.4.2.R36x_v20110125
    references plugin...
        plugin id      : org.eclipse.equinox.launcher
        plugin version : 1.1.1.R36x_v20101122_1400


I have the delta pack added to the target platform.  From the above setup, it seems the eclipse-contained feature org.eclipse.equinox.executable has its feature.xml file referencing the correct plugin, namely the org.eclipse.equinox.launcher with the same version.  I would think Eclipse would have been able to find / resolve this missing launcher.

Any thoughts from others?

Thanks
Comment 2 Lars Vogel CLA 2018-12-03 09:05:24 EST
Currently we are not actively enhancing PDE build anymore. Therefore, I close this bug as WONTFIX. 

Please reopen, if you plan to provide a fix.