Update of /cvsroot/mocklib/mocklib3/bldfiles
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv5604/bldfiles
Modified Files:
directory.properties build.xml
Log Message:
add java2html tool
Index: build.xml
===================================================================
RCS file: /cvsroot/mocklib/mocklib3/bldfiles/build.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** build.xml 10 Sep 2006 18:25:53 -0000 1.1
--- build.xml 10 Sep 2006 22:49:06 -0000 1.2
***************
*** 62,65 ****
--- 62,72 ----
<property name="checkstyle.dir" value="${tool.dir}/checkstyle" />
+ <property name="java2html.location" location="${tool.dir}/ant-java2html"/>
+ <path id="java2html.lib">
+ <fileset dir="${java2html.location}">
+ <include name="**/*.jar"/>
+ </fileset>
+ </path>
+
<property name="osgi.location" location="${tool.dir}/ant-osgi"/>
<path id="osgi.ant.lib">
***************
*** 68,71 ****
--- 75,79 ----
</fileset>
</path>
+
<!--
***********************************************************************
***************
*** 142,145 ****
--- 150,158 ----
</taskdef>
+ <taskdef name="java2html"
+ classname="de.java2html.anttasks.Java2HtmlTask"
+ classpathref="java2html.lib"
+ />
+
<taskdef name="bundleinfo" classname="org.knopflerfish.ant.taskdefs.bundle.BundleInfoTask" classpathref="osgi.ant.lib"/>
<taskdef name="bundlemanifest" classname="org.knopflerfish.ant.taskdefs.bundle.BundleManifestTask" classpathref="osgi.ant.lib"/>
***************
*** 592,602 ****
***********************************************************************
-->
! <target name="checkstyle" depends="create-src" description="Runs checkstyle against the code">
! <mkdir dir="${checkstyle.report}"/>
! <checkstyle config="${checkstyle.dir}/config.xml">
! <fileset dir="${javacode}" includes="**/*.java"/>
! <formatter type="plain" toFile="${checkstyle.report}/index.html"/>
! </checkstyle>
! </target>
<!--
--- 605,625 ----
***********************************************************************
-->
! <target name="checkstyle" depends="create-src" description="Runs checkstyle against the code">
! <mkdir dir="${checkstyle.report}"/>
! <checkstyle config="${checkstyle.dir}/config.xml">
! <fileset dir="${javacode}" includes="**/*.java"/>
! <formatter type="plain" toFile="${checkstyle.report}/index.html"/>
! </checkstyle>
! </target>
!
! <target name="java2html">
! <mkdir dir="${html.code}"/>
! <java2html srcdir="${javacode}" destdir="${html.code}"
! includes="**/*.java"
! style="eclipse"
! showLineNumbers="true"
! showFileName="true"
! showTableBorder="true"/>
! </target>
<!--
***************
*** 605,609 ****
***********************************************************************
-->
! <target name="all" depends="testall,checkstyle,findbugs,javadoc">
</target>
--- 628,632 ----
***********************************************************************
-->
! <target name="all" depends="testall,checkstyle,findbugs,javadoc,java2html">
</target>
Index: directory.properties
===================================================================
RCS file: /cvsroot/mocklib/mocklib3/bldfiles/directory.properties,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** directory.properties 10 Sep 2006 18:25:53 -0000 1.1
--- directory.properties 10 Sep 2006 22:49:06 -0000 1.2
***************
*** 37,40 ****
--- 37,42 ----
checkstyle.report=${reports}/checkstyle
javadoc =${reports}/javadoc
+ html.code =${reports}/htmlcode
+
#contains the javadoc of biz.xsoftware.api
|