Thanks for the pointer Christian,

I got a new checkout of the maintenence branch:

cvs -d :pserver:[EMAIL PROTECTED]:/home/cvspublic checkout -r fop-0_20_2-maintain 
xml-fop

created buildtools.jar:

[bash stephen:~/apache/xml-fop]ant -f buildtools.xml
Buildfile: buildtools.xml

which claimed success

then ran build.sh

which again dies on the first taskdef

----

Building with classpath 
/Library/Java/Home/lib/tools.jar:/Library/Java/Home/lib/classes.zip:lib/ant.jar:lib/ant-1.3-optional.jar:lib/batik.jar:lib/buildtools.jar:lib/xerces-1.2.3.jar:lib/xalan-2.0.0.jar:lib/xalanj1compat.jar:lib/bsf.jar:lib/jimi-1.0.jar:lib/logkit-1.0b4.jar:lib/avalon-framework-4.0.jar
Starting Ant...

Buildfile: build.xml

init-avail:

init-filters-xalan1:

init-filters-xalan2:

init:
     [echo] ------------------- Fop 0.20.3 [1999-2002] ----------------

BUILD FAILED

/Users/stephen/apache/xml-fop/build.xml:272: taskdef class 
org.apache.fop.tools.anttasks.SerializeHyphPattern cannot be found
--- Nested Exception ---
java.lang.NoClassDefFoundError: org/apache/tools/ant/taskdefs/MatchingTask
        at java.lang.ClassLoader.defineClass0(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:290)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
        at org.apache.tools.ant.taskdefs.Taskdef.execute(Taskdef.java:111)
        at org.apache.tools.ant.Target.execute(Target.java:153)
        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)



At 4:56 PM +0100 2/26/02, Christian Geisert wrote:
>Stephen Bannasch wrote:
>
>[..]
>
>>The systems stops on the very first <taskdef> element in the build.
>>
>><taskdef name="serHyph" 
>classname="org.apache.fop.tools.anttasks.SerializeHyphPattern"/>
>>
>>There are no classes in the anttasks dir for the taskdef to link "serHyph" to:
>>
>>  lib/org/apache/fop/tools/anttasks/
>
>
>This is in buildtools.jar which seems to be included in your classpath ?
>
>But ..
>
>>>>  [echo] ------------------- Fop 1.0dev [1999-2002] ----------------
>
>
>it looks like you have checked out the development branch (which isn't
>usable at the moment) but you probably want the maintenance branch:
>checkout -r fop-0_20_2-maintain xml-fop (which should compile)
>
>Christian
>

-- 

-s

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

Reply via email to