[jbossws-commits] JBossWS SVN: r6770 - framework/trunk/testsuite/test/java/org/jboss/test/ws/projectGenerator.

jbossws-commits at lists.jboss.org jbossws-commits at lists.jboss.org
Wed Apr 30 06:48:05 EDT 2008


Author: alessio.soldano at jboss.com
Date: 2008-04-30 06:48:05 -0400 (Wed, 30 Apr 2008)
New Revision: 6770

Modified:
   framework/trunk/testsuite/test/java/org/jboss/test/ws/projectGenerator/ProjectGeneratorTestCase.java
Log:
[JBWS-2028] Specifying the jbossXXX.home when running the create-project target


Modified: framework/trunk/testsuite/test/java/org/jboss/test/ws/projectGenerator/ProjectGeneratorTestCase.java
===================================================================
--- framework/trunk/testsuite/test/java/org/jboss/test/ws/projectGenerator/ProjectGeneratorTestCase.java	2008-04-30 10:00:41 UTC (rev 6769)
+++ framework/trunk/testsuite/test/java/org/jboss/test/ws/projectGenerator/ProjectGeneratorTestCase.java	2008-04-30 10:48:05 UTC (rev 6770)
@@ -76,7 +76,8 @@
       File userPrjProp = new File(binDistroDir, "user-project.properties");
       writeUserProjectProperties(userPrjProp);
       File distroBuild = new File(binDistroDir, "build.sh");
-      assertStatusCode(executeCommand(distroBuild.getCanonicalPath() + " create-project"), "Error while creating the user project!");
+      String integrationTarget = System.getProperty("jbossws.integration.target");
+      assertStatusCode(executeCommand(distroBuild.getCanonicalPath() + " -D" + integrationTarget + ".home=" + jbossHome + " create-project"), "Error while creating the user project!");
       File projectHomeDir = new File(workspaceHome, projectName);
       File packageDir = new File(projectHomeDir.getCanonicalPath() + "/src/main/java/org/jboss/test/ws/projectGenerator");
       packageDir.mkdirs();




More information about the jbossws-commits mailing list