summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorthallgren2009-05-14 03:03:56 (EDT)
committer thallgren2009-05-14 03:03:56 (EDT)
commit23ccf644c1cac349a12fbfde56e57344e477042f (patch)
treeb36eb004287c7e3b7ffc0f2eb331995aaf83dad2
parent4a36cc68e5f6d5c489de5eaa653007f976b6a2a3 (diff)
downloadorg.eclipse.epp.packages-23ccf644c1cac349a12fbfde56e57344e477042f.zip
org.eclipse.epp.packages-23ccf644c1cac349a12fbfde56e57344e477042f.tar.gz
org.eclipse.epp.packages-23ccf644c1cac349a12fbfde56e57344e477042f.tar.bz2
Initial check-in
-rw-r--r--features/org.eclipse.epp.allpackages.feature/.project17
-rw-r--r--features/org.eclipse.epp.allpackages.feature/buckminster.cspex26
-rw-r--r--features/org.eclipse.epp.allpackages.feature/build.properties2
-rw-r--r--features/org.eclipse.epp.allpackages.feature/build.xml124
-rw-r--r--features/org.eclipse.epp.allpackages.feature/epp.cquery8
-rw-r--r--features/org.eclipse.epp.allpackages.feature/epp.rmap34
-rw-r--r--features/org.eclipse.epp.allpackages.feature/feature.xml51
7 files changed, 262 insertions, 0 deletions
diff --git a/features/org.eclipse.epp.allpackages.feature/.project b/features/org.eclipse.epp.allpackages.feature/.project
new file mode 100644
index 0000000..80f1c94
--- /dev/null
+++ b/features/org.eclipse.epp.allpackages.feature/.project
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.epp.allpackages.feature</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.pde.FeatureBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.FeatureNature</nature>
+ </natures>
+</projectDescription>
diff --git a/features/org.eclipse.epp.allpackages.feature/buckminster.cspex b/features/org.eclipse.epp.allpackages.feature/buckminster.cspex
new file mode 100644
index 0000000..08e43af
--- /dev/null
+++ b/features/org.eclipse.epp.allpackages.feature/buckminster.cspex
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<cspecExtension
+ xmlns:com="http://www.eclipse.org/buckminster/Common-1.0"
+ xmlns="http://www.eclipse.org/buckminster/CSpec-1.0">
+
+ <actions>
+ <private name="site.feature.exports" actor="ant">
+ <actorProperties>
+ <property key="buildFileId" value="buckminster.pdetasks"/>
+ <property key="targets" value="filter"/>
+ </actorProperties>
+ <properties>
+ <property key="pattern" value="**/*.epp.*"/>
+ </properties>
+ <prerequisites alias="action.requirements">
+ <attribute name="unlimited.site.feature.exports"/>
+ </prerequisites>
+ <products alias="action.output" base="${buckminster.output}/jars.to.process"/>
+ </private>
+ </actions>
+
+ <alterActions>
+ <rename oldName="site.feature.exports" newName="unlimited.site.feature.exports"/>
+ </alterActions>
+
+</cspecExtension>
diff --git a/features/org.eclipse.epp.allpackages.feature/build.properties b/features/org.eclipse.epp.allpackages.feature/build.properties
new file mode 100644
index 0000000..b951c85
--- /dev/null
+++ b/features/org.eclipse.epp.allpackages.feature/build.properties
@@ -0,0 +1,2 @@
+bin.includes = feature.xml
+
diff --git a/features/org.eclipse.epp.allpackages.feature/build.xml b/features/org.eclipse.epp.allpackages.feature/build.xml
new file mode 100644
index 0000000..66b4c20
--- /dev/null
+++ b/features/org.eclipse.epp.allpackages.feature/build.xml
@@ -0,0 +1,124 @@
+<?xml version="1.0"?>
+<project name="project">
+ <property name="director.url" value="http://www.eclipse.org/downloads/download.php?file=/tools/buckminster/products/director_1.0.0.r10296.zip&amp;r=1" />
+
+ <!--Property file containing overrides for the default properties
+ -->
+ <property name="build.root" location="${user.home}/epp.build"/>
+ <property file="${build.root}/build.properties" />
+ <property name="bm.headless.site" value="http://download.eclipse.org/tools/buckminster/headless-3.5/" />
+ <property name="galileo.site" value="http://download.eclipse.org/releases/galileo/" />
+
+ <property name="buildtools" location="${build.root}/tools" />
+ <property name="workspace" location="${build.root}/workspace" />
+ <property name="cquery.url" location="${basedir}/epp.cquery" />
+
+ <!-- This macro executes the default application of an eclipse installation that resides
+ in the folder ${buildtools}/@app
+ -->
+ <macrodef name="eclipse.launch">
+ <attribute name="app"/>
+ <element name="args" optional="true" />
+ <sequential>
+ <!-- We assume that the eclipse installation is beneath ${buildtools} -->
+ <property name="@{app}.deploy.dir" value="${buildtools}/@{app}"/>
+
+ <!-- Find the Eclipse launcher and assing its location to the @{app}.launcher property -->
+ <pathconvert property="@{app}.launcher">
+ <first count="1">
+ <sort>
+ <fileset dir="${@{app}.deploy.dir}/plugins" includes="**/org.eclipse.equinox.launcher_*.jar" />
+ <reverse xmlns="antlib:org.apache.tools.ant.types.resources.comparators">
+ <date />
+ </reverse>
+ </sort>
+ </first>
+ </pathconvert>
+
+ <!-- Launch the eclipse application -->
+ <java fork="true" jar="${@{app}.launcher}" dir="${@{app}.deploy.dir}" failonerror="true">
+ <!-- Uncomment to debug <jvmarg value="-agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=y"/> -->
+ <args />
+ </java>
+ </sequential>
+ </macrodef>
+
+ <!--Fetch and unzip the director
+ -->
+ <available file="${buildtools}/director/director" property="director.exists" />
+ <target name="get.director" unless="director.exists">
+ <tempfile destdir="${java.io.tmpdir}" prefix="director-" suffix=".zip" property="director.zip" deleteonexit="true"/>
+ <get src="${director.url}" dest="${director.zip}" />
+ <unzip src="${director.zip}" dest="${buildtools}" />
+ </target>
+
+ <!--Configure the Buckminster product with needed features
+ -->
+ <target name="install.buckminster" depends="get.director">
+ <eclipse.launch app="director">
+ <args>
+ <arg value="-consoleLog"/>
+ <arg value="-r"/>
+ <arg value="${bm.headless.site}"/>
+ <arg value="-r"/>
+ <arg value="${galileo.site}"/>
+ <arg value="-d"/>
+ <arg value="${buildtools}/buckminster"/>
+ <arg value="-p"/>
+ <arg value="Buckminster"/>
+ <arg value="-i"/>
+ <arg value="org.eclipse.buckminster.cmdline.product"/>
+ <arg value="-i"/>
+ <arg value="org.eclipse.buckminster.core.headless.feature.feature.group" />
+ <arg value="-i"/>
+ <arg value="org.eclipse.buckminster.cvs.headless.feature.feature.group" />
+ <arg value="-i"/>
+ <arg value="org.eclipse.buckminster.pde.headless.feature.feature.group" />
+ <arg value="-i"/>
+ <arg value="org.eclipse.platform.feature.group" />
+ </args>
+ </eclipse.launch>
+ </target>
+
+ <target name="build.workspace" depends="install.buckminster">
+ <eclipse.launch app="buckminster">
+ <args>
+ <jvmarg value="-Dgalileo.site=${galileo.site}" />
+ <arg value="-data" />
+ <arg value="${workspace}" />
+ <arg value="import"/>
+ <arg value="${cquery.url}" />
+ </args>
+ </eclipse.launch>
+ </target>
+
+ <target name="build.site" depends="build.workspace">
+ <eclipse.launch app="buckminster">
+ <args>
+ <jvmarg value="-Dqualifier.replacement.*=generator:lastModified" />
+ <jvmarg value="-Dgenerator.lastModified.format=yyyyMMdd-HHmm" />
+ <jvmarg value="-Dtarget.os=*" />
+ <jvmarg value="-Dtarget.ws=*" />
+ <jvmarg value="-Dtarget.arch=*" />
+ <jvmarg value="-Dbuckminster.output.root=${build.root}/buildresult" />
+ <jvmarg value="-Dbuckminster.temp.root=${build.root}/temp" />
+ <arg value="-data" />
+ <arg value="${workspace}" />
+ <arg value="perform"/>
+ <arg value="org.eclipse.epp.allpackages.feature#site.p2.zip" />
+ </args>
+ </eclipse.launch>
+ </target>
+
+ <target name="clean.all" depends="clean.buckminster,clean.workspace">
+ <delete dir="${buildtools}/director" />
+ </target>
+
+ <target name="clean.workspace">
+ <delete dir="${workspace}" />
+ </target>
+
+ <target name="clean.buckminster">
+ <delete dir="${buildtools}/buckminster" />
+ </target>
+</project>
diff --git a/features/org.eclipse.epp.allpackages.feature/epp.cquery b/features/org.eclipse.epp.allpackages.feature/epp.cquery
new file mode 100644
index 0000000..6674bbb
--- /dev/null
+++ b/features/org.eclipse.epp.allpackages.feature/epp.cquery
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<cq:componentQuery xmlns:cq="http://www.eclipse.org/buckminster/CQuery-1.0" resourceMap="epp.rmap">
+ <cq:rootRequest name="org.eclipse.epp.allpackages.feature" componentType="eclipse.feature"/>
+ <cq:property key="target.arch" value="*"/>
+ <cq:property key="target.os" value="*"/>
+ <cq:property key="target.ws" value="*"/>
+ <cq:advisorNode namePattern="^org\.mortbay\.management$" allowCircularDependency="true"/>
+</cq:componentQuery>
diff --git a/features/org.eclipse.epp.allpackages.feature/epp.rmap b/features/org.eclipse.epp.allpackages.feature/epp.rmap
new file mode 100644
index 0000000..422eae0
--- /dev/null
+++ b/features/org.eclipse.epp.allpackages.feature/epp.rmap
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<rmap xmlns="http://www.eclipse.org/buckminster/RMap-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:mp="http://www.eclipse.org/buckminster/MavenProvider-1.0"
+ xmlns:pmp="http://www.eclipse.org/buckminster/PDEMapProvider-1.0"
+ xmlns:bc="http://www.eclipse.org/buckminster/Common-1.0">
+
+ <searchPath name="org.eclipse.epp.packages">
+ <provider readerType="cvs" componentTypes="osgi.bundle,eclipse.feature" mutable="true" source="true">
+ <uri format=":pserver:anonymous@dev.eclipse.org:/cvsroot/technology,org.eclipse.epp/packages/{0}">
+ <bc:propertyRef key="buckminster.component" />
+ </uri>
+ </provider>
+ </searchPath>
+
+ <searchPath name="buckminster.demo">
+ <provider readerType="cvs" componentTypes="osgi.bundle,eclipse.feature" mutable="true" source="true">
+ <uri format=":pserver:anonymous@dev.eclipse.org:/cvsroot/org.eclipse,www/buckminster/demo/epp/{0}">
+ <bc:propertyRef key="buckminster.component" />
+ </uri>
+ </provider>
+ </searchPath>
+
+ <searchPath name="galileo">
+ <provider readerType="eclipse.import" componentTypes="osgi.bundle,eclipse.feature" mutable="false" source="false">
+ <uri format="{0}?importType=binary">
+ <bc:propertyRef key="galileo.site" />
+ </uri>
+ </provider>
+ </searchPath>
+
+ <locator searchPathRef="org.eclipse.epp.packages" pattern="^org\.eclipse\.epp\.package\..*$"/>
+ <locator searchPathRef="buckminster.demo" pattern="^org\.eclipse\.epp\.allpackages\.feature$"/>
+ <locator searchPathRef="galileo"/>
+</rmap>
diff --git a/features/org.eclipse.epp.allpackages.feature/feature.xml b/features/org.eclipse.epp.allpackages.feature/feature.xml
new file mode 100644
index 0000000..c436fad
--- /dev/null
+++ b/features/org.eclipse.epp.allpackages.feature/feature.xml
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<feature
+ id="org.eclipse.epp.allpackages.feature"
+ label="Feature"
+ version="1.0.0.qualifier">
+
+ <description url="http://www.example.com/description">
+ [Enter Feature Description here.]
+ </description>
+
+ <copyright url="http://www.example.com/copyright">
+ [Enter Copyright Description here.]
+ </copyright>
+
+ <license url="http://www.example.com/license">
+ [Enter License Description here.]
+ </license>
+
+ <includes
+ id="org.eclipse.epp.package.cpp.feature"
+ version="0.0.0"/>
+
+ <includes
+ id="org.eclipse.epp.package.java.feature"
+ version="0.0.0"/>
+
+ <includes
+ id="org.eclipse.epp.package.jee.feature"
+ version="0.0.0"/>
+
+ <includes
+ id="org.eclipse.epp.package.modeling.feature"
+ version="0.0.0"/>
+
+ <includes
+ id="org.eclipse.epp.package.php.feature"
+ version="0.0.0"/>
+
+ <includes
+ id="org.eclipse.epp.package.pulsar.feature"
+ version="0.0.0"/>
+
+ <includes
+ id="org.eclipse.epp.package.rcp.feature"
+ version="0.0.0"/>
+
+ <includes
+ id="org.eclipse.epp.package.reporting.feature"
+ version="0.0.0"/>
+
+</feature>