Hi,
Googling lead me to the suggestion that you need JAVA_HOME to point to the
jdk, not the jre.  see http://forums.sun.com/thread.jspa?threadID=757039

Pete

On Thu, Apr 29, 2010 at 12:08 PM, lexa2009 <mename...@gmail.com> wrote:

>
> 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
>
>
>
> Peter Hancock-2 wrote:
> >
> > You should run ant from the your fop dir.
> > If ant is not in your path see http://ant.apache.org/ for details.
> >
> > Pete
> >
> > On Thu, Apr 29, 2010 at 10:58 AM, lexa2009 <mename...@gmail.com> wrote:
> >
> >>
> >> Hi! Thx a lot, i change my pattern file for this (for example)
> >> <?xml version="1.0" encoding="UTF-8"?>
> >> <!DOCTYPE hyphenation-info SYSTEM "hyphenation.dtd">
> >> <hyphenation-info>
> >> <hyphen-min before="2" after="3"/>
> >> <patterns>
> >> -->
> >> +5a
> >> a5+
> >> +5b
> >> b5+
> >> </patterns>
> >> </hyphenation-info>
> >>
> >> when i try to compile it( in cmd i go to ant/bin and write ant.bat
> >> compile-hyphenation i have an error
> >>
> >> Unable to locate tools.jar. Expected to find it in C:\Program
> >> Files\Java\jre6\lib\tools.jar
> >> Buildfile: C:\ant\bin\build.xml
> >>
> >> BUILD FAILED
> >> Target "compile-hyphenation" does not exist in the project "null".
> >>
> >> Total time: 0 seconds
> >>
> >> i use google and fing that i can ignore Unable to locate tools.jar.
> >> Expected
> >> to find it in C:\Program Files\Java\jre6\lib\tools.jar because i do not
> >> need
> >> it for my task.
> >> but what to do with Target "compile-hyphenation" does not exist in the
> >> project "null".?
> >> i have to write build.xml by myself?
> >> thx!
> >> --
> >> View this message in context:
> >>
> http://old.nabble.com/FOP%2C-hypenation.-How-to-compile-hyph-pattern--my-own-tp28340019p28398640.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
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://old.nabble.com/FOP%2C-hypenation.-How-to-compile-hyph-pattern--my-own-tp28340019p28399146.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
>
>

Reply via email to