Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » P2 » Problem to generate some plugins in p2 format
Problem to generate some plugins in p2 format [message #870767] Wed, 09 May 2012 15:03
mohamed Missing name is currently offline mohamed Missing name
Messages: 6
Registered: February 2010
Junior Member
Hi all,

Let me explain you my use case :
- I'm using a PDE headless build with ant commands to generate archives in p2 format.
- The build process system is based on these files :
• export.sh : this file export from SVN all features and plugins to be built (22 features and 42 plugins)
• Build.sh : this file is used to launch the build with this command :
$JAVA_EXE -jar $STW_SDK/plugins/org.eclipse.equinox.launcher_1.1.3.0.jar -application org.eclipse.ant.core.antRunner -buildfile $BASE_DIR/build.xml build -vmargs -Declipse.exitdata=""
• Build.xml : This file build all features
• allElements.xml : for p2 I added to the target name group.group.group
• build. Properties : contain all build properties and specially 2 parameters for p2 (p2.gathering = true and p2.compress=true)
• features.xml :this file contain the features to be build.
- The build finish with no failures and I found 17 p2 archives generated correctly (each zip file contain 2 folders :plugins, features and 2 files content.xml,artifact.xml) but for 4 others archives, the zip generated is missing the "features" folder !!
- I tried hard to identify the cause of this misbehavior but with no results Sad

Can someone help me to solve this problem ?
Best Regards,
Med.
Previous Topic:org.eclipse.equinox.p2.examples.rcp.prestartupdate fails with NPE
Next Topic:How to use p2 in E4 application
Goto Forum:
  


Current Time: Mon Sep 22 08:30:43 GMT 2014

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

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