You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Stefan Bodewig <bo...@apache.org> on 2004/03/25 15:06:05 UTC

Re: Cocoon not picking up framework api

On Thu, 25 Mar 2004, Stephen McConnell <mc...@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"/>