Skip to main content

Source code Changes To

soatestingutilities / ConsolidatedTestEnv / basic-service-test.with.reference.proxy.xml

From revision 107 to 108:

--- basic-service-test.with.reference.proxy.xml	(revision 107)
+++ basic-service-test.with.reference.proxy.xml	(revision 108)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="US-ASCII" ?>
-<project name="soa.testing.snippets" default="help" basedir=".">
+<project name="soa.testing.snippets.reference.patch" default="help" basedir=".">
 
   <!--property name="windows.browser.location" value="C:\Program Files (x86)\Mozilla Firefox\firefox.exe"/-->
   <!--property name="windows.browser.location" value="C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"/-->
@@ -334,7 +334,6 @@
     <antcall target="package.composite"/>
     <echo>
       ==========================
-       Step One
        Deploying Composite CompositeWithExternalReferences,
        with patched Config Plan
       ==========================
@@ -377,6 +376,13 @@
       <property name="revision" value="1.0"/>
     </ant>
   </target>
+  
+  <target name="patch.and.deploy">
+    <echo message=">> Step 2. Patching delpoyment plan, deploying composite with faked references"/>
+    <!-- Patch deployment plan? -->
+    <antcall target="package.composite"/>
+    <antcall target="deploy.composite"/>
+  </target>
 
   <target name="with.bypassed.references">
     <property name="proxy.port" value="7101"/>
@@ -389,10 +395,7 @@
       <arg line="-prop-file   ${proxy.properties}"/>
       <arg line="-debug-level 0"/>
     </java>
-    <echo message=">> Step 2. Patching delpoyment plan, deploying composite with faked references"/>
-    <!-- Patch deployment plan? -->
-    <antcall target="package.composite"/>
-    <antcall target="deploy.composite"/>
+    <antcall target="patch.and.deploy"/>
     <echo message=">> Step 3. Service test, with faked references"/>
     <antcall target="unit.test.synchronous"/>
     <echo message=">> Step 4. Stopping Proxy"/>
@@ -420,6 +423,8 @@
     Proxy ReferenceProxy must be running on port 7101
     
     For details, use ant -f basic-service-test.with.reference.proxy.xml -verbose -projecthelp
+    Project name is ${ant.project.name}
+    Build file is ${ant.file}
     </echo>
   </target>
   
 
 
Close
loading
Please Confirm
Close