gump-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From billbar...@apache.org
Subject svn commit: r332096 - /gump/trunk/python/gump/core/build/maven.py
Date Wed, 09 Nov 2005 18:05:51 GMT
Author: billbarker
Date: Wed Nov  9 10:05:48 2005
New Revision: 332096

URL: http://svn.apache.org/viewcvs?rev=332096&view=rev
Log:
Make it possible to use projects with <maven /> tags on Windows.

Fix for Issue Gump-157

Modified:
    gump/trunk/python/gump/core/build/maven.py

Modified: gump/trunk/python/gump/core/build/maven.py
URL: http://svn.apache.org/viewcvs/gump/trunk/python/gump/core/build/maven.py?rev=332096&r1=332095&r2=332096&view=diff
==============================================================================
--- gump/trunk/python/gump/core/build/maven.py (original)
+++ gump/trunk/python/gump/core/build/maven.py Wed Nov  9 10:05:48 2005
@@ -238,7 +238,7 @@
         for property in project.getWorkspace().getProperties()+project.getMaven().getProperties():
             # build.sysclasspath makes Maven sick.
             if not 'build.sysclasspath' == property.name:
-                props.write(('%s=%s\n') % (property.name,property.value))            
+                props.write(('%s=%s\n') % (property.name,property.value.replace('\\','/')))
           
         
         #
         # Output classpath properties
@@ -262,7 +262,7 @@
                 props.write(('# Contributor: %s\nmaven.jar.%s=%s\n') % \
                     (	annotatedPath.getContributor(),	
                         annotatedPath.getId(),	
-                        annotatedPath.getPath()))
+                        annotatedPath.getPath().replace('\\','/')))
 
         return propertiesFile
       



Mime
View raw message