gump-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aj...@apache.org
Subject svn commit: rev 53813 - in gump/trunk: python/gump/build python/gump/test src/documentation/content/xdocs/metadata
Date Tue, 05 Oct 2004 17:44:54 GMT
Author: ajack
Date: Tue Oct  5 10:44:53 2004
New Revision: 53813

Modified:
   gump/trunk/python/gump/build/ant.py
   gump/trunk/python/gump/build/maven.py
   gump/trunk/python/gump/build/nant.py
   gump/trunk/python/gump/test/documenter.py
   gump/trunk/src/documentation/content/xdocs/metadata/ant.xml
   gump/trunk/src/documentation/content/xdocs/metadata/maven.xml
Log:
Allow target="X,Y" instead of target="X Y", since space is a valid
target character (and mockeasy uses it).

Modified: gump/trunk/python/gump/build/ant.py
==============================================================================
--- gump/trunk/python/gump/build/ant.py	(original)
+++ gump/trunk/python/gump/build/ant.py	Tue Oct  5 10:44:53 2004
@@ -157,7 +157,7 @@
     
         # End with the target (or targets)...
         if target: 
-            for targetParam in target.split():
+            for targetParam in target.split(','):
                 cmd.addParameter(targetParam)
     
         return cmd

Modified: gump/trunk/python/gump/build/maven.py
==============================================================================
--- gump/trunk/python/gump/build/maven.py	(original)
+++ gump/trunk/python/gump/build/maven.py	Tue Oct  5 10:44:53 2004
@@ -167,7 +167,7 @@
     
         # End with the goal...
         if goal: 
-            for goalParam in goal.split():
+            for goalParam in goal.split(','):
                 cmd.addParameter(goalParam)
     
         return cmd

Modified: gump/trunk/python/gump/build/nant.py
==============================================================================
--- gump/trunk/python/gump/build/nant.py	(original)
+++ gump/trunk/python/gump/build/nant.py	Tue Oct  5 10:44:53 2004
@@ -161,7 +161,7 @@
     
         # End with the target (or targets)...
         if target: 
-            for targetParam in target.split():
+            for targetParam in target.split(','):
                 cmd.addParameter(targetParam)
     
         return cmd

Modified: gump/trunk/python/gump/test/documenter.py
==============================================================================
--- gump/trunk/python/gump/test/documenter.py	(original)
+++ gump/trunk/python/gump/test/documenter.py	Tue Oct  5 10:44:53 2004
@@ -49,7 +49,7 @@
         out.close()
         
     def testXDocs(self):
-        xtest=os.path.join(dir.test,'xdocs')
+        xtest=os.path.join(gump.core.config.dir.test,'xdocs')
         if not os.path.exists(xtest): os.mkdir(xtest)
         documenter=XDocDocumenter(self.run,xtest,'http://someplace')
         documenter.document()

Modified: gump/trunk/src/documentation/content/xdocs/metadata/ant.xml
==============================================================================
--- gump/trunk/src/documentation/content/xdocs/metadata/ant.xml	(original)
+++ gump/trunk/src/documentation/content/xdocs/metadata/ant.xml	Tue Oct  5 10:44:53 2004
@@ -47,7 +47,7 @@
       <tr>
         <td>target</td>
         <td>
-        	The ant target to invoke. <em>This can be a space separated list.</em>
+        	The ant target to invoke. <em>This can be a comma separated list. Spaces are
preserved.</em>
         </td>
         <td>No. Defaults to the default target defined by the build file.</td>
       </tr>

Modified: gump/trunk/src/documentation/content/xdocs/metadata/maven.xml
==============================================================================
--- gump/trunk/src/documentation/content/xdocs/metadata/maven.xml	(original)
+++ gump/trunk/src/documentation/content/xdocs/metadata/maven.xml	Tue Oct  5 10:44:53 2004
@@ -64,7 +64,7 @@
       </tr>
       <tr>
         <td>goal</td>
-        <td>The Maven goal to invoke.  <em>This can be a space separated list.</em></td>
+        <td>The Maven goal to invoke.  <em>This can be a comma separated list.
Spaces are preserved.</em></td>
         <td>No. Defaults to <strong>jar</strong>.</td>
       </tr>
     </table>

Mime
View raw message