blob: 07c2aa19924be89d03940ebdac753d6ac3a93f79 [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
cbeust73c823b2010-04-27 20:17:23 +000011 mvn install:install-file -DpomFile=bundle-pom.xml -Dfile=testng-5.12.1.jar
cbeust923e3d12010-04-22 18:14:27 +000012 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
cbeust73c823b2010-04-27 20:17:23 +000017 mvn -DtestNgVersion=5.12.1 -Dsurefire.version=2.5 clean test
cbeust923e3d12010-04-22 18:14:27 +000018-> Send bundle to Brett Porter <brett.porter@gmail.com>
cbeustf9660af2009-07-28 10:33:26 +000019
cbeust923e3d12010-04-22 18:14:27 +000020=======
cbeustf9660af2009-07-28 10:33:26 +000021Eclipse
cbeust923e3d12010-04-22 18:14:27 +000022=======
cbeustf9660af2009-07-28 10:33:26 +000023
24I ended up doing the launch configuration, and just for information, here are the parameters:
25
cbeust442bac72009-09-17 15:13:51 +000026Run Configuration / Eclipse application.
27
cbeustf9660af2009-07-28 10:33:26 +000028Check "Run an application" in "Program to run", and select org.eclipse.equinox.p2.metadata.generator.EclipseGenerator
29
30The program arguments are (replace the update site directory appropriately):
31
cbeust227a2632009-11-28 06:14:58 +000032Linux:
33-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 +000034
cbeust227a2632009-11-28 06:14:58 +000035Mac
36-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 +000037
cbeust227a2632009-11-28 06:14:58 +000038This will generate the site in ~/java/testng-eclipse-update-site