]> source.dussan.org Git - archiva.git/commitdiff
[MRM-688] s/APP_BASE/ARCHIVA_BASE/
authorBrett Porter <brett@apache.org>
Mon, 31 Mar 2008 05:05:49 +0000 (05:05 +0000)
committerBrett Porter <brett@apache.org>
Mon, 31 Mar 2008 05:05:49 +0000 (05:05 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@642876 13f79535-47bb-0310-9956-ffa450edef68

archiva-docs/src/site/apt/adminguide/standalone.apt
archiva-jetty/pom.xml

index c506b01f8e000715c28c49216cc947658d505980..0807e39156f6f684bc35cecd2cf174fddb43e813 100644 (file)
@@ -50,7 +50,7 @@ Installing Standalone Distribution of Apache Archiva
 
    [[2]] Copy the configuration files from the Archiva installation (eg <<</opt/archiva-1.0/conf>>> to the new location (eg. <<</var/archiva/conf>>>). If you've previously run Archiva, you may need to edit <<<conf/archiva.xml>>> to change the location of the repositories
 
-   [[3]] Set the environment variable <<<APP_BASE>>> to the data location (eg. <<</var/archiva>>>). In bash, be sure to export the variable.
+   [[3]] Set the environment variable <<<ARCHIVA_BASE>>> to the data location (eg. <<</var/archiva>>>). In bash, be sure to export the variable.
 
    [[4]] Start Archiva standalone as described above from the installation location
 
@@ -60,7 +60,7 @@ Installing Standalone Distribution of Apache Archiva
 
     * <<<~/.m2/archiva.xml>>>
 
-    * <<<$APP_BASE/conf/archiva.xml>>>
+    * <<<$ARCHIVA_BASE/conf/archiva.xml>>>
 
     * <<<conf/archiva.xml>>> in the Archiva installation
 
@@ -68,7 +68,7 @@ Installing Standalone Distribution of Apache Archiva
 
     * If <<<~/.m2/archiva.xml>>> exists, it is saved there
 
-    * Otherwise, it is saved to <<<$APP_BASE/conf/archiva.xml>>>, regardless of whether it previously existed.
+    * Otherwise, it is saved to <<<$ARCHIVA_BASE/conf/archiva.xml>>>, regardless of whether it previously existed.
 
   The configuration will never be saved in the Archiva installation directory if you are using a separate base directory.
 
index 3221483738800553e2f66ac95669a04ac3389d31..04220dc75c30d6f5eba4a09df3b8d34b2493fa37 100644 (file)
                     </property>
                     <property>
                       <name>wrapper.logfile</name>
-                      <value>%APP_BASE%/logs/wrapper.log</value>
+                      <value>%ARCHIVA_BASE%/logs/wrapper.log</value>
                     </property>
                     <property>
                       <name>wrapper.app.parameter.2</name>
-                      <value>%APP_BASE%/conf/jetty.xml</value>
+                      <value>%ARCHIVA_BASE%/conf/jetty.xml</value>
                     </property>
                     <property>
                       <name>wrapper.app.parameter.3</name>
-                      <value>%APP_BASE%/conf/jetty-logging.xml</value>
+                      <value>%ARCHIVA_BASE%/conf/jetty-logging.xml</value>
+                    </property>
+                    <property>
+                      <name>app.base.envvar</name>
+                      <value>ARCHIVA_BASE</value>
                     </property>
                   </configuration>
                 </generatorConfiguration>
               <jvmSettings>
                 <systemProperties>
                   <systemProperty>appserver.home=.</systemProperty>
-                  <systemProperty>appserver.base=%APP_BASE%</systemProperty>
-                  <!-- can't set this at present, it moves the databases if APP_BASE is not set
-                  <systemProperty>derby.system.home=%APP_BASE%/logs</systemProperty>
+                  <systemProperty>appserver.base=%ARCHIVA_BASE%</systemProperty>
+                  <!-- can't set this at present, it moves the databases if ARCHIVA_BASE is not set
+                  <systemProperty>derby.system.home=%ARCHIVA_BASE%/logs</systemProperty>
                   -->
-                  <systemProperty>jetty.logs=%APP_BASE%/logs</systemProperty>
+                  <systemProperty>jetty.logs=%ARCHIVA_BASE%/logs</systemProperty>
                 </systemProperties>
               </jvmSettings> 
             </daemon>