Author: richard.opalka(a)jboss.com
Date: 2010-05-24 08:27:52 -0400 (Mon, 24 May 2010)
New Revision: 12313
Modified:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws1666/JBWS1666TestCase.java
Log:
[JBWS-3037] fixing log4j configuration in test
Modified:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws1666/JBWS1666TestCase.java
===================================================================
---
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws1666/JBWS1666TestCase.java 2010-05-24
11:32:01 UTC (rev 12312)
+++
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws1666/JBWS1666TestCase.java 2010-05-24
12:27:52 UTC (rev 12313)
@@ -94,7 +94,9 @@
cp.append(PS + jbc + FS + "xercesImpl.jar");
cp.append(PS + jbc + FS + "jboss-logging.jar");
- String command = javaCmd + " -Djava.endorsed.dirs=" + jbl + FS +
"endorsed -cp " + cp + " " + TestClient.class.getName() + "
" + getServerHost();
+ String props = " -Djava.endorsed.dirs=" + jbl + FS + "endorsed
";
+ props += " -Dlog4j.output.dir=" +
System.getProperty("log4j.output.dir") + " ";
+ String command = javaCmd + props + " -cp " + cp + " " +
TestClient.class.getName() + " " + getServerHost();
ByteArrayOutputStream bout = new ByteArrayOutputStream();
executeCommand(command, bout);
String res = null;
Show replies by date