incubator-nmaven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sisb...@apache.org
Subject svn commit: r545549 - /incubator/nmaven/trunk/plugins/netplugins/NMaven.Plugin.Settings/src/main/csharp/NMaven/Plugin/Settings/SettingsGeneratorMojo.cs
Date Fri, 08 Jun 2007 16:23:20 GMT
Author: sisbell
Date: Fri Jun  8 09:23:19 2007
New Revision: 545549

URL: http://svn.apache.org/viewvc?view=rev&rev=545549
Log:
Fix for users having C: and D: drives.

Modified:
    incubator/nmaven/trunk/plugins/netplugins/NMaven.Plugin.Settings/src/main/csharp/NMaven/Plugin/Settings/SettingsGeneratorMojo.cs

Modified: incubator/nmaven/trunk/plugins/netplugins/NMaven.Plugin.Settings/src/main/csharp/NMaven/Plugin/Settings/SettingsGeneratorMojo.cs
URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/plugins/netplugins/NMaven.Plugin.Settings/src/main/csharp/NMaven/Plugin/Settings/SettingsGeneratorMojo.cs?view=diff&rev=545549&r1=545548&r2=545549
==============================================================================
--- incubator/nmaven/trunk/plugins/netplugins/NMaven.Plugin.Settings/src/main/csharp/NMaven/Plugin/Settings/SettingsGeneratorMojo.cs
(original)
+++ incubator/nmaven/trunk/plugins/netplugins/NMaven.Plugin.Settings/src/main/csharp/NMaven/Plugin/Settings/SettingsGeneratorMojo.cs
Fri Jun  8 09:23:19 2007
@@ -40,7 +40,8 @@
 
         public override void Execute()
         {
-        	string outputFile = Environment.GetEnvironmentVariable("SystemDrive") + "/.m2/nmaven-settings.xml";
+        	string outputFile = Environment.GetEnvironmentVariable("SystemDrive") +
+        	Environment.GetEnvironmentVariable("HOMEPATH") + "/.m2/nmaven-settings.xml";
             XmlSerializer serializer = new XmlSerializer(typeof(nmavenSettings));
 
             nmavenSettings  settings = new nmavenSettings();



Mime
View raw message