[jbossws-commits] JBossWS SVN: r2346 - branches/jbossws-1.2.0/build/ant-import.

jbossws-commits at lists.jboss.org jbossws-commits at lists.jboss.org
Tue Feb 13 06:04:06 EST 2007


Author: thomas.diesler at jboss.com
Date: 2007-02-13 06:04:06 -0500 (Tue, 13 Feb 2007)
New Revision: 2346

Modified:
   branches/jbossws-1.2.0/build/ant-import/build-release.xml
Log:
[JBWS-1418] Provide JBossWS API docs

Modified: branches/jbossws-1.2.0/build/ant-import/build-release.xml
===================================================================
--- branches/jbossws-1.2.0/build/ant-import/build-release.xml	2007-02-13 10:06:14 UTC (rev 2345)
+++ branches/jbossws-1.2.0/build/ant-import/build-release.xml	2007-02-13 11:04:06 UTC (rev 2346)
@@ -128,8 +128,8 @@
   <!-- ================================================================== -->
 
   <!-- Build the bin dist -->
-  <target name="build-bin-dist" description="Build the binary distribution"
-    depends="core-jars,jboss50-jars,jboss42-jars,jboss40-jars,jboss40-jars14,tomcat-jars,build-samples,build-docs">
+  <target name="build-bin-dist" depends="core-jars,jboss50-jars,jboss42-jars,jboss40-jars,jboss40-jars14,tomcat-jars,build-samples,build-javadoc,build-docs"
+     description="Build the binary distribution">
     
     <mkdir dir="${build.bin.dist}"/>
     <mkdir dir="${build.bin.dist}/bin"/>
@@ -152,15 +152,18 @@
         <include name="wstools.bat"/>
         <include name="wstools.sh"/>
         <include name="wsprovide.bat"/>
-        <include name="wsprovide"/>
+        <include name="wsprovide.sh"/>
         <include name="wsconsume.bat"/>
-        <include name="wsconsume"/>
+        <include name="wsconsume.sh"/>
       </fileset>
     </copy>
 
     <!-- samples -->
     <copy todir="${build.bin.dist}" file="${build.output.dir}/${samples.target}.zip" overwrite="true"/>
     
+    <!-- javadoc -->
+    <copy todir="${build.bin.dist}" file="${build.output.dir}/jbossws-${version.id}-api.zip" overwrite="true"/>
+    
     <!-- documentation -->
     <copy todir="${build.bin.dist}/docs/html" overwrite="true">
       <fileset dir="${docs.userguide.dir}/build/en/html"/>
@@ -261,4 +264,22 @@
       includes="jbossws-src-${version.id}/**"/>
   </target>
   
+  <!-- ================================================================== -->
+  <!-- Documentation                                                      -->
+  <!-- ================================================================== -->
+
+  <!-- Generate the JavaDoc -->
+  <target name="build-javadoc" depends="init" description="Generate the Javadoc">
+    <mkdir dir="${build.output.dir}/docs/api"/>
+    <javadoc destdir="${build.output.dir}/docs/api" author="true" version="true" use="true" windowtitle="JBossWS API">
+      <packageset dir="${core.java.dir}" defaultexcludes="yes"/>
+      <packageset dir="${jboss42.java.dir}" defaultexcludes="yes"/>
+      <packageset dir="${jboss50.java.dir}" defaultexcludes="yes"/>
+      <packageset dir="${tomcat.java.dir}" defaultexcludes="yes"/>
+      <classpath refid="core.classpath"/>
+    </javadoc>
+    <zip destfile="${build.output.dir}/jbossws-${version.id}-api.zip" basedir="${build.output.dir}/docs"
+      includes="api/**"/>
+  </target>
+
 </project>




More information about the jbossws-commits mailing list