You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ha...@apache.org on 2007/02/04 20:28:52 UTC

svn commit: r503456 - in /maven/sandbox/enterprise: README.txt enterprise-runtime/develop.properties enterprise-runtime/install.properties enterprise-runtime/pom.xml

Author: handyande
Date: Sun Feb  4 11:28:51 2007
New Revision: 503456

URL: http://svn.apache.org/viewvc?view=rev&rev=503456
Log:
Setup filtering in a 2.0.x / 2.1 neutral way

Added:
    maven/sandbox/enterprise/enterprise-runtime/develop.properties
    maven/sandbox/enterprise/enterprise-runtime/install.properties
Modified:
    maven/sandbox/enterprise/README.txt
    maven/sandbox/enterprise/enterprise-runtime/pom.xml

Modified: maven/sandbox/enterprise/README.txt
URL: http://svn.apache.org/viewvc/maven/sandbox/enterprise/README.txt?view=diff&rev=503456&r1=503455&r2=503456
==============================================================================
--- maven/sandbox/enterprise/README.txt (original)
+++ maven/sandbox/enterprise/README.txt Sun Feb  4 11:28:51 2007
@@ -11,3 +11,10 @@
 
 ./enterprise-runtime/target/plexus-app-runtime/bin/plexus.sh
 
+to configure the system for a production install:
+
+mvn install -Pinstall (from this directory)
+
+and copy enterprise-runtime/target/plexus-app-runtime to your preferred
+installation location.
+

Added: maven/sandbox/enterprise/enterprise-runtime/develop.properties
URL: http://svn.apache.org/viewvc/maven/sandbox/enterprise/enterprise-runtime/develop.properties?view=auto&rev=503456
==============================================================================
--- maven/sandbox/enterprise/enterprise-runtime/develop.properties (added)
+++ maven/sandbox/enterprise/enterprise-runtime/develop.properties Sun Feb  4 11:28:51 2007
@@ -0,0 +1 @@
+enterprise.dataDir=${plexus.home}/data

Added: maven/sandbox/enterprise/enterprise-runtime/install.properties
URL: http://svn.apache.org/viewvc/maven/sandbox/enterprise/enterprise-runtime/install.properties?view=auto&rev=503456
==============================================================================
--- maven/sandbox/enterprise/enterprise-runtime/install.properties (added)
+++ maven/sandbox/enterprise/enterprise-runtime/install.properties Sun Feb  4 11:28:51 2007
@@ -0,0 +1 @@
+enterprise.dataDir=${user.home}/.enterprise

Modified: maven/sandbox/enterprise/enterprise-runtime/pom.xml
URL: http://svn.apache.org/viewvc/maven/sandbox/enterprise/enterprise-runtime/pom.xml?view=diff&rev=503456&r1=503455&r2=503456
==============================================================================
--- maven/sandbox/enterprise/enterprise-runtime/pom.xml (original)
+++ maven/sandbox/enterprise/enterprise-runtime/pom.xml Sun Feb  4 11:28:51 2007
@@ -151,27 +151,20 @@
         </includes>
       </resource>
     </resources>
+    <filters>
+      <filter>develop.properties</filter>
+    </filters>
   </build>
 
   <profiles>
     <profile>
-      <activation>
-        <property><name>!enterprise.dataDir</name></property>
-      </activation>
+      <id>install</id>
 
-      <properties>
-        <enterprise.dataDir>${plexus.home}/data</enterprise.dataDir>
-      </properties>
-    </profile>
-
-    <profile>
-      <activation>
-        <property><name>enterprise.install</name></property>
-      </activation>
-
-      <properties>
-        <enterprise.dataDir>${user.home}/.enterprise</enterprise.dataDir>
-      </properties>
+      <build>
+        <filters>
+          <filter>install.properties</filter>
+        </filters>
+      </build>
     </profile>
   </profiles>
 </project>