2006/ws/policy build.xml,1.30,1.31

Update of /sources/public/2006/ws/policy
In directory hutz:/tmp/cvs-serv3323/policy

Modified Files:
	build.xml 
Log Message:
Put best practice generation in a separate task which is called from the main task, to avoid validation errors for the best practice document.

Index: build.xml
===================================================================
RCS file: /sources/public/2006/ws/policy/build.xml,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- build.xml	17 Jun 2007 22:22:04 -0000	1.30
+++ build.xml	20 Jun 2007 03:25:54 -0000	1.31
@@ -38,7 +38,7 @@
     </target>
 
     <target name="validate-policy-specs" description="Validates all WS Policy spec files."
-        depends="glossaries">
+        depends="glossaries, bestpractices">
         <xmlvalidate lenient="false" warn="yes" file="ws-policy-framework.xml"/>
         <xmlvalidate lenient="false" warn="yes" file="ws-policy-attachment.xml"/>
         <xmlvalidate lenient="false" warn="yes" file="ws-policy-primer.xml"/>
@@ -91,14 +91,7 @@
             <arg value="${htmlOutputDir}ws-policy-primer.html"/>
             <arg value="ws-policy-primer.xml"/>
             <arg value="${stylesheet}"/>
-        </java>
-    	<java fork="true" classname="net.sf.saxon.Transform">
-    			            <classpath refid="saxon8.classpath"/>
-    			            <arg value="-o"/>
-    			            <arg value="guidelines-bestpractices.xml"/>
-    			            <arg value="ws-policy-guidelines.xml"/>
-    			            <arg value="${generateBPlist}"/>
-    			        </java>
+        </java>    
         <java fork="true" classname="net.sf.saxon.Transform">
             <classpath refid="saxon8.classpath"/>
             <arg value="-o"/>
@@ -132,6 +125,16 @@
         </java>
     </target>
 	
+<target name="bestpractices" description="Generates Best Practice statements for the guidelines document.">
+	<java fork="true" classname="net.sf.saxon.Transform">
+    			            <classpath refid="saxon8.classpath"/>
+    			            <arg value="-o"/>
+    			            <arg value="guidelines-bestpractices.xml"/>
+    			            <arg value="ws-policy-guidelines.xml"/>
+    			            <arg value="${generateBPlist}"/>
+    			        </java>
+</target>
+
     <path id="diffmk.classpath">
         <pathelement location="${basedir}/diffmk.jar"/>
         <pathelement location="${basedir}/DiffMk.properties"/>

Received on Wednesday, 20 June 2007 03:26:02 UTC