Author: thomas.heute(a)jboss.com
Date: 2009-11-18 04:53:05 -0500 (Wed, 18 Nov 2009)
New Revision: 636
Modified:
portal/trunk/README.txt
portal/trunk/pom.xml
Log:
Don't force someone who would build GateIn Portal to have a particular directory
structure
Modified: portal/trunk/README.txt
===================================================================
--- portal/trunk/README.txt 2009-11-18 09:24:26 UTC (rev 635)
+++ portal/trunk/README.txt 2009-11-18 09:53:05 UTC (rev 636)
@@ -1,4 +1,4 @@
-Welcome to gatein codebase:
+Welcome to GateIn:
===========================
This will explain you how to build a package of GateIn with Tomcat or JBoss.
@@ -7,7 +7,8 @@
* COMPILATION
*****************
-* mvn install
+* mvn install -Dexo.projects.directory.src=//Full Path to the the root of gatein portal
+For example: mvn install -Dexo.projects.directory.src=$PWD on Linux
**********************
* MAVEN CONFIGURATION:
@@ -27,11 +28,11 @@
* PACKAGING:
*****************
-* mvn install -Ppkg-tomcat
+* mvn install -Ppkg-tomcat -Dexo.projects.directory.src=//Full Path to the the root of
gatein portal
** Creates a Tomcat delivery in packaging/pkg/target/tomcat/
** Creates compressed archives in packaging/pkg/target/target
-* mvn install -Ppkg-jbossas
+* mvn install -Ppkg-jbossas -Dexo.projects.directory.src=//Full Path to the the root of
gatein portal
** Creates a JBossAS delivery in packaging/pkg/target/jboss/
** Creates compressed archives in packaging/pkg/target/target
Modified: portal/trunk/pom.xml
===================================================================
--- portal/trunk/pom.xml 2009-11-18 09:24:26 UTC (rev 635)
+++ portal/trunk/pom.xml 2009-11-18 09:53:05 UTC (rev 636)
@@ -128,7 +128,7 @@
<systemProperties>
<property>
<name>mock.portal.dir</name>
-
<value>${exo.projects.directory.src}/gatein/portal/trunk/web/portal/src/main/webapp</value>
+
<value>${exo.projects.directory.src}/web/portal/src/main/webapp</value>
</property>
<property>
<name>org.apache.commons.logging.Log</name>
@@ -173,9 +173,9 @@
</requireProperty>
<requireFilesExist>
<files>
-
<file>${exo.projects.directory.src}/gatein/portal/trunk/web/portal/src/main/webapp</file>
+
<file>${exo.projects.directory.src}/web/portal/src/main/webapp</file>
</files>
- <message>"The following directory doesn't exist
:
${exo.projects.directory.src}/gatein/portal/trunk/web/portal/src/main/webapp"</message>
+ <message>"The following directory doesn't exist
: ${exo.projects.directory.src}/web/portal/src/main/webapp"</message>
</requireFilesExist>
</rules>
<fail>true</fail>
Show replies by date