Tom, I modified that because the AntClassLoader class does not support Class.getPackage(). Is there other way to support Class.getPackage() in ant 1.5?
/Jongjin ----- Original Message ----- From: "Tom Jordahl" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Friday, March 25, 2005 12:25 AM Subject: Ant tasks in CVS Why am I getting this error building the ant tasks using ant 1.5? Did someone put a dependency on ant 1.6? It builds fine with 1.6.2. compile: [echo] Compiling tools.* [echo] Building ForEach [echo] Building RunAxisFunctionalTest [echo] Building WSDL tasks [javac] Compiling 6 source files to C:\dev\ws-axis\java\build\tools [javac] C:\dev\ws-axis\java\tools\org\apache\axis\tools\ant\wsdl\Java2WsdlAn tTask.java:147: cannot resolve symbol [javac] symbol : method createClassLoader (org.apache.tools.ant.types.Path) [javac] location: class org.apache.tools.ant.Project [javac] AntClassLoader cl = getProject().createClassLoader(classpath == null ? createClasspath(): classpath); [javac] ^ [javac] 1 error BUILD FAILED file:C:/dev/ws-axis/java/tools/build.xml:92: Compile failed; see the compiler er ror output for details. Total time: 27 seconds -- Tom Jordahl Macromedia Server Development
