Author: mickael_istria
Date: 2012-10-03 12:47:30 -0400 (Wed, 03 Oct 2012)
New Revision: 44252
Added:
trunk/build/target-platforms/local/eclipse-platform-M20120829-1000-linux-gtk-x86_64.tar.gz
Removed:
trunk/build/target-platforms/README.txt
Modified:
trunk/build/target-platforms/local/
trunk/build/target-platforms/local/build.xml
Log:
Clean target-platforms folder
Deleted: trunk/build/target-platforms/README.txt
===================================================================
--- trunk/build/target-platforms/README.txt 2012-10-03 16:43:41 UTC (rev 44251)
+++ trunk/build/target-platforms/README.txt 2012-10-03 16:47:30 UTC (rev 44252)
@@ -1,70 +0,0 @@
-== HOWTO: Download the contents of a .target file to a local p2 repo on disk ==
-
-multiple.target must be available locally (after a "mvn install") or on JBoss
Nexus before creating a local mirror.
-Simply call "mvn install -P get.local.target
-DrepoDir=/path/to/where/you/want/your/repo" from local/ folder.
-repoDir default value is local/REPO
-This will get you a copy of contents of multiple.target (retrieved thanks to
target2p2mirror script). and will generate
-a local.target (thanks to multiple2local.xsl) which is a target resolving against your
local repo. You can use it locally for performance improvements,
-but you need to perform this steps on each update.
-
-== HOWTO: Publish local p2 repo (generated from .target) to
download.jboss.org ==
-
-1. Zip the repo
-
- cd /tmp/REPO; zip -9r mutiple.target.zip * &
-
-2. Push to qa01
-
- rsync -aPrz mutiple.target.zip nboldt@qa01:~/ &
-
-3. Ssh to qa01; sudo to hudson; unpack and push contents + zip to
download.jboss.org
-
- sudo su - hudson
- unzip /home/nboldt/mutiple.target.zip -d /tmp/mutiple.target &
- rsync -aPrz --delete --rsh=ssh /tmp/mutiple.target/* \
- tools@filemgmt.jboss.org:/downloads_htdocs/tools/updates/target-platform_3.3.indigo/latest/
&
- rsync -aPrz --rsh=ssh /home/nboldt/mutiple.target.zip \
- tools@filemgmt.jboss.org:/downloads_htdocs/tools/updates/target-platform_3.3.indigo/
&
-
-4. Alternatively, see publish.sh for when repo is built in JBoss Hudson.
-
-
-== HOWTO: Publish local p2 repo (generated from .target) to shared location in Hudson for
use in builds ==
-
-1. You can reference
http://download.jboss.org/jbosstools/updates/target-platform_3.3.indigo/l...,
- but a local path reference is faster.
-
-2. So, continuing from previous HOWTO, copy from /tmp/mutiple.target into
- file:///home/hudson/static_build_env/jbds/target-platform_3.3.indigo/mutiple.target/
-
- rsync -aPrz --delete /tmp/mutiple.target/* \
- /home/hudson/static_build_env/jbds/target-platform_3.3.indigo/mutiple.target/ &
-
-3. Alternatively, see publish.sh for when repo is built in JBoss Hudson.
-
-
-== HOWTO: Update an existing .target file from newer versions of IUs in a repo ==
-
-1. Run targetUpdateFromRepo.xml against a given repo folder on disk, eg.
-
- ant -v -f targetUpdateFromRepo.xml -DtargetFile=mutiple.target -DrepoDir=./REPO
-
-2. Resulting targetFile will be overwritten with updated version values from what was
found in the
- repo's content.xml file.
-
-
-== HOWTO: Generate a local.target file from an existing multiple.target file ==
-
-1. Run targetUpdateFromRepo.xml against a given repo folder on disk, eg.
-
- ant -f targetUpdateFromRepo.xml -DrepoDir=/path/to/my/REPO local.target
-
-2. Resulting local.target file will be created (or overwritten) with a new local file://
URL for all
- the listed update sites, pointing at your local repo. It will otherwise be identical
to the
- multiple.target file
-
-
-== HOWTO: Install the contents of a repo into Eclipse (via script) ==
-
-1. See ../installation/README.txt
-
Property changes on: trunk/build/target-platforms/local
___________________________________________________________________
Added: svn:ignore
+ target
eclipse-M20120829-1000
Modified: trunk/build/target-platforms/local/build.xml
===================================================================
--- trunk/build/target-platforms/local/build.xml 2012-10-03 16:43:41 UTC (rev 44251)
+++ trunk/build/target-platforms/local/build.xml 2012-10-03 16:47:30 UTC (rev 44252)
@@ -1,7 +1,7 @@
<project default="build.local.target.platform.repo" name="jbosstools
target platform p2.mirror generator - ant script for Hudson">
<property name="targetFile" value="multiple.target" />
- <!-- if useLatest = true, omit versions from p2.mirror script to fetch latest version
available;
+ <!-- if useLatest = true, omit versions from p2.mirror script to fetch latest version
available;
if useLatest = false, include versions and fetch specific versions requested. -->
<property name="useLatest" value="false" />
@@ -23,19 +23,19 @@
<target name="help">
<echo>This script, if run in its entirety, will:
-
+
a) download features, plugins, binaries, and metadata from the site(s) specified
in a given target platform, and create a local p2 repo
b) generate a local.target file, which points at the generated local p2 repo
After running this script, publish this pom and *.target files to your local ~/.m2 repo:
mvn clean install -f .../target-platform/pom.xml -P use.local.target
-
+
Then you can then refer to it in downstream builds using:
mvn install -P local.target
------------------
-
+
Default target is:
* build.local.target.platform.repo
@@ -110,7 +110,7 @@
<property name="getArch" value="../getArch.sh"/>
</else>
</if>
-
+
<!-- Ant thinks that ${os.arch} == i386 for x86_64, so use `uname` instead -->
<exec executable="bash" outputproperty="arch">
<arg line="${getArch}" />
@@ -190,7 +190,7 @@
<ant antfile="target2p2mirror.xml" />
</target>
- <!-- /abs/path/to/eclipse -vm /opt/jdk1.6.0/bin/java -nosplash -data /tmp/workspace
-consolelog -application
+ <!-- /abs/path/to/eclipse -vm /opt/jdk1.6.0/bin/java -nosplash -data /tmp/workspace
-consolelog -application
org.eclipse.ant.core.antRunner -f *.target.p2mirror.xml -Ddebug=true
-DfollowStrict=true -DrepoDir=/tmp/REPO/ -->
<target name="run.p2mirror.script" description="build target update
site using p2.mirror">
<java classname="org.eclipse.equinox.launcher.Main" fork="true"
dir="${basedir}" failonerror="true">
@@ -204,18 +204,6 @@
</java>
</target>
- <target name="update.target.file" description="optional step: use XSLT
to update .target file from contents of local repo">
-<!-- <echo>
-This step - calling targetUpdateFromRepo.xml - is no longer enabled to prevent the
.target
-file from being stripped of duplicate IUs. Instead, generation is a one-way process:
-
-1. Manually update .target file
-2. Generate .p2mirror.xml file, with useLatest=false
-3. ...
-4. Profit!</echo> -->
- <ant antfile="targetUpdateFromRepo.xml" />
- </target>
-
<target name="cleanup">
<delete dir="${tmpdir}" quiet="true"
includeemptydirs="true" />
</target>
Added:
trunk/build/target-platforms/local/eclipse-platform-M20120829-1000-linux-gtk-x86_64.tar.gz
===================================================================
(Binary files differ)
Property changes on:
trunk/build/target-platforms/local/eclipse-platform-M20120829-1000-linux-gtk-x86_64.tar.gz
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream