Bug 3109 - BuildException when trying to run examples.
Summary: BuildException when trying to run examples.
Status: CLOSED DUPLICATE of bug 2227
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: pdf (show other bugs)
Version: all
Hardware: PC other
: P3 normal
Target Milestone: ---
Assignee: fop-dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-08-13 11:39 UTC by Bryan Hansen
Modified: 2012-04-01 13:49 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bryan Hansen 2001-08-13 11:39:23 UTC
I just downloaded the newest version of the Fop bin. When I try to run the 
examples using the runtests.bat I get :

C:\fop20\docs\examples>runtests
Fop Test
----------------
Starting Tests ...
Buildfile: build.xml

init:

creating new test pdf files:

BUILD FAILED

java.lang.NoClassDefFoundError: org/apache/tools/ant/BuildException
        at java.lang.Class.getMethods0(Native Method)
        at java.lang.Class.getMethods(Class.java:742)
        at org.apache.tools.ant.IntrospectionHelper.<init>
(IntrospectionHelper.java:115)
        at org.apache.tools.ant.IntrospectionHelper.getHelper
(IntrospectionHelper.java:208
)
        at org.apache.tools.ant.UnknownElement.handleChildren
(UnknownElement.java:139)
        at org.apache.tools.ant.UnknownElement.maybeConfigure
(UnknownElement.java:108)
        at org.apache.tools.ant.Target.execute(Target.java:152)
        at org.apache.tools.ant.Project.runTarget(Project.java:898)
        at org.apache.tools.ant.Project.executeTarget(Project.java:536)
        at org.apache.tools.ant.Project.executeTargets(Project.java:510)
        at org.apache.tools.ant.Main.runBuild(Main.java:421)
        at org.apache.tools.ant.Main.main(Main.java:149)

Total time: 0 seconds
org/apache/tools/ant/BuildException

I noticed that the ant.jar doesn't appear to be included in the latest release. 
I already had it installed and just copied the .jar to the lib directory where 
the .bat file was looking for it, but I still get the same error.

Any suggestions?

Bryan
Comment 1 J.Pietschmann 2002-04-22 10:15:20 UTC

*** This bug has been marked as a duplicate of 2227 ***
Comment 2 Glenn Adams 2012-04-01 13:49:00 UTC
batch transition to closed remaining pre-FOP1.0 resolved bugs