Hi Jim,

I am using the binary distribution of Fop regularly.

I have xerces.jar and xalan.jar in /Library/Java/Extensions/ however I have no 
tools.jar or classes.zip in /Library/Java/Home/lib

I have the following in the xml-fop lib dir:

$ls lib
BSF.license.txt   batik.jar         classes           src
CVS               bin               logkit-1.0.jar    stylebook.jar
ant.jar           bsf.jar           org               xalan-2.2D11.jar
ant.license.txt   buildtools.jar    readme            xerces-1.4.3.jar

which the build process finds and seems to include on the Classpath:

>>Building with classpath 
>/Library/Java/Home/lib/tools.jar:/Library/Java/Home/lib/classes.zip:lib/ant.jar:lib/batik.jar:lib/buildtools.jar:lib/xerces-1.4.3.jar:lib/xalan-2.2D11.jar:lib/jimi-1.0.jar:lib/logkit-1.0.jar


I have set to following in .bash_profile:

export JAVA_HOME=/Library/Java/Home
export ANT_HOME=/Users/stephen/devtools/jakarta-ant-1.4.1

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/

Are these already supposed to be there from an earlier element of the build process?

>It worked just fine for me from the very start. Are you sure you have all the 
>supporting jars properly sourced through the classpath? Have you tried running it 
>from the latest release jar file first before doing the build?
>
>jw
>
>Stephen Bannasch wrote:
>
>>I'm trying to build Fdop on macosx>  I grabbed the source from cvs this afternoon 
>and when I build it it stops right away with a SerializeHyphPattern cannot be found 
>error.
>>
>>Help for the clueless will be appreciated.
>>
>>Thanks
>>
>>----
>>
>>[bash stephen:~/apache/xml-fop]./build.sh
>>
>>Fop Build System
>>----------------
>>
>>Building with classpath 
>/Library/Java/Home/lib/tools.jar:/Library/Java/Home/lib/classes.zip:lib/ant.jar:lib/batik.jar:lib/buildtools.jar:lib/xerces-1.4.3.jar:lib/xalan-2.2D11.jar:lib/jimi-1.0.jar:lib/logkit-1.0.jar
>>Starting Ant...
>>
>>Buildfile: build.xml
>>
>>init-avail:
>>
>>init-filters-xalan2:
>>
>>init:
>>    [echo] ------------------- Fop 1.0dev [1999-2002] ----------------
>>
>>BUILD FAILED
>>
>>/Users/stephen/apache/xml-fop/build.xml:273: taskdef class 
>org.apache.fop.tools.anttasks.SerializeHyphPattern cannot be found
>>
>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, email: [EMAIL PROTECTED]


-- 

-s

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

Reply via email to