Author: nickboldt
Date: 2011-11-16 15:02:41 -0500 (Wed, 16 Nov 2011)
New Revision: 36379
Modified:
trunk/download.jboss.org/jbosstools/updates/requirements/swt/build-3.6.2....
Log:
update build script / readme for regen/fix metadata (JBDS-1932)
Modified:
trunk/download.jboss.org/jbosstools/updates/requirements/swt/build-3.6.2....
===================================================================
---
trunk/download.jboss.org/jbosstools/updates/requirements/swt/build-3.6.2.... 2011-11-16
20:02:23 UTC (rev 36378)
+++
trunk/download.jboss.org/jbosstools/updates/requirements/swt/build-3.6.2.... 2011-11-16
20:02:41 UTC (rev 36379)
@@ -1,10 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<project default="default">
<target name="default">
- <echo>Run like this:
+<echo>
+1. You need a folder local to this one called 3.6.2.v3660-patched_JBDS-1648_source. You
can create it as an rsync copy of 3.6.2.v3660-patched_JBDS-1648.
-java -cp /home/nboldt/eclipse/37clean/eclipse/plugins/org.eclipse.equinox.launcher_*.jar
org.eclipse.equinox.launcher.Main -consoleLog -nosplash -data /tmp -application
org.eclipse.equinox.p2.publisher.UpdateSitePublisher -metadataRepository
file://${basedir}/result -artifactRepository file://${basedir}/result -source
${basedir}/3.6.2.v3660-patched_JBDS-1648 -publishArtifacts
+2. Run this script to regen metadata:
+java -cp /home/nboldt/eclipse/37clean/eclipse/plugins/org.eclipse.equinox.launcher_*.jar
org.eclipse.equinox.launcher.Main -consoleLog -nosplash -data /tmp -application
org.eclipse.equinox.p2.publisher.UpdateSitePublisher -metadataRepository
file://${basedir}/3.6.2.v3660-patched_JBDS-1648 -artifactRepository
file://${basedir}/3.6.2.v3660-patched_JBDS-1648 -source
${basedir}/3.6.2.v3660-patched_JBDS-1648_source -publishArtifacts
+
+3. Because p2 ignores the metadataRepositoryName, artifactRepositoryName, and
repositoryName flags, you'll have to go edit the metadata files yourself. p2.publish.*
ant tasks don't work either.
+
+Look for "result - metadata" and fix that value to be "JBoss SWT
Patches".
+
+4. Commit changes and push to
download.jboss.org.
+
</echo>
</target>
</project>