Where can I find this change? I'm pulling in Arquillian 1.0.0.Final-SNAPSHOT and the change is not getting picked up:
> mvn dependency:tree
[INFO] org.jboss.as.test.clustering:my-arquillian-testsuite:jar:1.0-SNAPSHOT
[INFO] +- org.jboss.spec.javax.servlet:jboss-servlet-api_3.0_spec:jar:1.0.0.Final:provided
[INFO] +- org.jboss.arquillian.junit:arquillian-junit-container:jar:1.0.0.Final-SNAPSHOT:compile
[INFO] | +- org.jboss.arquillian.junit:arquillian-junit-core:jar:1.0.0.Final-SNAPSHOT:compile
[INFO] | +- org.jboss.arquillian.test:arquillian-test-api:jar:1.0.0.Final-SNAPSHOT:compile
[INFO] | +- org.jboss.arquillian.test:arquillian-test-spi:jar:1.0.0.Final-SNAPSHOT:compile
[INFO] | | +- org.jboss.arquillian.core:arquillian-core-spi:jar:1.0.0.Final-SNAPSHOT:compile
[INFO] | | - org.jboss.shrinkwrap:shrinkwrap-api:jar:1.0.0-beta-5:compile
...
<container qualifier="jboss" default="false">
<configuration>
<property name="jbossHome">target/clustering-udp-0</property>
<property name="javaVmArguments">$
{ip.server.stack}</property>
<property name="bindAddress">192.168.0.103</property>
<property name="serverConfig">standalone.xml</property>
<property name="startupTimeoutInSeconds">30</property>
<property name="outputToConsole">true</properties>
</configuration>
</container>
and i'm passing in <systemPropertyvariables><ip.server.stack>-Djava.net.prefer.IPv4Stack=true</ip.server.stack></systemPropertyVariables>
Running TestSuite
Sep 12, 2011 10:33:07 AM org.jboss.as.arquillian.container.managed.ManagedDeployableContainer startInternal
INFO: Starting container with: [java, ${ip.server.stack}
, -Djboss.home.dir=target/clustering-udp-1, -Dorg.jboss.boot.log.file=target/clustering-udp-1/standalone/log/boot.log, -Dlogging.configuration=file:target/clustering-udp-1/standalone/configuration/logging.properties, -Djboss.modules.dir=target/clustering-udp-1/modules, -jar, /home/nrla/maven/my-arquillian-testsuite/target/clustering-udp-1/jboss-modules.jar, -mp, target/clustering-udp-1/modules, -logmodule, org.jboss.logmanager, -jaxpmodule, javax.xml.jaxp-provider, org.jboss.as.standalone, -server-config, standalone.xml]
Sep 12, 2011 10:33:07 AM org.jboss.remoting3.EndpointImpl <clinit>
INFO: JBoss Remoting version 3.2.0.Beta2
Exception in thread "main" java.lang.NoClassDefFoundError: $
{ip/server/stack}
Caused by: java.lang.ClassNotFoundException: $
{ip.server.stack}
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class: ${ip.server.stack}
. Program will exit.
A System.getProperty() call can be used to retrieve a property while processing XML configuration if it was passed to Surefire plugin. We can mimics Maven behavior, that is pass property value if found, pass String literally if property with given name was not found.