Update of /cvsroot/mocklib/gwtmocklib/bldfiles
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv18350/bldfiles
Modified Files:
build.xml ant.properties design.xml directory.properties
Log Message:
finishing up gwtmocklib
Index: design.xml
===================================================================
RCS file: /cvsroot/mocklib/gwtmocklib/bldfiles/design.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** design.xml 12 Sep 2006 01:21:03 -0000 1.1
--- design.xml 12 Sep 2006 05:00:23 -0000 1.2
***************
*** 11,27 ****
<package name="manifest" package="biz.xsoftware.manifest"
needdeclarations="true" subpackages="include" needdepends="false"/>
- <package name="junit" package="junit" subpackages="include" needdeclarations="false"/>
- <package name="mocklib" package="biz.xsoftware.mock" subpackages="include" needdeclarations="false"/>
! <!-- should erase the following... -->
! <package name="biz" package="biz" subpackages="include" needdepends="false"/>
! <package name="com" package="com" subpackages="include" needdepends="false"/>
! <package name="org" package="org" subpackages="include" needdepends="false"/>
! <package name="net" package="net" subpackages="include" needdepends="false"/>
! <!-- should use something like this instead on a per project basis -->
! <package name="api" package="biz.xsoftware.api" subpackages="include"/>
! <package name="testapi" package="biz.xsoftware.test" subpackages="include" depends="api"/>
! <package name="impl" package="biz.xsoftware.impl" subpackages="include" depends="api"/>
</design>
--- 11,33 ----
<package name="manifest" package="biz.xsoftware.manifest"
needdeclarations="true" subpackages="include" needdepends="false"/>
! <package name="google" package="com.google.gwt.junit.client"/>
! <package name="google2" package="com.google.gwt.core.client"/>
! <package name="google3" package="com.google.gwt.user.client.ui"/>
! <package name="gwtmocklib" package="biz.xsoftware.mock.client">
! <depends>google2</depends>
! </package>
!
! <package name="test" package="biz.xsoftware.mock.client.test">
! <depends>gwtmocklib</depends>
! <depends>google</depends>
! </package>
!
! <package name="example" package="biz.xsoftware.mock.client.example1">
! <depends>gwtmocklib</depends>
! <depends>google</depends>
! <depends>google3</depends>
! </package>
</design>
Index: ant.properties
===================================================================
RCS file: /cvsroot/mocklib/gwtmocklib/bldfiles/ant.properties,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** ant.properties 12 Sep 2006 01:21:03 -0000 1.1
--- ant.properties 12 Sep 2006 05:00:23 -0000 1.2
***************
*** 3,7 ****
#-----------------------------------------------------------------------
! name =gwtrpc
#used as the jar file name(ie. ${name}.jar)
#used as zip file name(ie. ${name}-version.jar)
--- 3,7 ----
#-----------------------------------------------------------------------
! name =gwtmocklib
#used as the jar file name(ie. ${name}.jar)
#used as zip file name(ie. ${name}-version.jar)
Index: build.xml
===================================================================
RCS file: /cvsroot/mocklib/gwtmocklib/bldfiles/build.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** build.xml 12 Sep 2006 01:21:03 -0000 1.1
--- build.xml 12 Sep 2006 05:00:23 -0000 1.2
***************
*** 3,7 ****
Run "ant -projecthelp" to view all the possible targets and descriptions.
-->
! <project name="std_buildfile" default="all" basedir="..">
<!-- Now allow any of the properties to be overridden -->
--- 3,7 ----
Run "ant -projecthelp" to view all the possible targets and descriptions.
-->
! <project name="std_buildfile" default="release" basedir="..">
<!-- Now allow any of the properties to be overridden -->
***************
*** 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>
+
<!--
***********************************************************************
***************
*** 108,111 ****
--- 116,120 ----
<fileset dir="${codecov.jar}" includes="**/*.jar" />
<!--pathelement location="${codecov.temp}"/-->
+ <pathelement location="${javacode}" />
<path refid="tool.and.lib" />
<path refid="classes.classpath" />
***************
*** 122,127 ****
</tstamp>
<!-- Override this property to build official release -->
! <property name="version" value="0.0.0" />
<echo message="***************************USING THIS ANT************************" />
<echo message="ant.home=${ant.home}" />
--- 131,140 ----
</tstamp>
+ <input message="Please enter the version number such as r1-0-1, etc." addproperty="version" />
+ <input message="Please enter your sourceforge username" addproperty="user" />
+ <input message="Please enter your sourceforge password" addproperty="password" />
+
<!-- Override this property to build official release -->
! <property name="version" value="Developer-Build" />
<echo message="***************************USING THIS ANT************************" />
<echo message="ant.home=${ant.home}" />
***************
*** 146,154 ****
</taskdef>
<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" />
<taskdef name="bundlehtml" classname="org.knopflerfish.ant.taskdefs.bundle.BundleHTMLExtractorTask" classpathref="osgi.ant.lib" />
<taskdef name="bundleobr" classname="org.knopflerfish.ant.taskdefs.bundle.OBRExtractorTask" classpathref="osgi.ant.lib" />
-
</target>
--- 159,168 ----
</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" />
<taskdef name="bundlehtml" classname="org.knopflerfish.ant.taskdefs.bundle.BundleHTMLExtractorTask" classpathref="osgi.ant.lib" />
<taskdef name="bundleobr" classname="org.knopflerfish.ant.taskdefs.bundle.OBRExtractorTask" classpathref="osgi.ant.lib" />
</target>
***************
*** 165,170 ****
<mkdir dir="${lib}" />
<mkdir dir="${libexclude}" />
! <mkdir dir="${native}" />
! <mkdir dir="${schemas}" />
<mkdir dir="${jardist}" />
--- 179,183 ----
<mkdir dir="${lib}" />
<mkdir dir="${libexclude}" />
! <mkdir dir="${staging.in}" />
<mkdir dir="${jardist}" />
***************
*** 177,181 ****
<pathelement path="${jardist}" />
</path>
-
</target>
--- 190,193 ----
***************
*** 203,208 ****
</javac>
! <property name="gwt.module" value="com.google.gwt.sample.dynatable.DynaTable"/>
!
<!-- compile java to javascript here -->
<java failonerror="true" classname="com.google.gwt.dev.GWTCompiler" fork="true">
--- 215,220 ----
</javac>
! <property name="gwt.module" value="biz.xsoftware.mock.MockLib" />
!
<!-- compile java to javascript here -->
<java failonerror="true" classname="com.google.gwt.dev.GWTCompiler" fork="true">
***************
*** 241,263 ****
<pathconvert pathsep="\r\n" property="have.rmi.files" refid="rmi.fileset" setonempty="false" />
</target>
- <!--
- ***********************************************************************
- GWT SHELL
- ***********************************************************************
- -->
- <target name="gwtShell" depends="compile">
- <echo message="HELLLLLLO"/>
- <java failonerror="true" classname="com.google.gwt.dev.GWTShell" fork="true">
- <classpath>
- <pathelement path="${javacode}" />
- <pathelement path="${build}"/>
- <path refid="gwt" />
- </classpath>
- <arg value="-out" />
- <arg value="output/gwt" />
- <arg value="${gwt.module}/index.html" />
- </java>
- </target>
<!--
***********************************************************************
--- 253,257 ----
***************
*** 305,313 ****
<mkdir dir="${manifest}" />
- <!-- convert cvs tag to osgi compatible version number -->
- <propertyregex property="tmp10" input="${version}" regexp="-" replace="." defaultValue="${version}" />
- <propertyregex property="realVersion" input="${tmp10}" regexp="r" replace="" defaultValue="${version}" />
- <echo message="v=${realVersion}" />
-
<property name="bundle.uuid" value="biz.xsoftware:${name}:${version}:all" />
<property name="ee.check.foundation" value="false" />
--- 299,302 ----
***************
*** 315,324 ****
<!--generate classpath to add to manifest using all jars in lib and main jar-->
! <pathconvert dirsep="/" pathsep="," property="manifest.classpath" refid="lib.include" setonempty="true">
<!--The map takes away the beginning of the path just leaving the jar file name -->
<map from="${full.lib.path}${file.separator}" to="" />
</pathconvert>
! <property name="bundle.classpath" value=".,${manifest.classpath}" />
<echo message="bundle.classpath=${bundle.classpath}" />
--- 304,313 ----
<!--generate classpath to add to manifest using all jars in lib and main jar-->
! <pathconvert dirsep="/" pathsep="," property="osgi.classpath" refid="lib.include" setonempty="true">
<!--The map takes away the beginning of the path just leaving the jar file name -->
<map from="${full.lib.path}${file.separator}" to="" />
</pathconvert>
! <property name="bundle.classpath" value=".,${osgi.classpath}" />
<echo message="bundle.classpath=${bundle.classpath}" />
***************
*** 339,343 ****
<attribute name="Bundle-Name" value="${name}" />
<attribute name="Bundle-SymbolicName" value="${name}" />
! <attribute name="Bundle-Version" value="${realVersion}" />
<attribute name="Bundle-Description" value="${manifest.description}" />
<attribute name="Bundle-Vendor" value="${manifest.vendor}" />
--- 328,332 ----
<attribute name="Bundle-Name" value="${name}" />
<attribute name="Bundle-SymbolicName" value="${name}" />
! <attribute name="Bundle-Version" value="${version}" />
<attribute name="Bundle-Description" value="${manifest.description}" />
<attribute name="Bundle-Vendor" value="${manifest.vendor}" />
***************
*** 361,366 ****
<attribute name="Built-By" value="${manifest.builder}" />
! <!--can't do this with osgi, nor war files probably -->
! <!--attribute name="Main-Class" value="biz.xsoftware.manifest.ManifestInfo"/-->
<attribute name="Class-Path" value="${manifest.classpath}" />
<!--
--- 350,354 ----
<attribute name="Built-By" value="${manifest.builder}" />
! <attribute name="Main-Class" value="biz.xsoftware.manifest.ManifestInfo" />
<attribute name="Class-Path" value="${manifest.classpath}" />
<!--
***************
*** 387,415 ****
</target>
- <target name="copyForJar" depends="manifest">
- <echo message="osgi.enabled=${osgi.enabled}" />
- <echo message="webapp.enabled=${webapp.enabled}" />
- <if>
- <ispropertytrue property="osgi.enabled" />
- <then>
- <!-- copy all jars that need to be in this osgi bundle jar into the directory that will be jarred up-->
- <copy todir="${build}">
- <fileset dir="${lib}" includes="**" />
- </copy>
- </then>
- <elseif>
- <ispropertytrue property="webapp.enabled" />
- <then>
- <property name="run.war.target" value="true" />
- </then>
- </elseif>
- <else>
- <!-- Also, copy over all needed jars from ${lib} to ${jardist} -->
- <copy todir="${jardist}">
- <fileset dir="${lib}" includes="**" />
- </copy>
- </else>
- </if>
- </target>
<!--
***********************************************************************
--- 375,378 ----
***************
*** 417,424 ****
***********************************************************************
-->
! <target name="jar" depends="copyForJar, make" description="Builds a jar file">
<!-- Create the distribution directory -->
<mkdir dir="${jardist}" />
<!-- Put all implementation classes from ${build} into the jar file -->
<jar jarfile="${jardist}/${jar.name}" basedir="${build}" manifest="${manifest}/MANIFEST.MF" />
--- 380,392 ----
***********************************************************************
-->
! <target name="jar" depends="manifest, make" description="Create distribution">
<!-- Create the distribution directory -->
<mkdir dir="${jardist}" />
+ <!-- Also, copy over all needed jars from ${lib} to ${jardist} -->
+ <copy todir="${jardist}">
+ <fileset dir="${lib}" includes="**" />
+ </copy>
+
<!-- Put all implementation classes from ${build} into the jar file -->
<jar jarfile="${jardist}/${jar.name}" basedir="${build}" manifest="${manifest}/MANIFEST.MF" />
***************
*** 427,455 ****
</target>
<!--
***********************************************************************
! WAR TARGET
***********************************************************************
-->
! <target name="war" depends="jar" if="run.war.target" description="Builds a war file">
! <mkdir dir="${wardist}" />
! <war destfile="${wardist}/${name}.war" webxml="${webroot}/WEB-INF/web.xml">
! <lib dir="${lib}">
! <include name="**/*.jar" />
! </lib>
! <classes dir="${build}" />
! <fileset dir="${webroot}" />
! <fileset dir="output/gwt/${gwt.module}"/>
! </war>
! </target>
!
! <!--
! ================================================================================
! Creates the distribution
! ================================================================================
! -->
! <target name="createdist" depends="war">
! <mkdir dir="${dist}" />
! <mkdir dir="${staging}" />
</target>
--- 395,420 ----
</target>
+
<!--
***********************************************************************
! GWT SHELL
***********************************************************************
-->
! <target name="shell" depends="jar" description="Runs the gwtShell with the servlet running">
! <echo message="HELLLLLLO" />
! <java failonerror="true" classname="com.google.gwt.dev.GWTShell" fork="true">
! <classpath>
! <pathelement path="${javacode}" />
! <pathelement path="${build}" />
! <path refid="gwt" />
! <path refid="lib.jars" />
! </classpath>
! <arg value="-out" />
! <arg value="output/gwt" />
! <arg value="-logLevel" />
! <arg value="ALL" />
! <arg value="${gwt.module}/index.html" />
! <jvmarg value="-DshellMode=true" />
! </java>
</target>
***************
*** 460,464 ****
***********************************************************************
-->
! <target name="run" depends="war">
<pathconvert property="application.classpath" pathsep=":">
--- 425,429 ----
***********************************************************************
-->
! <target name="run" depends="jar">
<pathconvert property="application.classpath" pathsep=":">
***************
*** 485,489 ****
***********************************************************************
-->
! <target name="instrumentation" depends="war">
<property name="emma.enabled" value="true" />
<mkdir dir="${codecov.temp}" />
--- 450,454 ----
***********************************************************************
-->
! <target name="instrumentation" depends="jar">
<property name="emma.enabled" value="true" />
<mkdir dir="${codecov.temp}" />
***************
*** 583,586 ****
--- 548,552 ----
<path refid="testall.classpath" />
<path refid="emma.lib" />
+ <path refid="gwt" />
</classpath>
<jvmarg value="-Demma.coverage.out.file=${codecov.temp}/coverage.emma" />
***************
*** 633,637 ****
***********************************************************************
-->
! <target name="findbugs" depends="war" description="Runs findbugs against the code">
<mkdir dir="${findbugs.report}" />
<findbugs home="${findbugs.dir}" output="html" outputFile="${findbugs.report}/index.html">
--- 599,603 ----
***********************************************************************
-->
! <target name="findbugs" depends="jar" description="Runs findbugs against the code">
<mkdir dir="${findbugs.report}" />
<findbugs home="${findbugs.dir}" output="html" outputFile="${findbugs.report}/index.html">
***************
*** 656,659 ****
--- 622,630 ----
</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>
+
<!--
***********************************************************************
***************
*** 661,665 ****
***********************************************************************
-->
! <target name="all" depends="war,testall,checkstyle,findbugs,javadoc" description="compiles, runs tests, checkstyle, findbugs, and javadoc">
</target>
--- 632,636 ----
***********************************************************************
-->
! <target name="all" depends="testall,checkstyle,findbugs,javadoc,java2html">
</target>
***************
*** 670,743 ****
***********************************************************************
-->
! <target name="autobuild" depends="clean, all">
! <cvs command="tag -R ${label}" failonerror="true" />
</target>
! <!--
***********************************************************************
! JAVAH TARGET - Creates JNI C header files if needed
***********************************************************************
-->
! <target name="javah" depends="compile" if="javah.classes">
! <javah class="${javah.classes}" destdir="${native}">
! <classpath refid="build.classpath" />
! </javah>
! </target>
! <!--
***********************************************************************
! Runs make on the C++/C code if a Makefile exists in the proper directory
***********************************************************************
-->
- <target name="make" depends="javah" if="makeExists">
- <echo message="make in ${native}" />
- <exec executable="make" dir="${native}" />
- </target>
! <target name="tomcatTasks">
! <fail unless="tomcat.home" message="PLEASE make sure you have a ${user.home}/ant.properties file with the property tomcat.home set" />
! <fail unless="tomcat.username" message="PLEASE make sure you have a ${user.home}/ant.properties file with the property tomcat.username set" />
! <fail unless="tomcat.password" message="PLEASE make sure you have a ${user.home}/ant.properties file with the property tomcat.password set" />
! <fail unless="tomcat.url" message="PLEASE make sure you have a ${user.home}/ant.properties file with the property tomcat.url set" />
! <property name="tomcat.manager.url" value="${tomcat.url}/manager" />
! <path id="tomcat.classpath">
! <fileset dir="${tomcat.home}/server/lib/">
! <include name="catalina-ant.jar" />
! </fileset>
! </path>
! <!--Just a convenient pathconvert to debug paths above by converting to string and printing -->
! <pathconvert dirsep="/" pathsep=" " property="temp.tomcat" refid="tomcat.classpath" setonempty="true" />
! <echo message="tomcat ant task jars=${temp.tomcat}" />
! <taskdef resource="org/apache/catalina/ant/antlib.xml" classpathref="tomcat.classpath" />
! </target>
! <target name="deploy" description="Install application in Tomcat" depends="tomcatTasks, war">
! <deploy url="${tomcat.manager.url}" username="${tomcat.username}" password="${tomcat.password}" path="/${name}" war="${wardist}/${name}.war" />
! </target>
! <target name="undeploy" description="Remove application in Tomcat" depends="tomcatTasks">
! <undeploy url="${tomcat.manager.url}" username="${tomcat.username}" password="${tomcat.password}" path="/${name}" />
! </target>
- <target name="redeploy" description="Reload application in Tomcat" depends="war, undeploy, deploy">
</target>
! <target name="start" description="Start Tomcat application" depends="tomcatTasks">
! <start url="${tomcat.manager.url}" username="${tomcat.username}" password="${tomcat.password}" path="/${name}" />
! </target>
! <target name="stop" description="Stop Tomcat application" depends="tomcatTasks">
! <stop url="${tomcat.manager.url}" username="${tomcat.username}" password="${tomcat.password}" path="/${name}" />
! </target>
! <target name="tomcatInfo" description="List Tomcat applications" depends="tomcatTasks">
! <list url="${tomcat.manager.url}" username="${tomcat.username}" password="${tomcat.password}" />
! <roles url="${tomcat.manager.url}" username="${tomcat.username}" password="${tomcat.password}" />
! <resources url="${tomcat.manager.url}" username="${tomcat.username}" password="${tomcat.password}" />
! <sessions url="${tomcat.manager.url}" username="${tomcat.username}" password="${tomcat.password}" path="/${name}" />
! </target>
<!--
***********************************************************************
--- 641,723 ----
***********************************************************************
-->
! <target name="autobuild" depends="all">
</target>
! <!--
***********************************************************************
! RELEASE TARGET
***********************************************************************
-->
+ <property name="misc" value="${input}/misc" />
+ <property name="javadoc.examples.title" value="MockLib Examples" />
! <!-- temporary until we fix buildtemplate to not erase every folder in tools -->
! <property name="taglet" value="${tool.dir}/taglet" />
! <!--
***********************************************************************
! JAVADOC TARGET
***********************************************************************
-->
! <target name="createdist" depends="all">
! <copy todir="${projstaging}">
! <fileset dir="${staging.in}" includes="**/*" />
! <fileset dir="${reports}" />
! <fileset dir="${jardist}" includes="${jar.name}" />
! </copy>
! <!--
! <copy file="README" tofile="${dist.build.dir}/README" overwrite="yes" />
! <copy file="LICENSE" tofile="${dist.build.dir}/LICENSE" overwrite="yes" />
! -->
! <mkdir dir="${dist}" />
! <!-- package everything up nice and tidy -->
! <zip zipfile="${dist}/${name}-${version}.zip" basedir="${staging}" includes="**" update="yes" />
! <!--tar tarfile="${dist.dir}/${name}-${version}.tar" basedir="${dist.build.dir}" includes="**" />
! <gzip zipfile="${dist.dir}/${name}-${version}.tar.gz" src="${dist.dir}/${name}-${version}.tar" /-->
! <copy tofile="${dist}/${name}-${version}.jar">
! <fileset dir="${jardist}">
! <include name="${jar.name}" />
! </fileset>
! </copy>
</target>
! <!-- this is run after createdist is run and after testall is
! run so codecoverage, the release, can all be posted to some
! website -->
! <target name="release" depends="createdist" if="password">
! <echo message="***************************************************************" />
! <echo message="***************************************************************" />
! <echo message=" Delivering zip=${name}-${version}.zip to" />
! <echo message=" sourceforge ftp site, and to ${name} website" />
! <echo message=" The website will be updated at mocklib.sourceforge.net" />
! <echo message=" Please finish this and go to sourceforge.net/projects/mocklib" />
! <echo message=" to pick up the release and release it to the world" />
! <echo message="" />
! <echo message=" ps. This will take a while" />
! <echo message="***************************************************************" />
! <echo message="***************************************************************" />
! <ftp server="upload.sourceforge.net" remotedir="incoming" userid="anonymous" passive="true" binary="true" verbose="true" password="${user}@user.sourceforge.net">
! <fileset dir="${dist}">
! <include name="${name}-${version}.zip" />
! <include name="${name}-${version}.jar" />
! </fileset>
! </ftp>
! <scp file="${dist}/${name}-${version}.zip" todir="${user}@shell.sourceforge.net:/home/groups/m/mo/mocklib" password="${password}" />
! <sshexec host="shell.sourceforge.net" username="${user}" password="${password}" command="rm -rf /home/groups/m/mo/mocklib/htdocs/${name}/*" />
! <sshexec host="shell.sourceforge.net" username="${user}" password="${password}" command="unzip /home/groups/m/mo/mocklib/${name}-${version}.zip -d /home/groups/m/mo/mocklib/htdocs/" />
! <!--sshexec host="shell.sourceforge.net" username="${user}" password="${password}" command="mv /home/groups/m/mo/mocklib/htdocs/${name}/* /home/groups/m/mo/mocklib/htdocs" />
! <sshexec host="shell.sourceforge.net" username="${user}" password="${password}" command="rm /home/groups/m/mo/mocklib/${name}*.zip" /-->
!
! <echo message="Trying to tag cvs now....." />
! <cvs failonerror="true" command="tag ${version}" />
+ </target>
<!--
***********************************************************************
***************
*** 745,756 ****
***********************************************************************
-->
! <target name="javadoc" description="Generate JavaDoc">
! <mkdir dir="${javadoc}" />
! <!-- copy all package.html files, img's etc for javadoc -->
! <copy todir="${javadoc}">
! <fileset dir="${javacode}" excludes="**/*.java" />
! </copy>
<echo message="package lists in=${package.list}" />
! <javadoc sourcepath="${javacode}" destdir="${javadoc}" author="true" version="true" use="true" public="yes" overview="${javacode}/overview.html" windowtitle="${javadoc.title} ${version}" doctitle="${javadoc.title} ${version}" Verbose="true">
<!-- classpath needed to link up to third_party libs without 100's of warnings -->
<classpath>
--- 725,736 ----
***********************************************************************
-->
! <target name="javadoc" description="Generate JavaDoc for API">
! <mkdir dir="${projstaging}/api" />
! <!--copy todir="${projstaging}/api">
! <fileset dir="${javacode}" excludes="**\*.java" />
! </copy-->
! <echo message="list is at ${misc}" />
<echo message="package lists in=${package.list}" />
! <javadoc sourcepath="${javacode}" destdir="${projstaging}/api" author="true" version="true" use="true" public="yes" overview="${misc}/mockoverview.html" windowtitle="${javadoc.title} ${version}" doctitle="${javadoc.title} ${version}" Verbose="true">
<!-- classpath needed to link up to third_party libs without 100's of warnings -->
<classpath>
***************
*** 758,762 ****
</classpath>
<fileset dir="${javacode}">
! <include name="${javadoc.pattern}" />
</fileset>
--- 738,742 ----
</classpath>
<fileset dir="${javacode}">
! <include name="**/Js*.java"/>
</fileset>
***************
*** 765,773 ****
<bottom>
<![CDATA[<i>${copyright}</i>
! <br>${javadoc.bottom}]]></bottom>
<link offline="true" href="http://java.sun.com/j2se/1.4.2/docs/api" packagelistLoc="${package.list}/jdk" />
<link offline="true" href="http://www.junit.org/junit/javadoc/3.8.1" packagelistLoc="${package.list}/junit" />
</javadoc>
</target>
<!--
***********************************************************************
--- 745,796 ----
<bottom>
<![CDATA[<i>${copyright}</i>
! <br>
! ${javadoc.bottom}]]>
! </bottom>
<link offline="true" href="http://java.sun.com/j2se/1.4.2/docs/api" packagelistLoc="${package.list}/jdk" />
<link offline="true" href="http://www.junit.org/junit/javadoc/3.8.1" packagelistLoc="${package.list}/junit" />
</javadoc>
</target>
+
+ <!--
+ ***********************************************************************
+ JAVAH TARGET - Creates JNI C header files if needed
+ ***********************************************************************
+ -->
+
+ <target name="javah" depends="compile" if="javah.classes" description="Creates C header files">
+ <javah class="${javah.classes}" destdir="${native}">
+ <classpath refid="build.classpath" />
+ </javah>
+ </target>
+
+ <!--
+ ***********************************************************************
+ Runs make on the C++/C code if a Makefile exists in the proper directory
+ ***********************************************************************
+ -->
+ <target name="make" depends="javah" if="makeExists" description="runs make">
+ <echo message="make in ${native}" />
+ <exec executable="make" dir="${native}" />
+ </target>
+
+ <!--
+ ***********************************************************************
+ GENERATE CASTOR OBJECTS TARGET
+ ***********************************************************************
+ -->
+ <!--target name="castor" depends="create-src" description="Generates class files from xsd">
+ <echo message="build=${build}"/>
+ <echo message="generating source from ${schemas}/${xsd.start}"/>
+ <echo message="putting generated source in ${basedir}/${src.gen}"/>
+
+ <castor bindingfile="${basedir}/bldfiles/binding.file" dest="${basedir}/${src.gen}">
+ <i dir="${basedir}/${schemas}">
+ <include name="${xsd.start}"/>
+ </i>
+ </castor>
+ </target-->
+
+
<!--
***********************************************************************
Index: directory.properties
===================================================================
RCS file: /cvsroot/mocklib/gwtmocklib/bldfiles/directory.properties,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** directory.properties 12 Sep 2006 01:21:03 -0000 1.1
--- directory.properties 12 Sep 2006 05:00:23 -0000 1.2
***************
*** 39,42 ****
--- 39,44 ----
checkstyle.report=${reports}/checkstyle
javadoc =${reports}/javadoc
+ html.code =${reports}/htmlcode
+
#contains the javadoc of biz.xsoftware.api
***************
*** 102,105 ****
--- 104,113 ----
#service for example
+ staging.in =${input}/staging
+ #build copies everything from here to ${staging} so staging area can just be
+ #zipped up or rpm'd up or whatever during the dist target.
+ #typically, there will be another directory in here called <project>
+ #or something. Some projects won't but most will.
+
native =${input}/native
#contains JNI C header file
|