You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Stefan Bodewig <bo...@apache.org> on 2005/07/12 16:25:42 UTC

and stream experts, Gump needs you

Hi Peter, Martijn and Matt ;-)

I know you've been poking around the way streams get pumped in Execute
a few times.  It seems that in a wierd constellation of Python calling
Ant and Ant calling <exec> (or forked <java>) the last process stalls.

Some details can be found in this thread
<http://marc.theaimsgroup.com/?t=112109511300004&r=1&w=2>, although
I'm not sure it carries enough information to pin down the problem.

Cheers

        Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Re: and stream experts, Gump needs you

Posted by Stefan Bodewig <bo...@apache.org>.
This is the best Leo could come up with

If you think you'd rather have access to vmgump, I can try to arrange
that.

Stefan

> is there a simple set of instructions on how to reproduce the problem?

I don't know about simple :-)

###########################################################################
# Note the gump3 install on vmgump is documented at
#   http://wiki.apache.org/gump/VmgumpConfig
# so if you want to reproduce locally, just follow the instructions
# labelled as being related to gump3
ssh vmgump.apache.org
sudo bash
su - gump
cd /usr/local/gump/gump3/Gump3
svn up
$EDITOR pygump/python/gump/plugins/java/builder.py
# change the line that reads
#
#        self._do_run_command(ant, args, projectpath, no_cleanup=True)
# to
#        self._do_run_command(ant, args, projectpath, no_cleanup=False)
#
# save file.

# this file is regenerated by xalan's java_cup, so get rid of it
rm \
pygump/work/gump3-test/xml/xml-xalan/java/src/org/apache/xalan/xsltc/compiler/XPathParser.java

crontab -l | grep gump3
# get the line that looks like its the gump3 test run,
# and run that, perhaps modified a little, eg perhaps
/bin/bash gump run --do-updates --do-builds --debug \
   --local-module-name=gump3-packages

# you can then rerun just the xalan build using something like this
rm \
pygump/work/gump3-test/xml/xml-xalan/java/src/org/apache/xalan/xsltc/compiler/XPathParser.java
/bin/bash gump run --do-builds --debug \
   --local-module-name=gump3-packages -p xalan
###########################################################################

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Re: and stream experts, Gump needs you

Posted by Matt Benson <gu...@yahoo.com>.
After my recently-confessed failure to get pipes
working in Ant (Windows' fault I swear) I hardly
consider myself an expert... :) .  With that
disclaimer having been made, I could try to take a
look if I had a ready-made test environment....

-Matt

--- Stefan Bodewig <bo...@apache.org> wrote:

> Hi Peter, Martijn and Matt ;-)
> 
> I know you've been poking around the way streams get
> pumped in Execute
> a few times.  It seems that in a wierd constellation
> of Python calling
> Ant and Ant calling <exec> (or forked <java>) the
> last process stalls.
> 
> Some details can be found in this thread
>
<http://marc.theaimsgroup.com/?t=112109511300004&r=1&w=2>,
> although
> I'm not sure it carries enough information to pin
> down the problem.
> 
> Cheers
> 
>         Stefan
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> dev-unsubscribe@ant.apache.org
> For additional commands, e-mail:
> dev-help@ant.apache.org
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org