AW: AW: FOP with jimi

2003-02-28 Thread Pachinger Martin
Title: AW: AW: FOP with jimi





version 0.20.3:
i have download the source distribution.
after build clean i build fop new 
(here a part of the listing:
...
prepare-jimi:
 [echo] Jimi library is present. Fop installs jimi support.
 [copy] Copying 1 file to D:\fop-0.20.3\build\src
...


also the JimiImage.class is in the fop.jar file !


but when starting fop the same error occurs



-Ursprüngliche Nachricht-
Von: Jeremias Maerki [mailto:[EMAIL PROTECTED]]
Gesendet am: Donnerstag, 27. Februar 2003 07:40
An: [EMAIL PROTECTED]
Betreff: Re: AW: FOP with jimi


Sorry for not being clear enough. The build is only available in the
source distribution. You're obviously using the binary distribution.
Anyway, in the binary distribution support for JIMI is already built-in
so no recompile is necessary. Did you try renaming JIMI as I suggested?


On 27.02.2003 07:01:33 Pachinger Martin wrote:
 you wrote:
 In the root directory of the FOP distribution, call build clean followed
 by build. 
 
 I have no build file in the root directory !!!
 
 -Ursprüngliche Nachricht-
 Von: Jeremias Maerki [mailto:[EMAIL PROTECTED]]
 Gesendet am: Mittwoch, 26. Februar 2003 18:07
 An: [EMAIL PROTECTED]
 Betreff: Re: FOP with jimi
 
 
 On 26.02.2003 17:05:27 Pachinger Martin wrote:
   Hallo
  
   Here is the link to the release notes
   http://xml.apache.org/fop/relnotes.html
  
   In the release notes of the version 0.20.3 there is following text:
   Jimi has been removed for licensing reasons 
   If you need PNG support you have to download Jimi
  http://java.sun.com/products/jimi/, copy it to lib/ and build FOP
 yourself
  

   I download the file jimi1_0.zip and copy it to lib/.
   How can i build FOP by myself?
 
 In the root directory of the FOP distribution, call build clean
 followed by build. Substitute build by ./build.sh on unix.
 
   version 0.20.4 :
   Fop has been compiled with Jimi support this time but you still have
  to download Jimi http://java.sun.com/products/jimi/ and copy it to lib/
 to
  get PNG support (no need to build FOP yourself though).
  
   I download the file jimi1_0.zip and copy it to lib/.
  
   When running FOP following error uccurs:
   Error while creating area : Error creating FopImage object
  (file:rating.png) : Jimi image library not available
  
   Why?
 
 If you use fop.bat it should work. If not make sure the library is in
 the classpath. Renaming jimi1_0.zip to jimi.jar could help, too. 




Jeremias Maerki



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





AW: AW: AW: FOP with jimi

2003-02-28 Thread Pachinger Martin
Title: AW: AW: AW: FOP with jimi





i use fop.bat and in this file the jimi-library is in the classpath!


my question:
when download jimi, i get the file jimi1_0.zip.
in this zip-file is another zip-file named JimiProClasses.zip.
i extracted this file and renamed it to jimi-1.0.jar before i build fop new!
is this ok?


on wednesday another mail from Valeiko, Michael [EMAIL PROTECTED] was sent
and this mail follwing contain:


---begin mail
I cant get a png file to load I continue to get the following message. 


[ERROR] Error while creating area : Error creating FopImage object (file:tcolon.png) : Jimi image library not available 

from 


fo:block 
fo:external-graphic role=img src="" 
/fo:block 


I have added the jimi-1.0.jar files as well as jai_codec.jar and jai_core.jar to the lib dir. I've tried 20.4 and .20.5rc2 bundled and compiled myself. What am I doing wrong?

Thanks, 
Mike 
--- end mail


here i see the same error with version 20.4 and 20.5rc2 !



-Ursprüngliche Nachricht-
Von: Jeremias Maerki [mailto:[EMAIL PROTECTED]]
Gesendet am: Freitag, 28. Februar 2003 09:23
An: [EMAIL PROTECTED]
Betreff: Re: AW: AW: FOP with jimi


Why do you use version 0.20.3? It's pretty old already.


How are you running FOP? Using fop.bat? If yes, open fop.bat in an ASCII
editor and check if the name for the JIMI library in the classpath
matches the name under which the JIMI library is in your lib directory.
It's most likely that due to the filename you don't have the JIMI
library in the classpath at runtime.


On 28.02.2003 08:48:14 Pachinger Martin wrote:
 version 0.20.3:
 i have download the source distribution.
 after build clean i build fop new 
 (here a part of the listing:
 ...
 prepare-jimi:
 [echo] Jimi library is present. Fop installs jimi support.
 [copy] Copying 1 file to D:\fop-0.20.3\build\src
 ...
 
 also the JimiImage.class is in the fop.jar file !
 
 but when starting fop the same error occurs
 
 
 -Ursprüngliche Nachricht-
 Von: Jeremias Maerki [mailto:[EMAIL PROTECTED]]
 Gesendet am: Donnerstag, 27. Februar 2003 07:40
 An: [EMAIL PROTECTED]
 Betreff: Re: AW: FOP with jimi
 
 Sorry for not being clear enough. The build is only available in the
 source distribution. You're obviously using the binary distribution.
 Anyway, in the binary distribution support for JIMI is already built-in
 so no recompile is necessary. Did you try renaming JIMI as I suggested?


snip/


  If you use fop.bat it should work. If not make sure the library is in
  the classpath. Renaming jimi1_0.zip to jimi.jar could help, too. 




Jeremias Maerki



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





AW: AW: AW: AW: FOP with jimi

2003-02-28 Thread Pachinger Martin
Title: AW: AW: AW: AW: FOP with jimi





version 20.3:
now with fop.bat and png the pdf-file was generated with no error.


my question:
did you try to get the pdf-file with embedding FOP ??


here i get the same error as before!



-Ursprüngliche Nachricht-
Von: Jeremias Maerki [mailto:[EMAIL PROTECTED]]
Gesendet am: Freitag, 28. Februar 2003 10:01
An: [EMAIL PROTECTED]
Betreff: Re: AW: AW: AW: FOP with jimi


Yes, that's how it is supposed to work.


I've just done the following:
1. Extract the source distribution version 0.20.5rc2
2. Put jimi-1.0.jar in the lib directory
3. called build clean
4. called build
5. used fop.bat to transform a XSL-FO file referencing a PNG graphic to
PDF (fop -fo pngtest.fo -pdf pngtest.pdf)


It worked.


On 28.02.2003 09:36:09 Pachinger Martin wrote:
 i use fop.bat and in this file the jimi-library is in the classpath!
 
 my question:
 when download jimi, i get the file jimi1_0.zip.
 in this zip-file is another zip-file named JimiProClasses.zip.
 i extracted this file and renamed it to jimi-1.0.jar before i build fop
 new!
 is this ok?




Jeremias Maerki



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





AW: AW: AW: AW: AW: FOP with jimi

2003-02-28 Thread Pachinger Martin
Title: AW: AW: AW: AW: AW: FOP with jimi





thank you, it works here also without error
i think there was a problem in the classpath!


best regards
martin pachinger


-Ursprüngliche Nachricht-
Von: Jeremias Maerki [mailto:[EMAIL PROTECTED]]
Gesendet am: Freitag, 28. Februar 2003 10:52
An: [EMAIL PROTECTED]
Betreff: Re: AW: AW: AW: AW: FOP with jimi


Yes, it works here. Are you absolutely sure your classpath is ok?
Because if fop.bat works it's the only thing that can still go wrong.
You need fop.jar, batik-blah.jar, avalon-framework-blah.jar and
jimi-1.0.jar.


On 28.02.2003 10:18:59 Pachinger Martin wrote:
 version 20.3:
 now with fop.bat and png the pdf-file was generated with no error.
 
 my question:
 did you try to get the pdf-file with embedding FOP ??
 
 here i get the same error as before!
 
 
 -Ursprüngliche Nachricht-
 Von: Jeremias Maerki [mailto:[EMAIL PROTECTED]]
 Gesendet am: Freitag, 28. Februar 2003 10:01
 An: [EMAIL PROTECTED]
 Betreff: Re: AW: AW: AW: FOP with jimi
 
 Yes, that's how it is supposed to work.
 
 I've just done the following:
 1. Extract the source distribution version 0.20.5rc2
 2. Put jimi-1.0.jar in the lib directory
 3. called build clean
 4. called build
 5. used fop.bat to transform a XSL-FO file referencing a PNG graphic to
 PDF (fop -fo pngtest.fo -pdf pngtest.pdf)
 
 It worked.
 
 On 28.02.2003 09:36:09 Pachinger Martin wrote:
  i use fop.bat and in this file the jimi-library is in the classpath!
  
  my question:
  when download jimi, i get the file jimi1_0.zip.
  in this zip-file is another zip-file named JimiProClasses.zip.
  i extracted this file and renamed it to jimi-1.0.jar before i build fop
  new!
  is this ok?



Jeremias Maerki



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





AW: FOP with jimi

2003-02-27 Thread Pachinger Martin
Title: AW: FOP with jimi





you wrote:
In the root directory of the FOP distribution, call build clean followed by build. 


I have no build file in the root directory !!!


-Ursprüngliche Nachricht-
Von: Jeremias Maerki [mailto:[EMAIL PROTECTED]]
Gesendet am: Mittwoch, 26. Februar 2003 18:07
An: [EMAIL PROTECTED]
Betreff: Re: FOP with jimi



On 26.02.2003 17:05:27 Pachinger Martin wrote:
  Hallo
 
  Here is the link to the release notes
  http://xml.apache.org/fop/relnotes.html
 
  In the release notes of the version 0.20.3 there is following text:
  Jimi has been removed for licensing reasons 
  If you need PNG support you have to download Jimi
 http://java.sun.com/products/jimi/, copy it to lib/ and build FOP yourself
 
   
  I download the file jimi1_0.zip and copy it to lib/.
  How can i build FOP by myself?


In the root directory of the FOP distribution, call build clean
followed by build. Substitute build by ./build.sh on unix.


  version 0.20.4 :
  Fop has been compiled with Jimi support this time but you still have
 to download Jimi http://java.sun.com/products/jimi/ and copy it to lib/ to
 get PNG support (no need to build FOP yourself though).
 
  I download the file jimi1_0.zip and copy it to lib/.
 
  When running FOP following error uccurs:
  Error while creating area : Error creating FopImage object
 (file:rating.png) : Jimi image library not available
 
  Why?


If you use fop.bat it should work. If not make sure the library is in
the classpath. Renaming jimi1_0.zip to jimi.jar could help, too. 



Jeremias Maerki



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





FOP with jimi

2003-02-26 Thread Pachinger Martin
Title: FOP with jimi





Hallo


Here is the link to the release notes
http://xml.apache.org/fop/relnotes.html


In the release notes of the version 0.20.3 there is following text:
Jimi has been removed for licensing reasons
If you need PNG support you have to download Jimi http://java.sun.com/products/jimi/, copy it to lib/ and build FOP yourself 

 
I download the file jimi1_0.zip and copy it to lib/.
How can i build FOP by myself?


version 0.20.4 :
Fop has been compiled with Jimi support this time but you still have to download Jimi http://java.sun.com/products/jimi/ and copy it to lib/ to get PNG support (no need to build FOP yourself though).

I download the file jimi1_0.zip and copy it to lib/.


When running FOP following error uccurs:
Error while creating area : Error creating FopImage object (file:rating.png) : Jimi image library not available


Why?


i hope you can help
Martin