[MRM-334] If ~/.m2 does not exist when running the webapp for the first time, a folder "~.m2" is created. Missing "/" added

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@538594 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Fabrice Bellingard 2007-05-16 13:53:30 +00:00
parent 09fff6ad6e
commit ca962323fe
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ public abstract class AbstractAppearanceAction
{
String id = "archiva-local-repo";
String layout = "default";
String directory = System.getProperty( "user.home" ) + ".m2/archiva";
String directory = System.getProperty( "user.home" ) + "/.m2/archiva";
ArtifactRepositoryLayout repositoryLayout = (ArtifactRepositoryLayout) repositoryLayouts.get( layout );
File repository = new File( directory );