[overlord-commits] Overlord SVN: r437 - in cdl/trunk/samples/jbossesb/trailblazer: client and 1 other directory.

overlord-commits at lists.jboss.org overlord-commits at lists.jboss.org
Wed Nov 12 13:12:12 EST 2008


Author: jeff.yuchang
Date: 2008-11-12 13:12:11 -0500 (Wed, 12 Nov 2008)
New Revision: 437

Added:
   cdl/trunk/samples/jbossesb/trailblazer/client/java-files/
Modified:
   cdl/trunk/samples/jbossesb/trailblazer/build.xml
Log:
* Add another ant target 'ant deploy-error-client'. Might need to find a better name though.



Modified: cdl/trunk/samples/jbossesb/trailblazer/build.xml
===================================================================
--- cdl/trunk/samples/jbossesb/trailblazer/build.xml	2008-11-12 15:57:50 UTC (rev 436)
+++ cdl/trunk/samples/jbossesb/trailblazer/build.xml	2008-11-12 18:12:11 UTC (rev 437)
@@ -160,7 +160,6 @@
     	<target name="client.compile" 
 		depends="trailblazer.prepare"
 		description="Compiling Trailblazer client classes">
-
 		<javac	destdir="${esb.samples.trailblazer.client.classes.dir}"
             		classpathref="esb.samples.trailblazer.esb.classpath.client" debug="true">
 	    		<src path="${esb.samples.trailblazer.client.src.dir}"/>
@@ -216,15 +215,25 @@
 			</fileset>
 		</war>
 	</target>
-
+	
+	<target name="deploy">
+           <copy file="${basedir}/client/java-files/SuccessfulLoanBroker.java" tofile="${basedir}/client/src/org/jboss/soa/esb/samples/trailblazer/loanbroker/LoanBroker.java" overwrite="true"/>
+           <antcall target="common-deploy" />
+        </target>
+	
+        <target name="deploy-error-client">
+           <echo message="update the error client file" />
+           <copy file="${basedir}/client/java-files/FailedLoanBroker.java" tofile="${basedir}/client/src/org/jboss/soa/esb/samples/trailblazer/loanbroker/LoanBroker.java" overwrite="true"/>
+           <antcall target="common-deploy" />          
+        </target>
 	
-	<target name="deploy" depends="jar, war">
+	<target name="common-deploy" depends="jar, war">
 	        <echo message="Deploying Trailblazer EAR and WAR files to target server '${target-server}'."/>
         	<copy todir="${target-server}/deploy">
             	<fileset dir="${esb.dest}/dist/" includes="trailblazer.esb" />
             	<fileset dir="${esb.samples.trailblazer.client.dest}/dist/" includes="trailblazer.war" />
         	</copy>
-	</target>
+	</target>        
         
         <target name="undeploy">
                 <delete file="${target-server}/deploy/trailblazer.esb" />




More information about the overlord-commits mailing list