rubys 02/02/27 12:38:44
Modified: java/test/wsdl Wsdl2javaAntTask.java
Log:
Output directory should be relative to the project basedir
Revision Changes Path
1.19 +8 -2 xml-axis/java/test/wsdl/Wsdl2javaAntTask.java
Index: Wsdl2javaAntTask.java
===================================================================
RCS file: /home/cvs/xml-axis/java/test/wsdl/Wsdl2javaAntTask.java,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- Wsdl2javaAntTask.java 20 Feb 2002 17:17:36 -0000 1.18
+++ Wsdl2javaAntTask.java 27 Feb 2002 20:38:44 -0000 1.19
@@ -64,6 +64,8 @@
import org.w3c.dom.Document;
import org.xml.sax.SAXException;
+import java.io.File;
+import java.io.IOException;
import java.util.HashMap;
/**
@@ -176,8 +178,12 @@
}
// The setter for the "output" attribute
- public void setOutput(String parameter) {
- this.output = parameter;
+ public void setOutput(File parameter) {
+ try {
+ this.output = parameter.getCanonicalPath();
+ } catch (IOException ioe) {
+ throw new BuildException(ioe);
+ }
}
// The setter for the "deployscope" attribute