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 2005/07/13 08:57:04 UTC

Ant and exec issue

Hi Leo,

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

Cheers

        Stefan

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


Re: Ant and exec issue

Posted by Leo Simons <ma...@leosimons.com>.
Stefan Bodewig wrote:
> 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
###########################################################################

I failed to build a smaller testcase (it doesn't result in the hangup
occurring), but I just chucked it into svn
(https://svn.apache.org/repos/asf/gump/branches/Gump3/pygump/setpgrpbug)
-- maybe you'll have more luck. And please don't be angry about what I
did to the ant sources ;)

cheers,

LSD

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