There is indeed nothing wrong with build.xml; target
'compile-hyphenation' is defined. However, your error message says:
project "null". That is definitely not good, and shows that your ant
installation does not work properly. The project is fop, and is also
defined in build.xml.

In principle you can compile the hyphenation patterns without ant. Run
java with org.apache.fop.hyphenation.SerializeHyphPattern as the main
class; arguments are the directory with patterns and the target
directory for storing the compiled hyphenation files. The class path
should be the same as for a normal fop run. But this seems more
complicated than using ant.

Regards, Simon

On Thu, Apr 29, 2010 at 03:44:48PM +0100, Peter Hancock wrote:
> You should have and use the standard build.xml that shipped with fox.  The
> target 'compile-hyphenation' is defined in this.  See Simon's post for where
> to go from here.
> 
> > >> done. now i use it from fop directory but have the same output -
> > >> C:\fop-0.95>ant compile-hyphenation
> > >> Unable to locate tools.jar. Expected to find it in C:\Program
> > >> Files\Java\jre6\li
> > >> b\tools.jar
> > >> Buildfile: C:\fop-0.95\build.xml
> > >>
> > >> BUILD FAILED
> > >> Target "compile-hyphenation" does not exist in the project "null".
> > >>
> > >> Total time: 0 seconds

-- 
Simon Pepping
home page: http://www.leverkruid.eu

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org

Reply via email to