[seam-commits] Seam SVN: r12327 - branches/enterprise/JBPAPP_5_0/examples.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Tue Mar 30 09:53:39 EDT 2010
Author: kpiwko at redhat.com
Date: 2010-03-30 09:53:39 -0400 (Tue, 30 Mar 2010)
New Revision: 12327
Modified:
branches/enterprise/JBPAPP_5_0/examples/readme.txt
Log:
JBPAPP-4034
Modified: branches/enterprise/JBPAPP_5_0/examples/readme.txt
===================================================================
--- branches/enterprise/JBPAPP_5_0/examples/readme.txt 2010-03-30 11:05:52 UTC (rev 12326)
+++ branches/enterprise/JBPAPP_5_0/examples/readme.txt 2010-03-30 13:53:39 UTC (rev 12327)
@@ -143,18 +143,25 @@
1. Install the TestNG Eclipse plugin from http://beust.com/eclipse
-2. Create the TestNG runner with the following directories added to the
- classpath:
-
- examples/${example.name}/src/
- examples/${example.name}/resources/
- bootstrap/
-
- And all jar files from the following directories in your classpath:
-
- lib/test
-
- Make sure all these come before the referenced libraries
-
-3. Locate and run the testng.xml file using the TestNG plugin
+2. From the example's home directory (e.g. booking for the booking example), run ant test.
+3. In Eclipse, click on File > New > Project....
+
+4. Select Java Project from Existing Ant Buildfile from the New Project Wizard, and click Next.
+
+5. Select the example's build.xml file as the base for the new Java project.
+
+6. Select Testing Suite or Testing Class.
+
+7. From the Run As menu, choose TestNG Test. You can cancel the processing of the test run at any time.
+
+8. Go to Run > Run configurations and edit the created TestNG runner.
+
+9. If JDK 1.6 is used as runtime, add the following JVM argument on the Arguments tab:
+
+ -Dsun.lang.ClassLoader.allowArraySyntax=true
+
+10. Go to the Classpath tab and remove all User entries.
+
+11. Add the JARs and folders specified by http://seamframework.org/Community/GettingStartedDevelopingTheSeamFramework#H-RunningIntegrationTestsFromTheTestNGEclipsePlugin.
+
More information about the seam-commits
mailing list