xmlgraphics-fop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas L. Delmelle" <andreas.delme...@telenet.be>
Subject Re: Trunk won't compile?
Date Wed, 25 May 2011 20:40:06 GMT
On 25 May 2011, at 16:15, Eric Douglas wrote:

Hi Eric

> What is this missing? 
> When I right click the build.xml in Eclipse and select Run As > ant build, I get jars
created but the log ends with BUILD FAILED.
> 
> I scroll up to see some errors and there's messages like this. 
>     [junit] Testcase: page-number_background-image.xml(org.apache.fop.intermediate.IFParserTestCase):
  Caused an ERROR 
>     [junit] org.apache.fop.area.inline.TextArea.addTrait(Ljava/lang/Object;Ljava/lang/Object;)V

>     [junit] java.lang.NoSuchMethodError:

Phew! A relief. :-) Your subject line scared me at first, but turns out to be a bit misleading,
as it is not a compile error, but a linkage error. It is about trying to execute compiled
bytecode pointing to a method that was removed or whose signature has changed. The compiled
versions of PageNumberLayoutManager and Area seem to be out of synch.

Seems to be pointing to another (older) fop.jar somewhere in the classpath, as org.apache.fop.area.Area.addTrait()
had (Object, Object), but was changed to (Integer, Object) in r1062901.

Hope this helps!


Regards

Andreas
---
Mime
View raw message