https://issues.apache.org/bugzilla/show_bug.cgi?id=48575

--- Comment #4 from Paul Lysak <paul.ly...@gmail.com> 2010-01-21 14:31:21 UTC 
---
Hi Peter

After some more investigation I've been able to render correct picture and it
looks like the problem was not in FOP itself. I've been using Maven to add FOP
to my project. With this configuration code the picture was wrong:

<dependency>
    <groupId>org.apache.xmlgraphics</groupId>
    <artifactId>fop</artifactId>
    <version>0.95</version>
</dependency>

After your comment I tried to use this configuration code and 

<dependency>
    <groupId>org.apache.xmlgraphics</groupId>
    <artifactId>fop</artifactId>
    <version>0.95-1</version>
</dependency>

Strangle, but they both use the same jar file with FOP. Only difference is that
0.95-1 version (and, by the way, 0.93 and 0.94 versions too) in Maven
repository declares dependencies on both avalon api and avalon impl:
<dependency>
  <groupId>org.apache.avalon.framework</groupId>
  <artifactId>avalon-framework-api</artifactId>
  <version>4.3.1</version>
</dependency>
<dependency>
  <groupId>org.apache.avalon.framework</groupId>
  <artifactId>avalon-framework-impl</artifactId>
  <version>4.3.1</version>
</dependency>

and version 0.95 only declares dependency on avalon api (no dependency on
avalon impl).
But when i've been using version 0.95 there were no complains about missing
classes - picture has rendered, but not correctly. So I wonder: can the
problems with 0.95 be caused by incorrect packaging of some parts of
xmlgraphics - something like old versions of classes which get overriden by
including avalon impl jar? This question is the only remaining issue.

Regards,
Paul.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to