You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@gump.apache.org by Stephen McConnell <mc...@apache.org> on 2004/07/07 17:45:12 UTC

dep inheritance ...

Magic bootstrap is building fine and as we can see from the following 
link the classpath included ant-launcher.

http://brutus.apache.org:8080/gump/avalon-tools/magic/details.html

Magic built by Magic is failing due to java.lang.NoClassDefFoundError: 
org/apache/tools/ant/launch/AntMain.  If we look at the command line 
supplied by gump we see that ant-loader has not been provided.

http://brutus.apache.org:8080/gump/avalon-tools/avalon-tools-magic/gump_work/build_avalon-tools_avalon-tools-magic.html#Command+Line

Looking at the classpath for avalon-tool-magic (the project where magic 
build magic) the classpath for an is showing up as only ant id="ant" and 
none of the other ids are being included (the complete ant id set should 
be ant, junit, nodeps, and ant-launcher).

http://brutus.apache.org:8080/gump/avalon-tools/avalon-tools-magic/details.html#Classpath

If I look at the definition of avalon-tools-magic ....

http://brutus.apache.org:8080/gump/avalon-tools/avalon-tools-magic/details.html#Definition

   ... we have:

     <depend name="magic.home" reference="home"
        inherit="runtime" project="magic"/>

Which according to me should be provided us with a few more entries in 
the classpath.

I guess I'm missing something.

Any suggestions?

Steve.

-- 

|---------------------------------------|
| Magic by Merlin                       |
| Production by Avalon                  |
|                                       |
| http://avalon.apache.org              |
|---------------------------------------|


---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


Re: dep inheritance ...

Posted by Stephen McConnell <mc...@apache.org>.
Stefan Bodewig wrote:

> On Wed, 07 Jul 2004, Stephen McConnell <mc...@apache.org> wrote:
> 
> 
>>     <depend name="magic.home" reference="home"
>>        inherit="runtime" project="magic"/>
>>
>>Which according to me should be provided us with a few more entries
>>in the classpath.
>>
>>I guess I'm missing something.
> 
> 
> //ant/depend doesn't support the inherit attribute at all.
> 
> In order to achieve what you want, you need to use //ant/property plus
> a second depend nested into project.  Which is, what you've already
> done AFAICS.

Yep - keeping my fingers crossed for the next round of results.

:-)


-- 

|---------------------------------------|
| Magic by Merlin                       |
| Production by Avalon                  |
|                                       |
| http://avalon.apache.org              |
|---------------------------------------|

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


Re: dep inheritance ...

Posted by Stefan Bodewig <bo...@apache.org>.
On Wed, 07 Jul 2004, Stephen McConnell <mc...@apache.org> wrote:

>      <depend name="magic.home" reference="home"
>         inherit="runtime" project="magic"/>
> 
> Which according to me should be provided us with a few more entries
> in the classpath.
> 
> I guess I'm missing something.

//ant/depend doesn't support the inherit attribute at all.

In order to achieve what you want, you need to use //ant/property plus
a second depend nested into project.  Which is, what you've already
done AFAICS.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org