Author: manaRH
Date: 2009-04-16 09:46:59 -0400 (Thu, 16 Apr 2009)
New Revision: 10432
Modified:
branches/enterprise/JBPAPP_4_3_FP01/seam-gen/build-scripts/build-war.xml
branches/enterprise/JBPAPP_4_3_FP01/seam-gen/build-scripts/build.properties
branches/enterprise/JBPAPP_4_3_FP01/seam-gen/build-scripts/build.xml
branches/enterprise/JBPAPP_4_3_FP01/seam-gen/build.xml
Log:
enhanced switching of server profile through command line. Added server.profile property
for this purposes.
Modified: branches/enterprise/JBPAPP_4_3_FP01/seam-gen/build-scripts/build-war.xml
===================================================================
--- branches/enterprise/JBPAPP_4_3_FP01/seam-gen/build-scripts/build-war.xml 2009-04-15
22:34:24 UTC (rev 10431)
+++ branches/enterprise/JBPAPP_4_3_FP01/seam-gen/build-scripts/build-war.xml 2009-04-16
13:46:59 UTC (rev 10432)
@@ -21,7 +21,7 @@
<property name="classes.action.dir"
value="${war.dir}/${action.dir}" />
<property name="test.dir" value="test-build" />
<property name="bootstrap.dir" value="${basedir}/bootstrap"
/>
- <property name="deploy.dir"
value="${jboss.home}/server/${server-profile}/deploy" />
+ <property name="deploy.dir"
value="${jboss.home}/server/${server.profile}/deploy" />
<property name="war.deploy.dir"
value="${deploy.dir}/${project.name}.war" />
<property name="testng.jar" value="${basedir}/lib/testng.jar"
/>
<property name="javac.debug" value="true" />
Modified: branches/enterprise/JBPAPP_4_3_FP01/seam-gen/build-scripts/build.properties
===================================================================
--- branches/enterprise/JBPAPP_4_3_FP01/seam-gen/build-scripts/build.properties 2009-04-15
22:34:24 UTC (rev 10431)
+++ branches/enterprise/JBPAPP_4_3_FP01/seam-gen/build-scripts/build.properties 2009-04-16
13:46:59 UTC (rev 10432)
@@ -1,2 +1,2 @@
jboss.home =@jbossHome@
-server-profile=default
\ No newline at end of file
+server.profile=production
\ No newline at end of file
Modified: branches/enterprise/JBPAPP_4_3_FP01/seam-gen/build-scripts/build.xml
===================================================================
--- branches/enterprise/JBPAPP_4_3_FP01/seam-gen/build-scripts/build.xml 2009-04-15
22:34:24 UTC (rev 10431)
+++ branches/enterprise/JBPAPP_4_3_FP01/seam-gen/build-scripts/build.xml 2009-04-16
13:46:59 UTC (rev 10432)
@@ -20,7 +20,7 @@
<property name="war.dir"
value="exploded-archives/${project.name}.war" />
<property name="test.dir" value="test-build" />
<property name="bootstrap.dir"
value="${basedir}/bootstrap" />
- <property name="deploy.dir"
value="${jboss.home}/server/${server-profile}/deploy" />
+ <property name="deploy.dir"
value="${jboss.home}/server/${server.profile}/deploy" />
<property name="ear.deploy.dir"
value="${deploy.dir}/${project.name}.ear" />
<property name="jar.deploy.dir"
value="${ear.deploy.dir}/${project.name}.jar" />
<property name="war.deploy.dir"
value="${ear.deploy.dir}/${project.name}.war" />
Modified: branches/enterprise/JBPAPP_4_3_FP01/seam-gen/build.xml
===================================================================
--- branches/enterprise/JBPAPP_4_3_FP01/seam-gen/build.xml 2009-04-15 22:34:24 UTC (rev
10431)
+++ branches/enterprise/JBPAPP_4_3_FP01/seam-gen/build.xml 2009-04-16 13:46:59 UTC (rev
10432)
@@ -3,9 +3,6 @@
<project name="seam-gen" default="help" basedir="."
xmlns:artifact="urn:maven-artifact-ant">
<!-- Build resources -->
<property name="seam.dir" value="${ant.file.seam-gen}/../../"
/>
- <property name="server-profile" value="production" />
-
- <echo message="used server profile -> ${server-profile}" />
<!-- Order is important -->
<property file="./build.properties" />
@@ -425,7 +422,7 @@
</propertyfile>
<echo message="Installing JDBC driver jar to JBoss server"/>
- <copy file="${driver.jar.new}"
todir="${jboss.home.new}/server/${server-profile}/lib"/>
+ <copy file="${driver.jar.new}"
todir="${jboss.home.new}/server/${server.profile}/lib"/>
<echo message="Type 'seam create-project' to create the new
project"/>
</target>
Show replies by date