gump-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leo Simons <m...@leosimons.com>
Subject Walking around gump code (svn commit: r160101...)
Date Tue, 05 Apr 2005 09:11:26 GMT
Adam,

Quick Q: how do you find the location to make small changes like this when
you fire up your development environment, and how do you test to make sure
its the only thing to change? How do you test a simple change like this
works?


Cheers,


Leo

On 04-04-2005 23:31, "ajack@apache.org" <ajack@apache.org> wrote:

> Author: ajack
> Date: Mon Apr  4 14:31:23 2005
> New Revision: 160101
> 
> URL: http://svn.apache.org/viewcvs?view=rev&rev=160101
> Log:
> 1) Default java to $JAVA_HOME/bin/java (if JAVA_HOME set).
> 2) Add test data to .svn:ignore
> 
> Modified:
>     gump/trunk/python/gump/core/run/gumpenv.py
>     gump/trunk/test/   (props changed)
> 
> Modified: gump/trunk/python/gump/core/run/gumpenv.py
> URL: 
> http://svn.apache.org/viewcvs/gump/trunk/python/gump/core/run/gumpenv.py?view=
> diff&r1=160100&r2=160101
> ==============================================================================
> --- gump/trunk/python/gump/core/run/gumpenv.py (original)
> +++ gump/trunk/python/gump/core/run/gumpenv.py Mon Apr  4 14:31:23 2005
> @@ -90,6 +90,11 @@
>          self.javaCommand = 'java'
>          self.javacCommand = 'javac'
>          
> +        # Default to $JAVA_HOME/bin/java, can be overridden with $JAVA_CMD.
> +        if os.environ.has_key('JAVA_HOME'):
> +            self.javaCommand  =
> os.path.join(os.environ['JAVA_HOME'],'bin',self.javaCommand)
> +            self.addInfo('JAVA_CMD set to $JAVA_HOME/bin/java = ' +
> self.javaCommand )
> +        
>          # Timezone and offset from UTC
>          self.timezone = time.tzname
>          self.timezoneOffset = time.timezone
> 
> Propchange: gump/trunk/test/
> ------------------------------------------------------------------------------
> --- svn:ignore (added)
> +++ svn:ignore Mon Apr  4 14:31:23 2005
> @@ -0,0 +1,2 @@
> +
> +gump
> 
> 



Mime
View raw message