Author: pete.muir(a)jboss.org
Date: 2010-04-20 14:39:00 -0400 (Tue, 20 Apr 2010)
New Revision: 6128
Modified:
examples/trunk/build.xml
Log:
restore properties
Modified: examples/trunk/build.xml
===================================================================
--- examples/trunk/build.xml 2010-04-20 17:58:13 UTC (rev 6127)
+++ examples/trunk/build.xml 2010-04-20 18:39:00 UTC (rev 6128)
@@ -27,6 +27,14 @@
<condition property="artifact.target.dir"
value="${basedir}/ear/target">
<equals arg1="${type}" arg2="ear" />
</condition>
+ <condition property="war">
+ <equals arg1="${type}" arg2="war" />
+ </condition>
+ <condition property="ear">
+ <equals arg1="${type}" arg2="ear" />
+ </condition>
+
+
<property name="ds.file"
location="${basedir}/${example.name}-ds.xml" />
@@ -109,7 +117,6 @@
</target>
<target name="restart.war" depends="explode"
if="war">
- <touch file="${jboss.home}/server/default/deploy/${example.name}.war"
/>
<touch
file="${jboss.home}/server/default/deploy/${example.name}.war/WEB-INF/web.xml"
/>
</target>