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! ? Simon Pepping @ Home wrote: > > 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 > > > -- View this message in context: http://old.nabble.com/FOP%2C-hypenation.-How-to-compile-hyph-pattern--my-own-tp28340019p28409369.html Sent from the FOP - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org