Thomson, Alisa wrote:

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?

To build FOP 0.20.5 you dont need a separate install of Ant. The JAR file Ant-1.5.1.jar is distributed in FOP's lib sub directory. The build.bat, sets the ANT_HOME to FOP's lib sub directory and thats all you should need to do.


As a guess I would say its not working for you because you have ANT_HOME set to the root directory of the Ant install and not Ant\lib sub directory.

Chris

<snip/>


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to