Author: ips
Date: 2008-11-13 10:37:09 -0500 (Thu, 13 Nov 2008)
New Revision: 45
Modified:
trunk/jbas4/pom.xml
trunk/jbas5/pom.xml
Log:
fix so, with the dev profile active, jboss-as plugins get copied under target as well as
to the dev deploy location; got AS5 hot redeploy of war dir in dev profile working via
temporary workaround (see
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4188979#...)
Modified: trunk/jbas4/pom.xml
===================================================================
--- trunk/jbas4/pom.xml 2008-11-13 15:33:11 UTC (rev 44)
+++ trunk/jbas4/pom.xml 2008-11-13 15:37:09 UTC (rev 45)
@@ -147,7 +147,7 @@
<id>dev</id>
<properties>
-
<warDir>${jbas4.configDir}/deploy/${project.build.finalName}.war</warDir>
+
<warDeployDir>${jbas4.configDir}/deploy/${project.build.finalName}.war</warDeployDir>
</properties>
<build>
@@ -163,7 +163,7 @@
<phase>package</phase>
<configuration>
<tasks>
- <property name="deployment.dir"
location="${warDir}" />
+ <property name="deployment.dir"
location="${warDeployDir}" />
<echo>*** Copying updated files from
target${file.separator}${project.build.finalName} to
<warDir>...</echo>
<touch
file="${basedir}/target/${project.build.finalName}/WEB-INF/classes/messages.properties"
/>
<copy todir="${deployment.dir}"
verbose="${embedded.verbose}">
@@ -174,6 +174,8 @@
<include name="META-INF/**" />
</patternset>
</unjar>
+ <echo>*** Touching
<warDir>/WEB-INF/web.xml to force redeploy...</echo>
+ <touch file="${deployment.dir}/WEB-INF/web.xml"
/>
</tasks>
</configuration>
<goals>
Modified: trunk/jbas5/pom.xml
===================================================================
--- trunk/jbas5/pom.xml 2008-11-13 15:33:11 UTC (rev 44)
+++ trunk/jbas5/pom.xml 2008-11-13 15:37:09 UTC (rev 45)
@@ -158,7 +158,7 @@
<id>dev</id>
<properties>
-
<warDir>${jbas5.configDir}/deploy/${project.build.finalName}.war</warDir>
+
<warDeployDir>${jbas5.configDir}/deploy/${project.build.finalName}.war</warDeployDir>
</properties>
<build>
@@ -174,7 +174,7 @@
<phase>package</phase>
<configuration>
<tasks>
- <property name="deployment.dir"
location="${warDir}" />
+ <property name="deployment.dir"
location="${warDeployDir}" />
<echo>*** Copying updated files from
target${file.separator}${project.build.finalName} to
<warDir>...</echo>
<touch
file="${basedir}/target/${project.build.finalName}/WEB-INF/classes/messages.properties"
/>
<copy todir="${deployment.dir}"
verbose="${embedded.verbose}">
@@ -185,6 +185,13 @@
<include name="META-INF/**" />
</patternset>
</unjar>
+ <!--
+ <echo>*** Touching
<warDir>/WEB-INF/web.xml to force redeploy...</echo>
+ <touch file="${deployment.dir}/WEB-INF/web.xml"
/>
+ -->
+ <echo>*** Deleting then touching
<warDir>/redeploy-trigger.txt to force redeploy...</echo>
+ <delete
file="${deployment.dir}/redeploy-trigger.txt" />
+ <touch
file="${deployment.dir}/redeploy-trigger.txt" />
</tasks>
</configuration>
<goals>