gump-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aj...@apache.org
Subject cvs commit: gump/python/gump/build maven.py
Date Mon, 07 Jun 2004 16:22:00 GMT
ajack       2004/06/07 09:22:00

  Modified:    python/gump/build Tag: CleanUp maven.py
  Log:
  Added information on --offline.
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.6.2.1   +5 -4      gump/python/gump/build/maven.py
  
  Index: maven.py
  ===================================================================
  RCS file: /home/cvs/gump/python/gump/build/maven.py,v
  retrieving revision 1.6
  retrieving revision 1.6.2.1
  diff -u -r1.6 -r1.6.2.1
  --- maven.py	3 Jun 2004 19:06:12 -0000	1.6
  +++ maven.py	7 Jun 2004 16:22:00 -0000	1.6.2.1
  @@ -102,14 +102,13 @@
       #        
       def getMavenCommand(self,project):
           maven=project.maven
  -        mavenxml=project.xml.maven
       
           # The ant goal (or none == ant default goal)
           goal=maven.getGoal()
       
           # Optional 'verbose' or 'debug'
  -        verbose=mavenxml.verbose
  -        debug=mavenxml.debug
  +        verbose=maven.isVerbose()
  +        debug=maven.isDebug()
       
           #
           # Where to run this:
  @@ -167,7 +166,9 @@
           #cmd.addPrefixedParameter('-D','build.sysclasspath','only','=')
       
           # End with the goal...
  -        cmd.addParameter(goal)
  +        if goal: 
  +            for goalParam in goal.split():
  +                cmd.addParameter(goalParam)
       
           return cmd
     
  
  
  

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


Mime
View raw message