update default location of home directory for modern Windows
git-svn-id: https://svn.apache.org/repos/asf/incubator/npanday/trunk@1616145 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/site/src/site/apt/guide/advanced/generate-project.apt b/site/src/site/apt/guide/advanced/generate-project.apt
index d0b70c0..9536cca 100644
--- a/site/src/site/apt/guide/advanced/generate-project.apt
+++ b/site/src/site/apt/guide/advanced/generate-project.apt
@@ -69,7 +69,7 @@
<<<mvn install>>>
The <<<mvn install>>> command typically puts artifacts (installs them) into the repository here,
- <<<C:\\Documents and Settings\\[user_home]\\.m2\\repository>>>.
+ <<<C:\\Users\\[username]\\.m2\\repository>>>.
The sample project contains NUnit tests. If the build fails on <<<nunit-console>>>, make sure you have NUnit 2.2+
installed and located in the PATH.
diff --git a/site/src/site/apt/guide/advanced/releasing.apt b/site/src/site/apt/guide/advanced/releasing.apt
index 1f0c832..b46a936 100644
--- a/site/src/site/apt/guide/advanced/releasing.apt
+++ b/site/src/site/apt/guide/advanced/releasing.apt
@@ -55,7 +55,7 @@
<<<C:\\WINDOWS\\Temp\\NPanday>>> then renamed following the artifact filename format <<<[artifactId]-[version].[packaging]>>>.
After the reference is renamed, it will then be installed in the local repository
- <<<C:\\Documents and Settings\\[user_home]\\.m2\\repository>>> for it to be used when releasing the project.
+ <<<C:\\Users\\[username]\\.m2\\repository>>> for it to be used when releasing the project.
The following are examples of references of different types which are renamed then installed in the local repository,
@@ -84,4 +84,4 @@
This will also deploy the built artifacts to an artifact repository. See
{{{../devinfra/artifact-repository.html} Setting up an Artifact Repository}} for information on how to do this and
- to configure the POM's <<<distributionManagement>>> section accordingly.
\ No newline at end of file
+ to configure the POM's <<<distributionManagement>>> section accordingly.
diff --git a/site/src/site/apt/guide/installation/index.apt.vm b/site/src/site/apt/guide/installation/index.apt.vm
index 36a1322..9d233ba 100644
--- a/site/src/site/apt/guide/installation/index.apt.vm
+++ b/site/src/site/apt/guide/installation/index.apt.vm
@@ -144,8 +144,8 @@
[../../images/vs/installer/screen5.jpg]
After running the installer the add-in will be located here:
- <<<C:\\Documents and Settings\\[user_home]\\My Documents\\Visual Studio 2005\\Addins\\NPanday.VisualStudio.AddIn>>>
- (or equivalent for Visual Studio 2008 or equivalent for Visual Studio 2010).
+ <<<C:\\Users\\[username]\\My Documents\\Visual Studio 2005\\Addins\\NPanday.VisualStudio.AddIn>>>
+ (or equivalent for other versions of Visual Studio).
You can verify that the Maven plugins are also installed correctly by following the same steps as shown in the previous section.
diff --git a/site/src/site/apt/guide/installation/uninstall.apt b/site/src/site/apt/guide/installation/uninstall.apt
index 50df7e8..679cf43 100644
--- a/site/src/site/apt/guide/installation/uninstall.apt
+++ b/site/src/site/apt/guide/installation/uninstall.apt
@@ -47,12 +47,8 @@
[]
- [[4]] Remove the following file <<<C:\\Documents and Settings\\[user_home]\\.m2\\npanday-settings.xml>>>
+ [[4]] Remove the following file <<<C:\\Users\\[username]\\.m2\\npanday-settings.xml>>>
- [[5]] Remove the following file <<<C:\\Documents and Settings\\[user_home]\\.m2\\repository\\npanday.artifacts.resolved>>>
-
- [[6]] Remove the following directory <<<C:\\Documents and Settings\\[user_home]\\.npanday>>>
-
[]
An alternative to step 3 is to run the following commands from the command prompt as an administrator:
@@ -68,13 +64,15 @@
following additional steps:
[[1]] Locate and delete your previous version of the NPanday .NET Build Tool for Visual Studio.
- It is typically found at the following location, where [user_home] is your home directory:
+ It is typically found at the following location, where [username] is
+ replaced with the local username.
- <<<C:\\Documents and Settings\\[user_home]\\My Documents\\Visual Studio 2005\\Addins\\NPanday.VisualStudio.AddIn>>>
+ <<<C:\\Users\\[username]\\My Documents\\Visual Studio 2005\\Addins\\NPanday.VisualStudio.AddIn>>>
- Also delete the Addin-file in corresponding folders for Visual Studio 2008 and 2010.
+ Also delete the Addin-file in corresponding folders for other versions of
+ Visual Studio.
- [[2]] Remove the <<<C:\\Documents and Settings\\[user_home]\\.m2\\repository\npanday>>> directory
+ [[2]] Remove the <<<C:\\Users\\[username]\\.m2\\repository\\org\\apache\\npanday>>> directory
[]
diff --git a/site/src/site/apt/guide/vs/configureRepository.apt b/site/src/site/apt/guide/vs/configureRepository.apt
index a34a7db..74ee039 100644
--- a/site/src/site/apt/guide/vs/configureRepository.apt
+++ b/site/src/site/apt/guide/vs/configureRepository.apt
@@ -41,7 +41,7 @@
appropriate box.
[[5]] Click Update. This will save the configuration to
- <<<C:\\Documents and Settings\\[user_home]\\.m2\\settings.xml>>>. To edit multiple repositories, repeat
+ <<<C:\\Users\\[username]\\.m2\\settings.xml>>>. To edit multiple repositories, repeat
steps 3 to 5 by selecting another repository to be configured form the drop down list.
[[6]] Click Close when done configuring the repository.
@@ -56,7 +56,7 @@
* Manually Configure a Remote Maven Repository
To manually add a remote repository, add the following lines in your
- <<<C:\\Documents and Settings\\[user_home]\\.m2\\settings.xml>>> file within the <<< \<profiles\> >>>
+ <<<C:\\Users\\[username]\\.m2\\settings.xml>>> file within the <<< \<profiles\> >>>
<<< \</profiles\> >>> tag. Modify the values for the <<< \<repository\> >>> and <<< \<id\> >>>elements
with the repository url you want to access.
diff --git a/site/src/site/apt/guide/vs/executeGoals.apt b/site/src/site/apt/guide/vs/executeGoals.apt
index 87c809f..7df72f1 100644
--- a/site/src/site/apt/guide/vs/executeGoals.apt
+++ b/site/src/site/apt/guide/vs/executeGoals.apt
@@ -90,9 +90,9 @@
You can scroll up and down in the output window to display all the text.
Next, verify the artifacts were placed into the local repository under the following path:
- <<<C:\\Documents and Settings\\[user_home]\\.m2\\repository\\groupId\\artifactId>>>
+ <<<C:\\Users\\[username]\\.m2\\repository\\groupId\\artifactId>>>
- Finally, verify that <<<C:\\Documents and Settings\\[user_home]\\.m2\\npanday-settings.xml>>> is also created.
+ Finally, verify that <<<C:\\Users\\[username]\\.m2\\npanday-settings.xml>>> is also created.
The contents of npanday-settings.xml looks similar to the following:
@@ -199,4 +199,4 @@
* Summary
- Continue on to {{{./assemblyKey.html} Setting Assembly Keys}}, or return to the {{{./index.html} index}}.
\ No newline at end of file
+ Continue on to {{{./assemblyKey.html} Setting Assembly Keys}}, or return to the {{{./index.html} index}}.