cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Cocoon not picking up framework api
Date Thu, 25 Mar 2004 14:06:05 GMT
On Thu, 25 Mar 2004, Stephen McConnell <mcconnell@apache.org> wrote:

> Seems like the cocoon core build is not picking up the
> avalon-framework-api.

It does, but the jar file doesn't contain the CascadingThrowable
class.

Let's see

[bodewig@bodewig gump]$ find /javastuff/gump/avalon* -name CascadingThrowable.class
/javastuff/gump/avalon/framework/api/target/classes/org/apache/avalon/framework/CascadingThrowable.class
/javastuff/gump/avalon/framework/target/classes/org/apache/avalon/framework/CascadingThrowable.class

not in impl, but in api and this is the jar that doesn't get picked
up.  Probably there is some logic (don't have the time to dive in ATM)
that says the <depend> inside <ant> is unneeded since the one on the
outside is sufficient.

The appended patch should help and hopefully have cocoon building next
night.

Sorry

        Stefan

Index: gump.xml
===================================================================
RCS file: /home/cvspublic/cocoon-2.1/gump.xml,v
retrieving revision 1.132
diff -u -r1.132 gump.xml
--- gump.xml	25 Mar 2004 03:57:46 -0000	1.132
+++ gump.xml	25 Mar 2004 14:05:24 -0000
@@ -47,7 +47,7 @@
     <depend project="xml-xalan2"/>
     <depend project="xml-commons-resolver"/>
 
-    <depend project="avalon-framework" ids="impl"/>
+    <depend project="avalon-framework" ids="impl api"/>
     <depend project="excalibur-compatibility"/>
     <depend project="excalibur-instrument"/>
     <depend project="excalibur-instrument-manager"/>

Mime
View raw message