You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@archiva.apache.org by br...@apache.org on 2008/03/31 07:06:07 UTC

svn commit: r642876 - in /archiva/trunk: archiva-docs/src/site/apt/adminguide/standalone.apt archiva-jetty/pom.xml

Author: brett
Date: Sun Mar 30 22:05:49 2008
New Revision: 642876

URL: http://svn.apache.org/viewvc?rev=642876&view=rev
Log:
[MRM-688] s/APP_BASE/ARCHIVA_BASE/

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

Modified: archiva/trunk/archiva-docs/src/site/apt/adminguide/standalone.apt
URL: http://svn.apache.org/viewvc/archiva/trunk/archiva-docs/src/site/apt/adminguide/standalone.apt?rev=642876&r1=642875&r2=642876&view=diff
==============================================================================
--- archiva/trunk/archiva-docs/src/site/apt/adminguide/standalone.apt (original)
+++ archiva/trunk/archiva-docs/src/site/apt/adminguide/standalone.apt Sun Mar 30 22:05:49 2008
@@ -50,7 +50,7 @@
 
    [[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 @@
 
     * <<<~/.m2/archiva.xml>>>
 
-    * <<<$APP_BASE/conf/archiva.xml>>>
+    * <<<$ARCHIVA_BASE/conf/archiva.xml>>>
 
     * <<<conf/archiva.xml>>> in the Archiva installation
 
@@ -68,7 +68,7 @@
 
     * 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.
 

Modified: archiva/trunk/archiva-jetty/pom.xml
URL: http://svn.apache.org/viewvc/archiva/trunk/archiva-jetty/pom.xml?rev=642876&r1=642875&r2=642876&view=diff
==============================================================================
--- archiva/trunk/archiva-jetty/pom.xml (original)
+++ archiva/trunk/archiva-jetty/pom.xml Sun Mar 30 22:05:49 2008
@@ -172,15 +172,19 @@
                     </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>
@@ -188,11 +192,11 @@
               <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>