Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Problem to generate some plugins in p2 format
icon8.gif  Problem to generate some plugins in p2 format [message #870765] Wed, 09 May 2012 15:01
mohamed Missing name is currently offline mohamed Missing nameFriend
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 :
• : this file export from SVN all features and plugins to be built (22 features and 42 plugins)
• : 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
• 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,
Previous Topic:Exporting projects with code
Next Topic:Delivering new version of plugin
Goto Forum:

Current Time: Mon Jun 25 11:31:32 GMT 2018

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

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

Back to the top