incubator-nmaven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sisb...@apache.org
Subject svn commit: r545537 - /incubator/nmaven/trunk/assemblies/NMaven.Core/src/main/csharp/Core/Impl/ProjectGeneratorImpl.cs
Date Fri, 08 Jun 2007 15:57:16 GMT
Author: sisbell
Date: Fri Jun  8 08:57:15 2007
New Revision: 545537

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

Modified:
    incubator/nmaven/trunk/assemblies/NMaven.Core/src/main/csharp/Core/Impl/ProjectGeneratorImpl.cs

Modified: incubator/nmaven/trunk/assemblies/NMaven.Core/src/main/csharp/Core/Impl/ProjectGeneratorImpl.cs
URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/assemblies/NMaven.Core/src/main/csharp/Core/Impl/ProjectGeneratorImpl.cs?view=diff&rev=545537&r1=545536&r2=545537
==============================================================================
--- incubator/nmaven/trunk/assemblies/NMaven.Core/src/main/csharp/Core/Impl/ProjectGeneratorImpl.cs
(original)
+++ incubator/nmaven/trunk/assemblies/NMaven.Core/src/main/csharp/Core/Impl/ProjectGeneratorImpl.cs
Fri Jun  8 08:57:15 2007
@@ -237,7 +237,7 @@
 			{
 				foreach(Dependency dependency in model.dependencies) {
 					String artifactExtension = (dependency.type == "module") ? "dll" : GetExtension(dependency.type);
-					String repoPath = Environment.GetEnvironmentVariable("HOMEDRIVE") 
+					String repoPath = Environment.GetEnvironmentVariable("SystemDrive") 
 					    + Environment.GetEnvironmentVariable("HOMEPATH") 
 						+ @"\.m2\repository\" + dependency.groupId.Replace(".", "\\")
 						+ "\\" + dependency.artifactId + "\\" + dependency.version + "\\" + dependency.artifactId
+ "." 



Mime
View raw message