Re: Probably simple build issue

2004-09-08 Thread Chris Bowditch
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]


RE: Probably simple build issue

2004-09-08 Thread Thomson, Alisa
Response to: Probably simple build issue [EMAIL PROTECTED]msgNo=12064 
(Thomson, Alisa) 
Date: Wed, 08 Sep 2004 09:42:47 +0100
From: Chris Bowditch [EMAIL PROTECTED]
Subject: Probably simple build issue
Content-Type: text/plain; charset=us-ascii; format=flowed

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/

I saw that build.bat referenced that ant install in the FOP lib directory, but 
it did not exist.  I even downloaded FOP again to make sure I didn't have a bad 
install and the ant jar file was not there.  I have tried setting ANT_HOME to 
the ant/lib directory and that did not work either.  I can just run build.bat 
and all of the samples compile fine.  Still not sure what is causing the above 
problem, but I am able to compile the samples.

Thanks.


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



Probably simple build issue

2004-09-07 Thread Thomson, Alisa
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\embeddingbuild -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]