I have installed FOP 0.20.5 and ant 1.6.1 running JDK 1.4.2_03. I was just trying to run build -projecthelp and I received the error below. ant.jar is in my Classpath. I know why I am receiving the error...it is because org/apache/tools/ant/launch/AntMain does not exist in that jar file. I looked in build.bat that came with the FOP installation and it is looking for ant 1.5.1, so for grins I downloaded that version and org/apache/tools/ant/launch/AntMain does not exist in that jar file either. I did find it in my current ant installation in ant-launcher.jar. Any ideas why it is looking for this class and how do I get around this?
Thanks. C:\Program Files\Altova\FOP\examples\embedding>build -projecthelp Fop Build System ---------------- ANT HOME c:\ant Building with classpath c:\ant\lib\ant.jar;../../lib\xml-apis.jar;../../lib\xercesImpl-2.2.1.jar;../../lib\xalan-2.4.1.jar Starting Ant... Ant path... c:\ant Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/tools/ant/launch/AntMain at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:537) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) at java.net.URLClassLoader.defineClass(URLClassLoader.java:251) at java.net.URLClassLoader.access$100(URLClassLoader.java:55) at java.net.URLClassLoader$1.run(URLClassLoader.java:194) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:187) at java.lang.ClassLoader.loadClass(ClassLoader.java:289) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274) at java.lang.ClassLoader.loadClass(ClassLoader.java:235) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) C:\Program Files\Altova\FOP\examples\embedding> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]