This might be more of an ant specific question but this case is specifically about the Java2WSDL task...
I have this task: <taskdef name="java2wsdl" classname="org.apache.axis.tools.ant.wsdl.Java2WsdlAntTask" classpathref="classpath"/> <target name="j2w" depends="compile-impl"> <java2wsdl classname="com.adhamh.DialogListener" location="http://localhost:8080/axis/services/DialogListener" output="${impl.build}/dsoap.wsdl" namespace="com.adhamh..DialogSOAP" style="rpc" useinheritedmethods="false"> <mapping namespace="com.adhamh. s.DialogSOAP" package="com.adhamh..DialogSOAP"/> <classpath refid="classpath"/> </java2wsdl> </target> But the package source is actually in a subdirectory. If I run ant in the subdirectory using "ant -f ../build.xml j2w" it works. I've tried several things but couldn't determine how to run from the parent directory... What is the appropriate way to direct the Java2WsdlAntTaks to look in the subdirectory for the com.adhamh.DialogListener class? Thanks, Adhamh