-
Bug
-
Resolution: Won't Do
-
Major
-
None
-
JBossAS-4.0.3 Final
-
None
The testsuite/imports/test-jars.xml build hardcodes the IP address of node0 for webservices in output/resources.
<copy todir="${build.resources}/webservice" filtering="yes">
<fileset dir="${source.resources}/webservice">
<include name="*/"/>
</fileset>
<filterset>
<filter token="jbosstest.host.name" value="${node0}"/>
</filterset>
</copy>
So, once you run the jars target the first time, the intial value of node0 becomes hardcoded. IE, this doesn't work:
ant jars
ant tests -Dnode0=$MYTESTIP_1
instead you have to do this:
ant clean tests -Dnode0=$MYTESTIP_1
This is inefficient and error prone for developers. Instead, the filtering should be done at runtime using system properties in the configuration files and code:
${jbosstest.server.host:localhost} or System.getProperty("jbosstest.server.host" , "localhost")
- is related to
-
JBAS-1864 IP address parameterization in testsuite
- Closed