eclipse plugin: Let the PDE Build generate a p2 repository...

...as well and copy that to the 'update_site' folder. Still needs
tweaks for properly categorising the plugin
This commit is contained in:
Timotei Dolean 2011-05-16 17:40:11 +00:00
parent 225a318475
commit d0308e4d68
4 changed files with 32 additions and 2 deletions

View file

@ -8,13 +8,20 @@
# Contributors:
# IBM Corporation - initial API and implementation
###############################################################################
# http://wiki.eclipse.org/Equinox/p2/Publisher
############# PRODUCT/PACKAGING CONTROL #############
product=/org.wesnoth/org.wesnoth.product
runPackager=true
p2.gathering=true
p2.compress=true
p2.metadata.repo.name=Wesnoth Eclipse Plugins
p2.artifact.repo.name=Wesnoth Eclipse Plugins
p2.build.repo=file:${buildDirectory}/repository
p2.metadata.repo=file:${buildDirectory}/repository
p2.artifact.repo=file:${buildDirectory}/repository
p2.category.site=file:${basedir}/site.xml
p2.category.definition=file:${basedir}/category.xml
#Set the name of the archive that will result from the product build.
archiveNamePrefix=wesnoth_umc_dev
@ -29,7 +36,7 @@ collectingFolder=${archivePrefix}
# value is a '&' separated list of ',' separate triples. For example,
# configs=win32,win32,x86 & linux,motif,x86
# By default the value is *,*,*
configs=win32, win32, x86 & \
configs=win32, win32, x86 &\
win32,win32,x86_64 & \
linux, gtk, x86 & \
linux, gtk, x86_64 & \

View file

@ -21,7 +21,9 @@
<move todir="${basedir}/${buildLabel}">
<fileset dir="${buildDirectory}/${buildLabel}" includes="*.zip"/>
</move>
<move todir="${basedir}/update_site">
<fileset dir="${buildDirectory}/repository"/>
</move>
</target>
</project>

View file

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<site>
<feature url="features/org.wesnoth.feature_1.0.3.jar" id="org.wesnoth.feature" version="1.0.3" os="linux,macosx,win32">
<category name="wesnoth_plugins"/>
</feature>
<category-def name="wesnoth_plugins" label="Wesnoth Plugins"/>
</site>

View file

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<site>
<description name="Wesnoth Eclipse Updates" url="http://eclipse.wesnoth.org/">
The default update site for Wesnoth Eclipse Plugins
</description>
<feature url="features/org.wesnoth.feature_1.0.3.jar" id="org.wesnoth.feature" version="1.0.3" os="linux,macosx,win32">
<category name="Wesnoth_Eclipse_Plugins"/>
</feature>
<category-def name="Wesnoth_Eclipse_Plugins" label="Wesnoth Eclipse Plugins">
<description>
This category contains the Wesnoth Eclipse Tools
</description>
</category-def>
</site>