Author: richard.opalka(a)jboss.com
Date: 2008-05-14 03:57:55 -0400 (Wed, 14 May 2008)
New Revision: 7022
Modified:
stack/metro/trunk/modules/client/src/main/java/org/jboss/wsf/stack/metro/tools/MetroConsumerImpl.java
Log:
use resourceloader instead of classloader
Modified:
stack/metro/trunk/modules/client/src/main/java/org/jboss/wsf/stack/metro/tools/MetroConsumerImpl.java
===================================================================
---
stack/metro/trunk/modules/client/src/main/java/org/jboss/wsf/stack/metro/tools/MetroConsumerImpl.java 2008-05-13
17:00:59 UTC (rev 7021)
+++
stack/metro/trunk/modules/client/src/main/java/org/jboss/wsf/stack/metro/tools/MetroConsumerImpl.java 2008-05-14
07:57:55 UTC (rev 7022)
@@ -206,6 +206,21 @@
System.setProperty("javax.xml.stream.XMLInputFactory",
"com.ctc.wstx.stax.WstxInputFactory");
WsimportTool compileTool = new WsimportTool(stream);
+ java.util.Properties props = System.getProperties();
+ java.util.Iterator keysIterator = props.keySet().iterator();
+
System.err.println("XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX");
+
System.err.println("XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX");
+ System.err.println("System properties: ");
+
System.err.println("XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX");
+
System.err.println("XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX");
+ while (keysIterator.hasNext())
+ {
+ String key = (String)keysIterator.next();
+ String val = props.getProperty(key);
+ System.err.println(key + " = " + val);
+ }
+
System.err.println("XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX");
+
System.err.println("XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX");
boolean success = compileTool.run(args.toArray(new String[0]));
if(!success) throw new IllegalStateException("WsImport invocation
failed");
Show replies by date