You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@gump.apache.org by Stefan Bodewig <bo...@apache.org> on 2004/01/30 08:43:29 UTC

Tomcat build failures on gumpy

Hi,

Adam, is the Python Gump assuming that the target attribute of <ant>
contains exactly one target and passes it as a single argument?

For a reason unknown to me the Tomcat community has chosen to put a
space separated list of targets into this attribute instead of
defining a Gump specific target that depends on them.  Could you
change gumpy to work with it like the "traditional" Gump did,
i.e. split them at the spaces?

Thanks

        Stefan

-- 
http://stefanbodewig.blogger.de/

Re: Tomcat build failures on gumpy

Posted by "Adam R. B. Jack" <aj...@trysybase.com>.
> So Gumpy is wrong 8-)
>
> <http://jakarta.apache.org/gump/metadata/ant.html>

I've checked in an attempt at a fix, and it ought be a simple enough fix
(but it is early and I'm clearly not batting 100 right now. ;-)

I hate when I say 'probably not the last problem', and almost immediately
find that was right. Still, this is probably not the last problem. ;-)

Thanks for finding/reporting this bug.

regards

Adam


Re: Tomcat build failures on gumpy

Posted by Stefan Bodewig <bo...@apache.org>.
On Sun, 1 Feb 2004, Bill Barker <wb...@wilshire.com> wrote:
> Now Tomcat seems to have a problem with:
>       <property name="commons-daemon.jsvc.tar.gz"
>                 project="commons-daemon"
> path="/daemon/dist/bin/jsvc.tar.gz"/>
> 
> Gumpy is interpreting the path to be relative to the Tomcat
> directory instead of relative to the commons-daemon directory.

So Gumpy is wrong 8-)

<http://jakarta.apache.org/gump/metadata/ant.html>

Stefan

Re: Tomcat build failures on gumpy

Posted by Bill Barker <wb...@wilshire.com>.
Now Tomcat seems to have a problem with:
      <property name="commons-daemon.jsvc.tar.gz"
                project="commons-daemon"
path="/daemon/dist/bin/jsvc.tar.gz"/>

Gumpy is interpreting the path to be relative to the Tomcat directory
instead of relative to the commons-daemon directory.  What is the correct
way to get this to work for both Gump and Gumpy?

"Bill Barker" <wb...@wilshire.com> wrote in message
news:bvf9qf$8se$1@sea.gmane.org...
> I just "fixed" this from the Tomcat side.  I can revert the patch if
anyone
> wants.
>
> "Adam R. B. Jack" <aj...@trysybase.com> wrote in message
> news:22e001c3e755$0cfba280$0100a8c0@tsws1...
> > > Adam, is the Python Gump assuming that the target attribute of <ant>
> > > contains exactly one target and passes it as a single argument?
> >
> > Yes, it was. I'm sure it isn't the only subtle difference that has gone
> > unnoticed this long either. Keep them coming, thanks.
> >
> > > For a reason unknown to me the Tomcat community has chosen to put a
> > > space separated list of targets into this attribute instead of
> > > defining a Gump specific target that depends on them.  Could you
> > > change gumpy to work with it like the "traditional" Gump did,
> > > i.e. split them at the spaces?
> >
> > Done.
> >
> > regards
> >
> > Adam




Re: Tomcat build failures on gumpy

Posted by Bill Barker <wb...@wilshire.com>.
I just "fixed" this from the Tomcat side.  I can revert the patch if anyone
wants.

"Adam R. B. Jack" <aj...@trysybase.com> wrote in message
news:22e001c3e755$0cfba280$0100a8c0@tsws1...
> > Adam, is the Python Gump assuming that the target attribute of <ant>
> > contains exactly one target and passes it as a single argument?
>
> Yes, it was. I'm sure it isn't the only subtle difference that has gone
> unnoticed this long either. Keep them coming, thanks.
>
> > For a reason unknown to me the Tomcat community has chosen to put a
> > space separated list of targets into this attribute instead of
> > defining a Gump specific target that depends on them.  Could you
> > change gumpy to work with it like the "traditional" Gump did,
> > i.e. split them at the spaces?
>
> Done.
>
> regards
>
> Adam




Re: Tomcat build failures on gumpy

Posted by "Adam R. B. Jack" <aj...@trysybase.com>.
> Adam, is the Python Gump assuming that the target attribute of <ant>
> contains exactly one target and passes it as a single argument?

Yes, it was. I'm sure it isn't the only subtle difference that has gone
unnoticed this long either. Keep them coming, thanks.

> For a reason unknown to me the Tomcat community has chosen to put a
> space separated list of targets into this attribute instead of
> defining a Gump specific target that depends on them.  Could you
> change gumpy to work with it like the "traditional" Gump did,
> i.e. split them at the spaces?

Done.

regards

Adam