Home | History | Annotate | Download | only in testng
      1 =====
      2 Maven
      3 =====
      4 
      5 If you ran the full dist build, it should have generated a file on your hard drive called
      6 "testng-5.12-bundle.jar".
      7 
      8 Testing:
      9 
     10 -> 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.1.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.1 -Dsurefire.version=2.5 clean test
     18 -> Send bundle to Brett Porter <brett.porter (a] gmail.com>
     19 
     20 =======
     21 Eclipse
     22 =======
     23 
     24 I ended up doing the launch configuration, and just for information, here are the parameters:
     25 
     26 Run Configuration / Eclipse application.
     27 
     28 Check "Run an application" in "Program to run", and select org.eclipse.equinox.p2.metadata.generator.EclipseGenerator
     29 
     30 The program arguments are (replace the update site directory appropriately):
     31 
     32 Linux:
     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
     34 
     35 Mac
     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
     37 
     38 This will generate the site in ~/java/testng-eclipse-update-site
     39