Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » PDE Build, P2 metadata: qualifiers for features missing..
PDE Build, P2 metadata: qualifiers for features missing.. [message #590739] Thu, 29 January 2009 19:59
Miles Parker is currently offline Miles ParkerFriend
Messages: 1341
Registered: July 2009
Senior Member
I'm generating p2 metadata as part of my build.

While the plugins get the appropriate qualifiers placed in them, the
features end up like:

my.great.feature_1.x.y.qualifier

This is true even though the final build in my build directory contains
features wiht the appropriate qualifiers!

Anyone have an idea of what may be going wrong here? Or is this simply
not generated for p2?


Here are the relvant build.properties..

repoDir=/Volumes/Resources/Developer/repos
ascapeDir=${repoDir}/ascape
metaabmDir=${repoDir}/metaabm
metascapeDir=${repoDir}/metascape

generate.p2.metadata=true

topLevelElementType = feature
topLevelElementId = org.metaabm.feature

archivePrefix=metascape
collectingFolder=${archivePrefix}
configs = *,*,*

p2.metadata.repo=file:${metascapeDir}/com.metascape.build_p2 site
p2.metadata.repo.name = Metascape Tools
p2.artifact.repo=file:${metascapeDir}/com.metascape.build_p2 site
p2.artifact.repo.name = Metascape Tools
p2.publish.artifacts=true
p2.flavor=tooling
....
buildDirectory=${metascapeDir}/com.metascape.build_pde/build
....

base=/Developer/eclipseI13
baseLocation=${base}/eclipse
#Os/Ws/Arch/nl of the eclipse specified by baseLocation
baseos=macos
basews=cocoa
basearch=x86


# Type of build. Used in naming the build output. Typically this value is
# one of I, N, M, S, ...
buildType=M

# ID of the build. Used in naming the build output.
buildId=main
skipBase=true
#skipMaps=true Defined using copy in a map file
....
javacSource=1.5
javacTarget=1.5
generateFeatureVersionSuffix=true

Where the site is just an ordinary site project.

allElements.xml is default and the only changes to customTargets.xml is:

<target name="getMapFiles" depends="checkLocalMaps" unless="skipMaps">
</target>

<target name="checkLocalMaps">
<available property="mapsLocal" file="${buildDirectory}/maps" />
</target>

Where local maps looks like:

ature@org.metaabm.feature=COPY,/Volumes/Resources/Developer/repos/metaabm/,
plugin@org.ascape.core=COPY,/Volumes/Resources/Developer/repos/ascape/,
plugin@org.ascape.ui.swing=COPY,/Volumes/Resources/Developer/repos/ascape/,
plugin@org.ascape.common.lib=COPY,/Volumes/Resources/Developer/repos/ascape/,
feature@org.ascape.common.feature=COPY,/Volumes/Resources/Developer/repos/ascape/,
plugin@org.metaabm.core=COPY,/Volumes/Resources/Developer/repos/metaabm/,
plugin@org.eclipse.emf.java=COPY,/Volumes/Resources/Developer/repos/metaabm/,
plugin@org.metaabm.edit=COPY,/Volumes/Resources/Developer/repos/metaabm/,
feature@org.metaabm.feature=COPY,/Volumes/Resources/Developer/repos/metaabm/,
plugin@org.metaabm.gen=COPY,/Volumes/Resources/Developer/repos/metaabm/,
plugin@org.metaabm.gen.ascape=COPY,/Volumes/Resources/Developer/repos/metaabm/,
plugin@org.metaabm.gis.feature=COPY,/Volumes/Resources/Developer/repos/metaabm/,
plugin@org.metaabm.ide=COPY,/Volumes/Resources/Developer/repos/metaabm/,
plugin@org.metaabm.ide.ascape=COPY,/Volumes/Resources/Developer/repos/metaabm/,
feature@org.metaabm.ide.feature=COPY,/Volumes/Resources/Developer/repos/metaabm/,
plugin@org.metaabm.ide.gis=COPY,/Volumes/Resources/Developer/repos/metaabm/,
feature@org.metaabm.gis.feature=COPY,/Volumes/Resources/Developer/repos/metaabm/,
feature@org.metaabm.target.ascape.feature=COPY,/Volumes/Resources/Developer/repos/metaabm/,
plugin@com.metascape.ide.docs=COPY,/Volumes/Resources/Developer/repos/metascape/,
feature@com.metascape.ide.docs.feature=COPY,/Volumes/Resources/Developer/repos/metascape/,
Previous Topic:Headless build an update site with multiple features
Next Topic:PDE Build, P2 metadata: Category setup, site.xml
Goto Forum:
  


Current Time: Wed Aug 04 17:00:24 GMT 2021

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

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

Back to the top