Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » P2 » problem doing RCP feature as product install
problem doing RCP feature as product install [message #647239] Wed, 05 January 2011 10:15
Francis Upton IV is currently offline Francis Upton IVFriend
Messages: 472
Registered: July 2009
Location: Oakland, CA
Senior Member
I'm trying to do the installation for an RCP app. Previously it had worked with the 3.4.2 stuff, and I'm moving to 3.6.1.

I'm using signJars=true and outputUpdateJars=false. All of the jars get built correctly in the installation directory so the launcher works OK on windows etc.

However I get this output [1] when running the director now.

Seems I'm missing something simple, but can't figure out what it is. When I tried it without signing, it got the same error on an ant jar file that was also not packed.

Any ideas?

Francis

[1]
unpackPackageZips:
     [echo] confdir: win32.win32.x86 -> win32.win32.x86
     [echo] Current time and date: 2011 January 05 01:49:07
     [echo] unzip: /mnt/sda1/d/build/transformNightly/build/kits/com.oaklandsw.transform.feature.product1-build-win32.win32.x86.zip
    [unzip] Expanding: /mnt/sda1/d/build/transformNightly/build/kits/com.oaklandsw.transform.feature.product1-build-win32.win32.x86.zip into /mnt/sda1/d/build/transformNightly/build/kits
   [delete] Deleting: /mnt/sda1/d/build/transformNightly/build/kits/com.oaklandsw.transform.feature.product1-build-win32.win32.x86.zip
     [echo] Current time and date: 2011 January 05 01:49:08
     [copy] Copying 1 file to /mnt/sda1/d/build/transformNightly/build/kits/transform1-kits/win32.win32.x86
     [echo] meta repo: file:/mnt/sda1/d/build/transformNightly/build/repo_meta_products_20110105-0133
     [echo] art repo: file:/mnt/sda1/d/build/transformNightly/build/repo_art_20110105-0133
     [exec] Installing com.oaklandsw.transform.feature.product1.feature.group 3.1.0.20110105-0133.
     [exec] Installation failed.
     [exec] An error occurred during the org.eclipse.equinox.internal.p2.engine.phases.CheckTrust phase.
     [exec]  session context was:(profile=OSDTProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.CheckTrust, operand=, action=).
     [exec]  Error reading signed content.
     [exec] Caused by:  java.io.IOException: The file "/mnt/sda1/d/build/transformNightly/build/kits/transform1-kits/win32.win32.x86/plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.1.R36x_v20100810.jar" does not exist
     [exec] Application failed, log file location: /mnt/sda1/d/eclipse/eclOsdtDeploy361/configuration/1294220949172.log
     [exec] !SESSION 2011-01-05 01:49:08.919 -----------------------------------------------
     [exec] eclipse.buildId=M20100909-0800
     [exec] java.version=1.5.0_22
     [exec] java.vendor=Sun Microsystems Inc.
     [exec] BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
     [exec] Framework arguments:  -product org.eclipse.epp.package.jee.product -application org.eclipse.equinox.p2.director -flavor tooling -installIU com.oaklandsw.transform.feature.product1.feature.group -p2.os win32 -p2.ws win32 -p2.arch x86 -roaming -profile OSDTProfile -profileProperties org.eclipse.update.install.features=true -metadataRepository file:/mnt/sda1/d/build/transformNightly/build/repo_meta_products_20110105-0133 -artifactRepository file:/mnt/sda1/d/build/transformNightly/build/repo_art_20110105-0133 -destination /mnt/sda1/d/build/transformNightly/build/kits/transform1-kits/win32.win32.x86 -bundlepool /mnt/sda1/d/build/transformNightly/build/kits/transform1-kits/win32.win32.x86
     [exec] Command-line arguments:  -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.jee.product -application org.eclipse.equinox.p2.director -consolelog -flavor tooling -installIU com.oaklandsw.transform.feature.product1.feature.group -p2.os win32 -p2.ws win32 -p2.arch x86 -roaming -profile OSDTProfile -profileProperties org.eclipse.update.install.features=true -metadataRepository file:/mnt/sda1/d/build/transformNightly/build/repo_meta_products_20110105-0133 -artifactRepository file:/mnt/sda1/d/build/transformNightly/build/repo_art_20110105-0133 -destination /mnt/sda1/d/build/transformNightly/build/kits/transform1-kits/win32.win32.x86 -bundlepool /mnt/sda1/d/build/transformNightly/build/kits/transform1-kits/win32.win32.x86
     [exec] 
     [exec] !ENTRY org.eclipse.equinox.p2.engine 4 4 2011-01-05 01:49:18.997
     [exec] !MESSAGE An error occurred during the org.eclipse.equinox.internal.p2.engine.phases.CheckTrust phase.
     [exec] !SUBENTRY 1 org.eclipse.equinox.p2.engine 4 0 2011-01-05 01:49:18.997
     [exec] !MESSAGE session context was:(profile=OSDTProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.CheckTrust, operand=, action=).
     [exec] !SUBENTRY 1 org.eclipse.equinox.p2.engine 4 0 2011-01-05 01:49:18.997
     [exec] !MESSAGE Error reading signed content.
     [exec] !STACK 0
     [exec] java.io.IOException: The file "/mnt/sda1/d/build/transformNightly/build/kits/transform1-kits/win32.win32.x86/plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.1.R36x_v20100810.jar" does not exist
     [exec] 	at org.eclipse.osgi.baseadaptor.bundlefile.ZipBundleFile.<init>(ZipBundleFile.java:62)
     [exec] 	at org.eclipse.osgi.baseadaptor.bundlefile.ZipBundleFile.<init>(ZipBundleFile.java:56)
     [exec] 	at org.eclipse.osgi.internal.signedcontent.SignedBundleHook.getSignedContent(SignedBundleHook.java:244)
     [exec] 	at org.eclipse.equinox.internal.p2.engine.phases.CertificateChecker.checkCertificates(CertificateChecker.java:67)
     [exec] 	at org.eclipse.equinox.internal.p2.engine.phases.CertificateChecker.start(CertificateChecker.java:49)
     [exec] 	at org.eclipse.equinox.internal.p2.engine.phases.CheckTrust.completePhase(CheckTrust.java:50)
     [exec] 	at org.eclipse.equinox.internal.p2.engine.Phase.postPerform(Phase.java:216)
     [exec] 	at org.eclipse.equinox.internal.p2.engine.Phase.perform(Phase.java:84)
     [exec] 	at org.eclipse.equinox.internal.p2.engine.PhaseSet.perform(PhaseSet.java:44)
     [exec] 	at org.eclipse.equinox.internal.p2.engine.Engine.perform(Engine.java:73)
     [exec] 	at org.eclipse.equinox.internal.p2.engine.Engine.perform(Engine.java:44)
     [exec] 	at org.eclipse.equinox.internal.provisional.p2.director.PlanExecutionHelper.executePlan(PlanExecutionHelper.java:41)
     [exec] 	at org.eclipse.equinox.internal.provisional.p2.director.PlanExecutionHelper.executePlan(PlanExecutionHelper.java:23)
     [exec] 	at org.eclipse.equinox.internal.p2.director.app.DirectorApplication.executePlan(DirectorApplication.java:575)
     [exec] 	at org.eclipse.equinox.internal.p2.director.app.DirectorApplication.planAndExecute(DirectorApplication.java:569)
     [exec] 	at org.eclipse.equinox.internal.p2.director.app.DirectorApplication.performProvisioningActions(DirectorApplication.java:556)
     [exec] 	at org.eclipse.equinox.internal.p2.director.app.DirectorApplication.run(DirectorApplication.java:807)
     [exec] 	at org.eclipse.equinox.internal.p2.director.app.DirectorApplication.start(DirectorApplication.java:961)
     [exec] 	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
     [exec] 	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
     [exec] 	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
     [exec] 	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
     [exec] 	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
     [exec] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [exec] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     [exec] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     [exec] 	at java.lang.reflect.Method.invoke(Method.java:592)
     [exec] 	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
     [exec] 	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
     [exec] 	at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
     [exec] 	at org.eclipse.equinox.launcher.Main.main(Main.java:1383)

BUILD FAILED
/d/eclipse/eclOsdtDeploy361/plugins/org.eclipse.pde.build_3.6.1.R36x_v20100823/scripts/build.xml:38: The following error occurred while executing this line:
/d/eclipse/eclOsdtDeploy361/plugins/org.eclipse.pde.build_3.6.1.R36x_v20100823/scripts/build.xml:132: The following error occurred while executing this line:
/mnt/sda1/d/build/transformNightly/build/workspace/com.oaklandsw.transform.builder/builders/product/customTargets.xml:1252: The following error occurred while executing this line:
/mnt/sda1/d/build/transformNightly/build/workspace/com.oaklandsw.transform.builder/builders/product/customTargets.xml:868: exec returned: 13






Previous Topic:p2 update site over ftp?
Next Topic:P2 Installation fails with permission denied error in linux & Mac for RCP based out of Eclipse 3
Goto Forum:
  


Current Time: Sun Dec 21 15:18:58 GMT 2014

Powered by FUDForum. Page generated in 0.02305 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software