gump-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sam Ruby <ru...@apache.org>
Subject Re: [RT] gump.py
Date Wed, 16 Apr 2003 12:08:16 GMT
Today's installment isn't a change to gump.py at all.  It is a build.py 
script that demonstrates how this could be used.

   http://intertwingly.net/stories/2003/04/16/build.py

Invoke it via "python build.py rubix.xml ant", and it will tell you in 
which directory, the full classpath, and with what properties a build of 
ant on the rubix machine would be done with.

It is not a big leap from here to actually constructing the command line 
and actually invoking the command via:

   from os import chdir,environ,pathsep,system
   chdir(...)
   environ['CLASSPATH']=pathsep.join(...)
   system(...)

- Sam Ruby



Mime
View raw message