From ca962323fec90ae2efeb8f8c29b531d90bd8fae5 Mon Sep 17 00:00:00 2001 From: Fabrice Bellingard Date: Wed, 16 May 2007 13:53:30 +0000 Subject: [PATCH] [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 --- .../web/action/admin/appearance/AbstractAppearanceAction.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/appearance/AbstractAppearanceAction.java b/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/appearance/AbstractAppearanceAction.java index 63ecf7b40..7aa2f91e6 100644 --- a/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/appearance/AbstractAppearanceAction.java +++ b/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/appearance/AbstractAppearanceAction.java @@ -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 ); -- 2.39.5