Author: brett
Date: Sat Mar  2 01:00:45 2013
New Revision: 1451796

URL: http://svn.apache.org/r1451796
Log:
correct local repository location for groups with '.'

Modified:
    
incubator/npanday/trunk/dotnet/assemblies/NPanday.Utils/src/main/csharp/RepositoryUtility.cs

Modified: 
incubator/npanday/trunk/dotnet/assemblies/NPanday.Utils/src/main/csharp/RepositoryUtility.cs
URL: 
http://svn.apache.org/viewvc/incubator/npanday/trunk/dotnet/assemblies/NPanday.Utils/src/main/csharp/RepositoryUtility.cs?rev=1451796&r1=1451795&r2=1451796&view=diff
==============================================================================
--- 
incubator/npanday/trunk/dotnet/assemblies/NPanday.Utils/src/main/csharp/RepositoryUtility.cs
 (original)
+++ 
incubator/npanday/trunk/dotnet/assemblies/NPanday.Utils/src/main/csharp/RepositoryUtility.cs
 Sat Mar  2 01:00:45 2013
@@ -37,7 +37,7 @@ namespace NPanday.Utils
             try
             {
                 string m2Dir = Path.GetFullPath(string.Format("{0}\\..\\.m2", 
System.Environment.GetFolderPath(Environment.SpecialFolder.Personal)));
-                string artifactDir = Path.Combine(m2Dir, 
string.Format(@"repository\{0}\{1}\{2}", groupId, artifactId, version));
+                string artifactDir = Path.Combine(m2Dir, 
string.Format(@"repository\{0}\{1}\{2}", groupId.Replace('.','\\'), artifactId, 
version));
                 string artifactFilename = string.Format("{0}-{1}{2}", 
artifactId, version, Path.GetExtension(filename));
 
                 if (!File.Exists(filename))


Reply via email to