[jbpm-commits] JBoss JBPM SVN: r3050 - jbpm4/trunk/modules/api.

do-not-reply at jboss.org do-not-reply at jboss.org
Mon Nov 24 07:51:41 EST 2008


Author: tom.baeyens at jboss.com
Date: 2008-11-24 07:51:41 -0500 (Mon, 24 Nov 2008)
New Revision: 3050

Added:
   jbpm4/trunk/modules/api/build-xsddoc.xml
Modified:
   jbpm4/trunk/modules/api/pom.xml
Log:
try with a separate ant build

Added: jbpm4/trunk/modules/api/build-xsddoc.xml
===================================================================
--- jbpm4/trunk/modules/api/build-xsddoc.xml	                        (rev 0)
+++ jbpm4/trunk/modules/api/build-xsddoc.xml	2008-11-24 12:51:41 UTC (rev 3050)
@@ -0,0 +1,21 @@
+<project name="xsddoc" basedir=".">
+
+  <target name="generate">
+      <echo message="compile classpath: ${compile_classpath}"/>
+      <echo message="runtime classpath: ${runtime_classpath}"/>
+      <echo message="test classpath:    ${test_classpath}"/>
+      <echo message="plugin classpath:  ${plugin_classpath}"/>
+      
+    <path id="plugin.classpath">
+    	<pathelement location="${plugin_classpath}" />
+    </path>
+
+    <echo message="basedir: ${basedir}" />
+    <taskdef name="xsddoc" classname="net.sf.xframe.xsddoc.Task" classpathref="plugin.classpath" />
+    <mkdir dir="target/doc/schemadoc" />
+    <xsddoc out="${basedir}/target/doc/schemadoc" title="jBPM 4 Schema's" verbose="false">
+      <fileset dir="src/main/resources" />
+    </xsddoc>
+  </target>
+
+</project>


Property changes on: jbpm4/trunk/modules/api/build-xsddoc.xml
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Modified: jbpm4/trunk/modules/api/pom.xml
===================================================================
--- jbpm4/trunk/modules/api/pom.xml	2008-11-24 12:41:33 UTC (rev 3049)
+++ jbpm4/trunk/modules/api/pom.xml	2008-11-24 12:51:41 UTC (rev 3050)
@@ -50,38 +50,60 @@
         <artifactId>maven-antrun-plugin</artifactId>
         <executions>
           <execution>
-            <id>generate-jpdlxsd-doc</id>
+            <id>generate-schemadocs</id>
             <phase>package</phase>
             <goals>
               <goal>run</goal>
             </goals>
             <configuration>
               <tasks>
-                <echo message="basedir: ${basedir}" />
-                <taskdef name="xsddoc" classname="net.sf.xframe.xsddoc.Task" classpathref="maven.plugin.classpath" />
-                <mkdir dir="target/doc/schemadoc" />
-                <xsddoc out="modules/api/target/doc/schemadoc" title="jBPM 4 Schema's" verbose="false">
-                  <fileset dir="src/main/resources" />
-                </xsddoc>
+                <property name="compile_classpath" refid="maven.compile.classpath"/>
+                <property name="runtime_classpath" refid="maven.runtime.classpath"/>
+                <property name="test_classpath" refid="maven.test.classpath"/>
+                <property name="plugin_classpath" refid="maven.plugin.classpath"/>
+
+                <ant antfile="${basedir}/build-xsddoc.xml">
+                  <target name="generate"/>
+                </ant>
               </tasks>
             </configuration>
           </execution>
-          <!-- 
+        </executions>
+        <dependencies>
+          <dependency>
+            <groupId>xsddoc</groupId>
+            <artifactId>xsddoc</artifactId>
+            <version>1.0</version>
+          </dependency>
+          <dependency>
+            <groupId>xalan</groupId>
+            <artifactId>xalan</artifactId>
+            <version>2.7.0</version>
+          </dependency>
+        </dependencies>
+      </plugin>
+    
+      <!-- 
+      <plugin>
+        <artifactId>maven-antrun-plugin</artifactId>
+        <executions>
           <execution>
-            <id>generate-wirexsd-doc</id>
+            <id>generate-jpdlxsd-doc</id>
             <phase>package</phase>
             <goals>
               <goal>run</goal>
             </goals>
             <configuration>
               <tasks>
+                <echo message="basedir: ${basedir}" />
                 <taskdef name="xsddoc" classname="net.sf.xframe.xsddoc.Task" classpathref="maven.plugin.classpath" />
-                <mkdir dir="${basedir}/target/doc/configuration-xsd-schema" />
-                <xsddoc file="${basedir}/src/main/resources/configuration.xsd" out="${basedir}/target/doc/configuration-xsd-schema" title="jBPM Configuration Schema" verbose="false" />
+                <mkdir dir="target/doc/schemadoc" />
+                <xsddoc out="modules/api/target/doc/schemadoc" title="jBPM 4 Schema's" verbose="false">
+                  <fileset dir="src/main/resources" />
+                </xsddoc>
               </tasks>
             </configuration>
           </execution>
-          -->
         </executions>
         <dependencies>
           <dependency>
@@ -96,6 +118,7 @@
           </dependency>
         </dependencies>
       </plugin>
+      -->
     </plugins>
   </build>
   
@@ -111,4 +134,5 @@
       </plugin>
     </plugins>
   </reporting>
+  
 </project>
\ No newline at end of file




More information about the jbpm-commits mailing list