On 30.04.2010 09:38, lexa2009 wrote:
i try Check Installation in http://ant.apache.org/manual/install.html all work good. i go to fop.0.95 directory in cmd and write C:\fop-0.95>ant ant compile-hyphenation Unable to locate tools.jar. Expected to find it in C:\Program Files\Java\jre6\li b\tools.jar Buildfile: build.xml does not exist! Build failed i have this error. last post i use my own build.xml which i find in fop directory. it was my mistake. i google and find that tools.jar do not need for hyph, so i can ignore this message. but why i have error Buildfile: build.xml does not exist! ?
The error messages comes from ant which tries to load its built-in tasks, and some of them use tools.jar from the JDK. Either get a full JDK and point the JAVA_HOME there rather than to a JRE, or use command line based on the following in your FOP directory: java -classpath build/fop.jar;lib/commons-logging-1.0.4.jar org.apache.fop.hyphenation.SerializeHyphPattern hyph hyph-dest Undo the linebreak, maybe adjust the directory and filename of the FOP jar, and you may also have to change the "java" command into "jre" depending on what you have installed. The "hyph" is the directory your hyphenation pattern file is in. If you get errors about missing classes, guess and add the appropriate jar which should be in the lib/ directory (I can't test this right now). J.Pietschmann --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org