Brings back enhanced publish-package targets
diff --git a/multi-bundle/publish.xml b/multi-bundle/publish.xml
index bac3cf7..fc04482 100644
--- a/multi-bundle/publish.xml
+++ b/multi-bundle/publish.xml
@@ -50,4 +50,68 @@
</fileset>
</move>
</target>
+
+ <target name="publish-package-build">
+ <fail message="The 'package.file' property must be set on this project.">
+ <condition>
+ <not>
+ <isset property="package.file"/>
+ </not>
+ </condition>
+ </fail>
+ <fail message="The 'project.name' property must be set on this project.">
+ <condition>
+ <not>
+ <isset property="project.name"/>
+ </not>
+ </condition>
+ </fail>
+
+ <checksum file="${package.file}" algorithm="sha1"/>
+ <sshexec host="build.eclipse.org"
+ username="${eclipse.buildId}"
+ keyfile="${key.file}"
+ passphrase="${passphrase}"
+ command="mkdir -pv /opt/public/rt/virgo/zips/${adjusted.release.type}/${project.key}/${bundle.version}"/>
+ <scp localFile="${package.file}"
+ todir="${eclipse.buildId}@build.eclipse.org:/opt/public/rt/virgo/zips/${adjusted.release.type}/${project.key}/${bundle.version}"
+ keyfile="${key.file}"
+ passphrase="${passphrase}" />
+ <scp localFile="${package.file}.sha1"
+ todir="${eclipse.buildId}@build.eclipse.org:/opt/public/rt/virgo/zips/${adjusted.release.type}/${project.key}/${bundle.version}"
+ keyfile="${key.file}"
+ passphrase="${passphrase}" />
+ </target>
+
+ <target name="publish-package-download">
+ <fail message="The 'package.file' property must be set on this project.">
+ <condition>
+ <not>
+ <isset property="package.file"/>
+ </not>
+ </condition>
+ </fail>
+ <fail message="The 'project.name' property must be set on this project.">
+ <condition>
+ <not>
+ <isset property="project.name"/>
+ </not>
+ </condition>
+ </fail>
+ <checksum file="${package.file}" algorithm="sha1"/>
+ <sshexec host="build.eclipse.org"
+ username="${eclipse.committerId}"
+ keyfile="${key.file}"
+ passphrase="${passphrase}"
+ command="mkdir -pv /home/data/httpd/download.eclipse.org/virgo/${adjusted.release.type}/${project.key}/${bundle.version}"/>
+ <scp localFile="${package.file}"
+ todir="${eclipse.committerId}@build.eclipse.org:/home/data/httpd/download.eclipse.org/virgo/${adjusted.release.type}/${project.key}/${bundle.version}"
+ keyfile="${key.file}"
+ passphrase="${passphrase}" />
+ <scp localFile="${package.file}.sha1"
+ todir="${eclipse.committerId}@build.eclipse.org:/home/data/httpd/download.eclipse.org/virgo/${adjusted.release.type}/${project.key}/${bundle.version}"
+ keyfile="${key.file}"
+ passphrase="${passphrase}" />
+ </target>
+
</project>