Updating the p2 retrival target
diff --git a/common/common.properties b/common/common.properties
index 99c13b8..8b0289d 100644
--- a/common/common.properties
+++ b/common/common.properties
@@ -91,6 +91,7 @@
package.source-jar.output.file=${ant.project.name}-sources-${bundle.version}.jar
org.springframework.build.aws.ant.version=3.0.3.RELEASE
p2.publishing.dir=${basedir}/target/publishing
+p2.launcher.jar=${p2.publishing.dir}/plugins/org.eclipse.equinox.launcher.jar
# AspectJ Properties
org.aspectj.tools.version=1.6.6.RELEASE
diff --git a/multi-bundle/publish.xml b/multi-bundle/publish.xml
index 258ab56..f0edc11 100644
--- a/multi-bundle/publish.xml
+++ b/multi-bundle/publish.xml
@@ -47,11 +47,20 @@
</target>
<target name="p2.extract-publisher" description="Extracts Equinox+P2 needed for P2 Publishing">
+ <delete quiet="true" file="${p2.publishing.dir}"/>
<mkdir dir="${p2.publishing.dir}"/>
<get src="http://www.eclipse.org/downloads/download.php?file=/equinox/drops/R-3.6.1-201009090800/equinox-p2-agent-3.6.1-linux.tar.gz&r=1"
- dest="${p2.publishing.dir}/p2agent.zip"
+ dest="${p2.publishing.dir}/p2agent.tar.gz"
usetimestamp="true"/>
- <gunzip src="${p2.publishing.dir}/p2agent.zip" dest="${p2.publishing.dir}"/>
+
+ <gunzip src="${p2.publishing.dir}/p2agent.tar.gz" dest="${p2.publishing.dir}"/>
+ <untar src="${p2.publishing.dir}/p2agent.tar" dest="${p2.publishing.dir}"/>
+
+ <move tofile="${p2.launcher.jar}">
+ <fileset dir="${p2.publishing.dir}/plugins">
+ <include name="org.eclipse.equinox.launcher*.jar"/>
+ </fileset>
+ </move>
</target>
<target name="publish-package-amazon" depends="aws.init">