Author: manaRH
Date: 2012-09-17 10:27:15 -0400 (Mon, 17 Sep 2012)
New Revision: 15148

Modified:
   branches/community/Seam_2_3/jboss-seam-gen/dist/build-scripts/build-war.xml
   branches/community/Seam_2_3/jboss-seam-gen/dist/build-scripts/build.xml
Log:
fixed restart command if deployment exists

Modified: 
branches/community/Seam_2_3/jboss-seam-gen/dist/build-scripts/build-war.xml
===================================================================
--- branches/community/Seam_2_3/jboss-seam-gen/dist/build-scripts/build-war.xml 
2012-09-17 08:48:22 UTC (rev 15147)
+++ branches/community/Seam_2_3/jboss-seam-gen/dist/build-scripts/build-war.xml 
2012-09-17 14:27:15 UTC (rev 15148)
@@ -311,8 +311,7 @@
     <target name="check-deployed" description="Check to see if packaged 
archive is currently deployed">
         <fail unless="jboss.home">jboss.home not set</fail>
         <condition property="archive.deployed" value="true">
-            <available file="${deploy.dir}/${project.name}.war.deployed" 
type="file"/>
-            <!-- <available file="${war.deploy.dir}" type="file"/> -->
+            <available file="${war.deploy.dir}" type="file"/>
         </condition>
     </target>
 

Modified: 
branches/community/Seam_2_3/jboss-seam-gen/dist/build-scripts/build.xml
===================================================================
--- branches/community/Seam_2_3/jboss-seam-gen/dist/build-scripts/build.xml     
2012-09-17 08:48:22 UTC (rev 15147)
+++ branches/community/Seam_2_3/jboss-seam-gen/dist/build-scripts/build.xml     
2012-09-17 14:27:15 UTC (rev 15148)
@@ -335,8 +335,7 @@
        <target name="check-deployed" description="Check to see if packaged 
archive is currently deployed">
                <fail unless="jboss.home">jboss.home not set</fail>
                <condition property="archive.deployed" value="true">
-                       <available 
file="${deploy.dir}/${project.name}.ear.deployed" type="file"/>
-                       <!--<available file="${ear.deploy.dir}" type="file"/> 
-->
+                       <available file="${ear.deploy.dir}" type="file"/>
                </condition>
        </target>
 

_______________________________________________
seam-commits mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/seam-commits

Reply via email to