axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Schutte" <>
Subject Wsdl2javaAntTask does not look for in project's basedir
Date Wed, 29 Sep 2004 20:15:31 GMT
Hello all,

I've found a problem with the Wsdl2javaAntTask: according to the 
documentation it should use the basedir as specified in the ant build file 
to look for the file.

What it actually does is to look in the current directory of the JVM that is 
running ant. This can be traced to code in 
org.apache.axis.wsdl.toJava.Emitter doing a 'new 

In my opinion the documented behavior is the most desirable, because in 
complex build scripts the ant basedir is more likely to point to a projects 
root directory than is the JVM's current directory.

The attached patch uses the ant Project to look for in 
the ant basedir. If it is found there, this path is passed on to the 

Marcel Schutte 

View raw message