forked from testng-team/testng
-
Notifications
You must be signed in to change notification settings - Fork 0
/
NOTES
38 lines (27 loc) · 2.15 KB
/
NOTES
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
=====
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 <[email protected]>
=======
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