FOP, hypenation. How to compile hyph pattern? my own

2010-04-23 Thread lexa2009

Hi, i make such pattern file:









how to make fop work with it? i can not understand how to use ant for
building it to fop format.
-- 
View this message in context: 
http://old.nabble.com/FOP%2C-hypenation.-How-to-compile-hyph-pattern--my-own-tp28340019p28340019.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



Re: FOP, hypenation. How to compile hyph pattern? my own

2010-04-23 Thread Simon Pepping
The command is: ant compile-hyphenation

You need to tell ant where your pattern directory is, by defining the
variable user.hyph.dir. You can do this in the file
build-local.properties in the fop directory, as follows:

user.hyph.dir=/path/to/your/directory/with/pattern/files,
e.g. user.hyph.dir=/home/lexa2009/fop/patterns, or
user.hyph.dir=C:\fop\patterns.

You can have only one hyphenation character and therefore only one
hyphen-char element. Your pattern file has no hyphenation patterns,
and therefore there will be no hyphenations in your texts. Then the
hyphenation character has no use.

Simon

On Fri, Apr 23, 2010 at 04:16:10AM -0700, lexa2009 wrote:
> 
> Hi, i make such pattern file:
> 
> 
> 
> 
> 
> 
> 
> 
> 
> how to make fop work with it? i can not understand how to use ant for
> building it to fop format.

-- 
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



Re: FOP, hypenation. How to compile hyph pattern? my own

2010-04-29 Thread lexa2009

Hi! Thx a lot, i change my pattern file for this (for example)





-->
+5a
a5+
+5b
b5+



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



Re: FOP, hypenation. How to compile hyph pattern? my own

2010-04-29 Thread Peter Hancock
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  wrote:

>
> Hi! Thx a lot, i change my pattern file for this (for example)
> 
> 
> 
> 
> 
> -->
> +5a
> a5+
> +5b
> b5+
> 
> 
>
> 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
>
>


Re: FOP, hypenation. How to compile hyph pattern? my own

2010-04-29 Thread lexa2009

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  wrote:
> 
>>
>> Hi! Thx a lot, i change my pattern file for this (for example)
>> 
>> 
>> 
>> 
>> 
>> -->
>> +5a
>> a5+
>> +5b
>> b5+
>> 
>> 
>>
>> 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



Re: FOP, hypenation. How to compile hyph pattern? my own

2010-04-29 Thread Peter Hancock
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  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  wrote:
> >
> >>
> >> Hi! Thx a lot, i change my pattern file for this (for example)
> >> 
> >> 
> >> 
> >> 
> >> 
> >> -->
> >> +5a
> >> a5+
> >> +5b
> >> b5+
> >> 
> >> 
> >>
> >> 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
>
>


Re: FOP, hypenation. How to compile hyph pattern? my own

2010-04-29 Thread lexa2009

hihi, thx. 
u think problem in this? it is only warning. on some forum i read that it
does not metter when create hyph.

what must be in build.xml ?? i really do not know what to write in it. 

Peter Hancock-2 wrote:
> 
> 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  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  wrote:
>> >
>> >>
>> >> Hi! Thx a lot, i change my pattern file for this (for example)
>> >> 
>> >> 
>> >> 
>> >> 
>> >> 
>> >> -->
>> >> +5a
>> >> a5+
>> >> +5b
>> >> b5+
>> >> 
>> >> 
>> >>
>> >> 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
>>
>>
> 
> 

-- 
View this message in context: 
http://old.nabble.com/FOP%2C-hypenation.-How-to-compile-hyph-pattern--my-own-tp28340019p28400915.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



Re: FOP, hypenation. How to compile hyph pattern? my own

2010-04-29 Thread Peter Hancock
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.

On Thu, Apr 29, 2010 at 2:59 PM, lexa2009  wrote:

>
> hihi, thx.
> u think problem in this? it is only warning. on some forum i read that it
> does not metter when create hyph.
>
> what must be in build.xml ?? i really do not know what to write in it.
>
> Peter Hancock-2 wrote:
> >
> > 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  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 
> wrote:
> >> >
> >> >>
> >> >> Hi! Thx a lot, i change my pattern file for this (for example)
> >> >> 
> >> >> 
> >> >> 
> >> >> 
> >> >> 
> >> >> -->
> >> >> +5a
> >> >> a5+
> >> >> +5b
> >> >> b5+
> >> >> 
> >> >> 
> >> >>
> >> >> 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
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://old.nabble.com/FOP%2C-hypenation.-How-to-compile-hyph-pattern--my-own-tp28340019p28400915.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
>
>


Re: FOP, hypenation. How to compile hyph pattern? my own

2010-04-29 Thread Simon Pepping
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



Re: FOP, hypenation. How to compile hyph pattern? my own

2010-04-30 Thread lexa2009

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



Re: FOP, hypenation. How to compile hyph pattern? my own

2010-04-30 Thread J.Pietschmann

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



Re: FOP, hypenation. How to compile hyph pattern? my own

2010-05-06 Thread lexa2009

thx! i have installed full jdk and when i write ant compile-hyphenation in
fop folder i have error about build.xml


C:\fop-0.95>ant compile-hyphenation
Buildfile: build.xml does not exist!
Build failed

if i try 
C:\fop-0.95>java -classpath build/fop.jar;lib/commons-logging-1.0.4.jar
org.apache.fop.hyphenation.SerializeHyphPattern patterns patterns
i have this output - 
C:\fop-0.95>java -classpath build/fop.jar;lib/commons-logging-1.0.4.jar
org.apac
he.fop.hyphenation.SerializeHyphPattern patterns patterns
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/fop/hyphen
ation/SerializeHyphPattern
Caused by: java.lang.ClassNotFoundException:
org.apache.fop.hyphenation.Serializ
eHyphPattern
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Could not find the main class:
org.apache.fop.hyphenation.SerializeHyphPattern.
 Program will exit.

what to do??
hope for you help





J.Pietschmann wrote:
> 
> 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
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/FOP%2C-hypenation.-How-to-compile-hyph-pattern--my-own-tp28340019p28470641.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



Re: FOP, hypenation. How to compile hyph pattern? my own

2010-05-06 Thread Venkat Reddy

FOP version 0.95 doesn't have this class

org.apache.fop.hyphenation.SerializeHyphPattern

The above class included in FOPTrunk version...

Venkat.


lexa2009 wrote:

thx! i have installed full jdk and when i write ant compile-hyphenation in
fop folder i have error about build.xml


C:\fop-0.95>ant compile-hyphenation
Buildfile: build.xml does not exist!
Build failed

if i try 
C:\fop-0.95>java -classpath build/fop.jar;lib/commons-logging-1.0.4.jar

org.apache.fop.hyphenation.SerializeHyphPattern patterns patterns
i have this output - 
C:\fop-0.95>java -classpath build/fop.jar;lib/commons-logging-1.0.4.jar

org.apac
he.fop.hyphenation.SerializeHyphPattern patterns patterns
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/fop/hyphen
ation/SerializeHyphPattern
Caused by: java.lang.ClassNotFoundException:
org.apache.fop.hyphenation.Serializ
eHyphPattern
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Could not find the main class:
org.apache.fop.hyphenation.SerializeHyphPattern.
 Program will exit.

what to do??
hope for you help





J.Pietschmann wrote:
  

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






  




Re: FOP, hypenation. How to compile hyph pattern? my own

2010-06-08 Thread lexa2009

hello. i download fop-0.95 src and now i can compile hyp.
a make su.xml and place it in fop_dir\hyph
it contains



 
m5o
mot5her
mo5ther
moth5er
m5



than i use 
>ant compile-hyphenation
, so i have su.hyp in fop_dir\build\classes\hyph
i put this file to fop_dir\hyph and use 
>ant jar-hyphenation 
so i have fop-hyph.jar in fop_dir\build, i place it to fop_dir\lib and try
hyph
i have xsl-fo with this block

mothermothermothermothermothermothermothermothermothermothermothermothermothermothermothermothermothermothermothermothermothermothermothermothermothermother

but it do not work. what i do wrong?
-- 
View this message in context: 
http://old.nabble.com/FOP%2C-hypenation.-How-to-compile-hyph-pattern--my-own-tp28340019p28817469.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



Re: FOP, hypenation. How to compile hyph pattern? my own

2010-06-09 Thread J.Pietschmann

On 08.06.2010 14:56, lexa2009 wrote:

, so i have su.hyp in fop_dir\build\classes\hyph

...

i have xsl-fo with this block



If your hyphenation file is named su.hyph, you should try
 language="su"
instead (even though 'su' isn't a valid ISO language code).
Have a look at the hyph/readme file.

J.Pietschmann

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



Re: FOP, hypenation. How to compile hyph pattern? my own

2010-06-09 Thread lexa2009

ops, i am sorry. i use language="su", but do not work. i test also with
english standart hyph pattern(en.hyph), but it also do not work. here was my
mistake that i type "en" instead of "su"



J.Pietschmann wrote:
> 
> On 08.06.2010 14:56, lexa2009 wrote:
>> , so i have su.hyp in fop_dir\build\classes\hyph
> ...
>> i have xsl-fo with this block
>> 
> 
> If your hyphenation file is named su.hyph, you should try
>   language="su"
> instead (even though 'su' isn't a valid ISO language code).
> Have a look at the hyph/readme file.
> 
> J.Pietschmann
> 
> -
> 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-tp28340019p28835277.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



Re: FOP, hypenation. How to compile hyph pattern? my own

2010-06-09 Thread J.Pietschmann

On 09.06.2010 22:11, lexa2009 wrote:


ops, i am sorry. i use language="su", but do not work. i test also with
english standart hyph pattern(en.hyph), but it also do not work. here was my
mistake that i type "en" instead of "su"


You wrote

than i use

ant compile-hyphenation

, so i have su.hyp in fop_dir\build\classes\hyph
i put this file to fop_dir\hyph and use

ant jar-hyphenation

so i have fop-hyph.jar in fop_dir\build, i place it to fop_dir\lib and try


The 'ant jar-hyphenation' gets the *.hyp files from
fop_dir\build\classes\hyph, if you moved the su.hyp file, the
jar could be empty, check whether the hyp file is in
the jar (use jar -tvf fop-hyph.jar).

J.Pietschmann


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



Re: FOP, hypenation. How to compile hyph pattern? my own

2010-06-10 Thread lexa2009

thx, i try.
C:\...\fop-0.95\build>jar -tvf fop-hyph.
jar
 0 Tue Jun 08 16:39:18 MSD 2010 META-INF/
   349 Tue Jun 08 16:39:16 MSD 2010 META-INF/MANIFEST.MF
 0 Tue Jun 08 16:33:30 MSD 2010 hyph/
  2593 Tue Jun 08 16:33:30 MSD 2010 hyph/bu.hyp
 43808 Tue Jun 08 16:33:30 MSD 2010 hyph/en.hyp
  2593 Tue Jun 08 16:02:00 MSD 2010 hyph/su.hyp

here is it..

J.Pietschmann wrote:
> 
> On 09.06.2010 22:11, lexa2009 wrote:
>>
>> ops, i am sorry. i use language="su", but do not work. i test also with
>> english standart hyph pattern(en.hyph), but it also do not work. here was
>> my
>> mistake that i type "en" instead of "su"
> 
> You wrote
>> than i use
>>> ant compile-hyphenation
>> , so i have su.hyp in fop_dir\build\classes\hyph
>> i put this file to fop_dir\hyph and use
>>> ant jar-hyphenation
>> so i have fop-hyph.jar in fop_dir\build, i place it to fop_dir\lib and
>> try
> 
> The 'ant jar-hyphenation' gets the *.hyp files from
> fop_dir\build\classes\hyph, if you moved the su.hyp file, the
> jar could be empty, check whether the hyp file is in
> the jar (use jar -tvf fop-hyph.jar).
> 
> J.Pietschmann
> 
> 
> -
> 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-tp28340019p28851635.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



Re: FOP, hypenation. How to compile hyph pattern? my own

2010-06-10 Thread lexa2009



lexa2009 wrote:
> 
> thx, i try.
> C:\...\fop-0.95\build>jar -tvf fop-hyph.
> jar
>  0 Tue Jun 08 16:39:18 MSD 2010 META-INF/
>349 Tue Jun 08 16:39:16 MSD 2010 META-INF/MANIFEST.MF
>  0 Tue Jun 08 16:33:30 MSD 2010 hyph/
>   2593 Tue Jun 08 16:33:30 MSD 2010 hyph/bu.hyp
>  43808 Tue Jun 08 16:33:30 MSD 2010 hyph/en.hyp
>   2593 Tue Jun 08 16:02:00 MSD 2010 hyph/su.hyp
> 
> here it is..
> in lib the same result
> C:\...\fop-0.95\lib>jar -tvf fop-hyph.ja
> r
>  0 Tue Jun 08 16:39:18 MSD 2010 META-INF/
>349 Tue Jun 08 16:39:16 MSD 2010 META-INF/MANIFEST.MF
>  0 Tue Jun 08 16:33:30 MSD 2010 hyph/
>   2593 Tue Jun 08 16:33:30 MSD 2010 hyph/bu.hyp
>  43808 Tue Jun 08 16:33:30 MSD 2010 hyph/en.hyp
>   2593 Tue Jun 08 16:02:00 MSD 2010 hyph/su.hyp
> 
> J.Pietschmann wrote:
>> 
>> On 09.06.2010 22:11, lexa2009 wrote:
>>>
>>> ops, i am sorry. i use language="su", but do not work. i test also with
>>> english standart hyph pattern(en.hyph), but it also do not work. here
>>> was my
>>> mistake that i type "en" instead of "su"
>> 
>> You wrote
>>> than i use
 ant compile-hyphenation
>>> , so i have su.hyp in fop_dir\build\classes\hyph
>>> i put this file to fop_dir\hyph and use
 ant jar-hyphenation
>>> so i have fop-hyph.jar in fop_dir\build, i place it to fop_dir\lib and
>>> try
>> 
>> The 'ant jar-hyphenation' gets the *.hyp files from
>> fop_dir\build\classes\hyph, if you moved the su.hyp file, the
>> jar could be empty, check whether the hyp file is in
>> the jar (use jar -tvf fop-hyph.jar).
>> 
>> J.Pietschmann
>> 
>> 
>> -
>> 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-tp28340019p28851711.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



Re: FOP, hypenation. How to compile hyph pattern? my own

2010-06-18 Thread lexa2009

any idias? what i do wrong? can u write full path of obtaining pattern and
making document?

lexa2009 wrote:
> 
> 
> 
> lexa2009 wrote:
>> 
>> thx, i try.
>> C:\...\fop-0.95\build>jar -tvf fop-hyph.
>> jar
>>  0 Tue Jun 08 16:39:18 MSD 2010 META-INF/
>>349 Tue Jun 08 16:39:16 MSD 2010 META-INF/MANIFEST.MF
>>  0 Tue Jun 08 16:33:30 MSD 2010 hyph/
>>   2593 Tue Jun 08 16:33:30 MSD 2010 hyph/bu.hyp
>>  43808 Tue Jun 08 16:33:30 MSD 2010 hyph/en.hyp
>>   2593 Tue Jun 08 16:02:00 MSD 2010 hyph/su.hyp
>> 
>> here it is..
>> in lib the same result
>> C:\...\fop-0.95\lib>jar -tvf fop-hyph.ja
>> r
>>  0 Tue Jun 08 16:39:18 MSD 2010 META-INF/
>>349 Tue Jun 08 16:39:16 MSD 2010 META-INF/MANIFEST.MF
>>  0 Tue Jun 08 16:33:30 MSD 2010 hyph/
>>   2593 Tue Jun 08 16:33:30 MSD 2010 hyph/bu.hyp
>>  43808 Tue Jun 08 16:33:30 MSD 2010 hyph/en.hyp
>>   2593 Tue Jun 08 16:02:00 MSD 2010 hyph/su.hyp
>> 
>> J.Pietschmann wrote:
>>> 
>>> On 09.06.2010 22:11, lexa2009 wrote:

 ops, i am sorry. i use language="su", but do not work. i test also with
 english standart hyph pattern(en.hyph), but it also do not work. here
 was my
 mistake that i type "en" instead of "su"
>>> 
>>> You wrote
 than i use
> ant compile-hyphenation
 , so i have su.hyp in fop_dir\build\classes\hyph
 i put this file to fop_dir\hyph and use
> ant jar-hyphenation
 so i have fop-hyph.jar in fop_dir\build, i place it to fop_dir\lib and
 try
>>> 
>>> The 'ant jar-hyphenation' gets the *.hyp files from
>>> fop_dir\build\classes\hyph, if you moved the su.hyp file, the
>>> jar could be empty, check whether the hyp file is in
>>> the jar (use jar -tvf fop-hyph.jar).
>>> 
>>> J.Pietschmann
>>> 
>>> 
>>> -
>>> 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-tp28340019p28922579.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



Re: FOP, hypenation. How to compile hyph pattern? my own

2010-06-18 Thread lexa2009

any idias? what i do wrong? can u write full path of obtaining pattern and
making document?

lexa2009 wrote:
> 
> 
> 
> lexa2009 wrote:
>> 
>> thx, i try.
>> C:\...\fop-0.95\build>jar -tvf fop-hyph.
>> jar
>>  0 Tue Jun 08 16:39:18 MSD 2010 META-INF/
>>349 Tue Jun 08 16:39:16 MSD 2010 META-INF/MANIFEST.MF
>>  0 Tue Jun 08 16:33:30 MSD 2010 hyph/
>>   2593 Tue Jun 08 16:33:30 MSD 2010 hyph/bu.hyp
>>  43808 Tue Jun 08 16:33:30 MSD 2010 hyph/en.hyp
>>   2593 Tue Jun 08 16:02:00 MSD 2010 hyph/su.hyp
>> 
>> here it is..
>> in lib the same result
>> C:\...\fop-0.95\lib>jar -tvf fop-hyph.ja
>> r
>>  0 Tue Jun 08 16:39:18 MSD 2010 META-INF/
>>349 Tue Jun 08 16:39:16 MSD 2010 META-INF/MANIFEST.MF
>>  0 Tue Jun 08 16:33:30 MSD 2010 hyph/
>>   2593 Tue Jun 08 16:33:30 MSD 2010 hyph/bu.hyp
>>  43808 Tue Jun 08 16:33:30 MSD 2010 hyph/en.hyp
>>   2593 Tue Jun 08 16:02:00 MSD 2010 hyph/su.hyp
>> 
>> J.Pietschmann wrote:
>>> 
>>> On 09.06.2010 22:11, lexa2009 wrote:

 ops, i am sorry. i use language="su", but do not work. i test also with
 english standart hyph pattern(en.hyph), but it also do not work. here
 was my
 mistake that i type "en" instead of "su"
>>> 
>>> You wrote
 than i use
> ant compile-hyphenation
 , so i have su.hyp in fop_dir\build\classes\hyph
 i put this file to fop_dir\hyph and use
> ant jar-hyphenation
 so i have fop-hyph.jar in fop_dir\build, i place it to fop_dir\lib and
 try
>>> 
>>> The 'ant jar-hyphenation' gets the *.hyp files from
>>> fop_dir\build\classes\hyph, if you moved the su.hyp file, the
>>> jar could be empty, check whether the hyp file is in
>>> the jar (use jar -tvf fop-hyph.jar).
>>> 
>>> J.Pietschmann
>>> 
>>> 
>>> -
>>> 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-tp28340019p28922578.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