butek 02/02/06 13:21:51
Modified: java/src/org/apache/axis/utils JavapUtils.java
Log:
Fix from Thomas Boerkel ([EMAIL PROTECTED]). WIthout this fix Java2WSDL would hang
it a directory in the CLASSPATH contained spaces.
Revision Changes Path
1.4 +1 -1 xml-axis/java/src/org/apache/axis/utils/JavapUtils.java
Index: JavapUtils.java
===================================================================
RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/utils/JavapUtils.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- JavapUtils.java 14 Jan 2002 19:18:52 -0000 1.3
+++ JavapUtils.java 6 Feb 2002 21:21:51 -0000 1.4
@@ -171,7 +171,7 @@
Runtime rt = Runtime.getRuntime();
// The -l option is used to access the local variables.
- Process pr = rt.exec("javap -classpath " + cp + " -private -l " +
cls.getName());
+ Process pr = rt.exec("javap -classpath \"" + cp + "\" -private -l " +
cls.getName());
//BufferedReader ebr = new BufferedReader(new
InputStreamReader(pr.getErrorStream()));
//if (ebr != null) {