39 lines
		
	
	
		
			2.2 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
			
		
		
	
	
			39 lines
		
	
	
		
			2.2 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
=====
 | 
						|
Maven
 | 
						|
=====
 | 
						|
 | 
						|
If you ran the full dist build, it should have generated a file on your hard drive called
 | 
						|
"testng-5.12-bundle.jar".
 | 
						|
 | 
						|
Testing:
 | 
						|
 | 
						|
-> Update <version>5.12</version> in bundle-pom.xml to the correct version
 | 
						|
  mvn install:install-file -DpomFile=bundle-pom.xml -Dfile=testng-5.12.1.jar
 | 
						|
  cd /tmp
 | 
						|
  svn co http://svn.apache.org/repos/asf/maven/surefire/trunk/surefire-integration-tests/src/test/resources/testng-simple/
 | 
						|
  cd testng-simple
 | 
						|
-> Update <testNgVersion> in pom.xml to the correct version
 | 
						|
-> Remove <classifier> in pom.xml if it's still there
 | 
						|
  mvn -DtestNgVersion=5.12.1 -Dsurefire.version=2.5 clean test
 | 
						|
-> Send bundle to Brett Porter <brett.porter@gmail.com>
 | 
						|
 | 
						|
=======
 | 
						|
Eclipse
 | 
						|
=======
 | 
						|
 | 
						|
I ended up doing the launch configuration, and just for information, here are the parameters:
 | 
						|
 | 
						|
Run Configuration / Eclipse application.
 | 
						|
 | 
						|
Check "Run an application" in "Program to run", and select org.eclipse.equinox.p2.metadata.generator.EclipseGenerator
 | 
						|
 | 
						|
The program arguments are (replace the update site directory appropriately):
 | 
						|
 | 
						|
Linux:
 | 
						|
-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
 | 
						|
 | 
						|
Mac
 | 
						|
-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
 | 
						|
 | 
						|
This will generate the site in ~/java/testng-eclipse-update-site
 |