blob: 80721e4da95bcc480c5f3090095aa621d30f319d [file] [log] [blame]
cbeust923e3d12010-04-22 18:14:27 +00001=====
cbeustf9660af2009-07-28 10:33:26 +00002Maven
cbeust923e3d12010-04-22 18:14:27 +00003=====
cbeustf9660af2009-07-28 10:33:26 +00004
cbeust923e3d12010-04-22 18:14:27 +00005If you ran the full dist build, it should have generated a file on your hard drive called
6"testng-5.12-bundle.jar".
cbeustf9660af2009-07-28 10:33:26 +00007
cbeust923e3d12010-04-22 18:14:27 +00008Testing:
cbeustf9660af2009-07-28 10:33:26 +00009
cbeust923e3d12010-04-22 18:14:27 +000010-> Update <version>5.12</version> in bundle-pom.xml to the correct version
11 mvn install:install-file -DpomFile=bundle-pom.xml -Dfile=testng-5.12.jar
12 cd /tmp
13 svn co http://svn.apache.org/repos/asf/maven/surefire/trunk/surefire-integration-tests/src/test/resources/testng-simple/
14 cd testng-simple
15-> Update <testNgVersion> in pom.xml to the correct version
16-> Remove <classifier> in pom.xml if it's still there
17 mvn -DtestNgVersion=5.12 -Dsurefire.version=2.5 clean test
cbeust9062dc22010-04-23 20:05:16 +000018 gpg testng-5.12.jar
19 gpg build/maven-bundle/testng-5.12-sources.jar
20 jar uf testng-5.12-bundle.jar testng-5.12.jar.asc
21 (cd build/maven-bundle; jar uf ../../testng-5.12-bundle.jar testng-5.12-sources.jar.asc)
cbeust923e3d12010-04-22 18:14:27 +000022-> Send bundle to Brett Porter <brett.porter@gmail.com>
cbeustf9660af2009-07-28 10:33:26 +000023
cbeust923e3d12010-04-22 18:14:27 +000024=======
cbeustf9660af2009-07-28 10:33:26 +000025Eclipse
cbeust923e3d12010-04-22 18:14:27 +000026=======
cbeustf9660af2009-07-28 10:33:26 +000027
28I ended up doing the launch configuration, and just for information, here are the parameters:
29
cbeust442bac72009-09-17 15:13:51 +000030Run Configuration / Eclipse application.
31
cbeustf9660af2009-07-28 10:33:26 +000032Check "Run an application" in "Program to run", and select org.eclipse.equinox.p2.metadata.generator.EclipseGenerator
33
34The program arguments are (replace the update site directory appropriately):
35
cbeust227a2632009-11-28 06:14:58 +000036Linux:
37-os ${target.os} -ws ${target.ws} -arch ${target.arch} -nl ${target.nl} -application org.eclipse.equinox.p2.metadata.generator.EclipseGenerator -updateSite /usr/local/cbeust/java/testng-eclipse-update-site -site file:/usr/local/cbeust/java/testng-eclipse-update-site/site.xml -metadataRepository file:/usr/local/cbeust/java/testng-eclipse-update-site/ -artifactRepository file:/usr/local/cbeust/java/testng-eclipse-update-site -artifactRepositoryName "Ganymede Artifacts" -compress -append -reusePack200Files -noDefaultIUs -vmargs -Xmx256m
cbeustf9660af2009-07-28 10:33:26 +000038
cbeust227a2632009-11-28 06:14:58 +000039Mac
40-os ${target.os} -ws ${target.ws} -arch ${target.arch} -nl ${target.nl} -application org.eclipse.equinox.p2.metadata.generator.EclipseGenerator -updateSite /Users/cbeust/java/testng-eclipse-update-site -site file:/Users/cbeust/java/testng-eclipse-update-site/site.xml -metadataRepository file:/Users/cbeust/java/testng-eclipse-update-site/ -artifactRepository file:/Users/cbeust/java/testng-eclipse-update-site -artifactRepositoryName "Ganymede Artifacts" -compress -append -reusePack200Files -noDefaultIUs -vmargs -Xmx256m
cbeustf9660af2009-07-28 10:33:26 +000041
cbeust227a2632009-11-28 06:14:58 +000042This will generate the site in ~/java/testng-eclipse-update-site