2006/ws/policy build.xml,1.6,1.7

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

Modified Files:
	build.xml 
Log Message:
Diff now also with build.xml . See http://lists.w3.org/Archives/Public/public-ws-policy-eds/2006Sep/0004.html

Index: build.xml
===================================================================
RCS file: /sources/public/2006/ws/policy/build.xml,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- build.xml	3 Sep 2006 04:02:33 -0000	1.6
+++ build.xml	4 Sep 2006 05:39:53 -0000	1.7
@@ -2,11 +2,11 @@
      Philippe Le Hegaret, W3C -->
      
 <project name="WS-Policy 1.5" default="main" basedir=".">
-
 	<property name="stylesheet" value="xmlspec-policy.xsl"/>
 	<property name="glossary"
 	value="extract-glist.xsl"/>
-	
+	<property name="diffformat" value="diffspec.xsl"/>
+	<property name="last-public-draft" value="20060731"/>
 	<target name="clean">
 		<delete quiet="true" file="ws-policy-framework.html"/>
 		<delete quiet="true" file="ws-policy-attachment.html"/>
@@ -52,7 +52,39 @@
         <xslt style="${glossary}" in="ws-policy-framework.xml" out="glossary-framework.xml"/>
         <xslt style="${glossary}" in="ws-policy-attachment.xml" out="glossary-attachment.xml"/>
         </target>
-
+        <path id="diffmk.classpath">
+            <pathelement location="${basedir}/diffmk.jar"/>
+            <pathelement location="${basedir}/DiffMk.properties"/>
+            </path>
+      <target name="diff">
+  <java classname="com.sun.xtc.diffmk.DiffMk" fork="true">
+  <arg value="-doctype"/>    
+      <arg value="xmlspec"/>
+      <arg value="-diff"/>
+      <arg value="both"/>
+      <arg value="-words"/>
+      <arg value="ws-policy-framework.xml"/>
+      <arg value="ws-policy-framework-tr${last-public-draft}.xml"/>
+      <arg value="ws-policy-framework-diff${last-public-draft}.xml"/>
+      <classpath path="diffmk.jar:DiffMk.properties">    
+      </classpath>
+    </java>
+      <java classname="com.sun.xtc.diffmk.DiffMk" fork="true">
+  <arg value="-doctype"/>    
+      <arg value="xmlspec"/>
+      <arg value="-diff"/>
+      <arg value="both"/>
+      <arg value="-words"/>
+      <arg value="ws-policy-attachment.xml"/>
+      <arg value="ws-policy-attachment-tr${last-public-draft}.xml"/>
+      <arg value="ws-policy-attachment-diff${last-public-draft}.xml"/>
+      <classpath path="diffmk.jar:DiffMk.properties">    
+      </classpath>
+    </java>
+<xslt style="${diffformat}" in="ws-policy-framework-diff${last-public-draft}.xml" out="ws-policy-framework-diff${last-public-draft}.html"/>
+        <xslt style="${diffformat}" in="ws-policy-attachment-diff${last-public-draft}.xml" out="ws-policy-attachment-diff${last-public-draft}.html"/>
+  </target>
+  
 	<target name="changelog" description="Generate XML out of the CVS change log">
 		<cvschangelog destfile="changelog.xml"/>
 	</target>

Received on Monday, 4 September 2006 05:40:12 UTC