continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jvan...@apache.org
Subject svn commit: r219602 - in /maven/continuum/trunk/continuum-plexus-application: app.properties build.sh pom.xml
Date Tue, 19 Jul 2005 02:39:04 GMT
Author: jvanzyl
Date: Mon Jul 18 19:38:43 2005
New Revision: 219602

URL: http://svn.apache.org/viewcvs?rev=219602&view=rev
Log:
o using profile and the build.sh script now activates the test profile

Modified:
    maven/continuum/trunk/continuum-plexus-application/app.properties
    maven/continuum/trunk/continuum-plexus-application/build.sh
    maven/continuum/trunk/continuum-plexus-application/pom.xml

Modified: maven/continuum/trunk/continuum-plexus-application/app.properties
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-plexus-application/app.properties?rev=219602&r1=219601&r2=219602&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-plexus-application/app.properties (original)
+++ maven/continuum/trunk/continuum-plexus-application/app.properties Mon Jul 18 19:38:43
2005
@@ -15,26 +15,13 @@
 # Continuum
 mail.override.from.name=
 
-# We need different profiles here
-
-# ----------------------------------------------------------
-# Development properties
-# ----------------------------------------------------------
-
-localization.directory=${plexus.home}/../../../../../continuum-web/src/main/resources/localization
-velocity.templates.directory=${plexus.home}/../../../../../continuum-web/src/main/resources/templates
-velocimacro.reload = true
-velocity.resource.caching = false
-forms.directory=${plexus.home}/../../../../../continuum-web/src/main/resources/forms
-jetty.port=8080
-
 # ----------------------------------------------------------
 # Production properties
 # ----------------------------------------------------------
 
-#localization.directory=${plexus.home}/webapp/localization
-#velocity.templates.directory=${plexus.home}/webapp/templates
-#velocimacro.reload = false
-#velocity.resource.caching = true
-#forms.directory=${plexus.home}/webapp/forms
-#jetty.port=8080
+localization.directory=${plexus.home}/webapp/localization
+velocity.templates.directory=${plexus.home}/webapp/templates
+velocimacro.reload = false
+velocity.resource.caching = true
+forms.directory=${plexus.home}/webapp/forms
+jetty.port=8080

Modified: maven/continuum/trunk/continuum-plexus-application/build.sh
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-plexus-application/build.sh?rev=219602&r1=219601&r2=219602&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-plexus-application/build.sh (original)
+++ maven/continuum/trunk/continuum-plexus-application/build.sh Mon Jul 18 19:38:43 2005
@@ -1 +1 @@
-m2 clean:clean install
+m2 -Denv=test clean:clean install

Modified: maven/continuum/trunk/continuum-plexus-application/pom.xml
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-plexus-application/pom.xml?rev=219602&r1=219601&r2=219602&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-plexus-application/pom.xml (original)
+++ maven/continuum/trunk/continuum-plexus-application/pom.xml Mon Jul 18 19:38:43 2005
@@ -162,26 +162,26 @@
   <profiles>
     <profile>
       <id>env-test</id>
-      <activator>
+      <activation>
         <property>
           <name>env</name>
           <value>test</value>
         </property>
-      </activator>
+      </activation>
       <properties>
         <appProperties>test.properties</appProperties>
       </properties>
     </profile>
     <profile>
       <id>env-production</id>
-      <activator>
+      <activation>
         <property>
           <name>env</name>
           <value>production</value>
         </property>
-      </activator>
+      </activation>
       <properties>
-        <appProperties>test.properties</appProperties>
+        <appProperties>app.properties</appProperties>
       </properties>
     </profile>
   </profiles>



Mime
View raw message