Update of /cvsroot/mocklib/mocklib3/bldfiles
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv5160/bldfiles
Modified Files:
release.xml build.xml ant.properties
Log Message:
fixing up mocklib3
Index: ant.properties
===================================================================
RCS file: /cvsroot/mocklib/mocklib3/bldfiles/ant.properties,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** ant.properties 10 Sep 2006 18:25:53 -0000 1.1
--- ant.properties 12 Sep 2006 01:46:52 -0000 1.2
***************
*** 3,7 ****
#-----------------------------------------------------------------------
! name = mocklib
#used as the jar file name(ie. ${name}.jar)
#used as zip file name(ie. ${name}-version.jar)
--- 3,7 ----
#-----------------------------------------------------------------------
! name = mocklib3
#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/mocklib3/bldfiles/build.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** build.xml 10 Sep 2006 22:49:06 -0000 1.2
--- build.xml 12 Sep 2006 01:46:52 -0000 1.3
***************
*** 126,129 ****
--- 126,133 ----
</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"/>
***************
*** 652,670 ****
***********************************************************************
-->
! <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}"
--- 656,674 ----
***********************************************************************
-->
! <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 packagenames="biz.xsoftware.mock.*"
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}"
***************
*** 675,679 ****
</classpath>
<fileset dir="${javacode}">
! <include name="${javadoc.pattern}"/>
</fileset>
--- 679,683 ----
</classpath>
<fileset dir="${javacode}">
! <include name="**/.java"/>
</fileset>
Index: release.xml
===================================================================
RCS file: /cvsroot/mocklib/mocklib3/bldfiles/release.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** release.xml 11 Sep 2006 00:34:10 -0000 1.2
--- release.xml 12 Sep 2006 01:46:52 -0000 1.3
***************
*** 4,174 ****
<project name="std_buildfile" default="release" basedir="..">
! <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"/>
!
! <property name="user" value="dadrox"/>
! <!--
***********************************************************************
JAVADOC TARGET
***********************************************************************
-->
- <target name="javadocimpl" description="Generate JavaDoc">
- <mkdir dir="${projstaging}/impl"/>
- <copy todir="${projstaging}/impl">
- <fileset dir="${javacode}" excludes="**\*.java"/>
- </copy>
- <echo message="list is at ${misc}"/>
- <echo message="package lists in=${package.list}"/>
- <javadoc packagenames="biz.xsoftware.mock.*"
- sourcepath="${javacode}"
- destdir="${projstaging}/impl"
- 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>
- <path refid="tool.and.lib"/>
- </classpath>
- <fileset dir="${javacode}">
- <include name="**/.java"/>
- </fileset>
-
- <doctitle><![CDATA[<h1>${javadoc.title} ${version}</h1>]]></doctitle>
- <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>
-
- <target name="javadocexamples" depends="javadocimpl" description="Generate JavaDoc">
- <mkdir dir="${projstaging}/examples"/>
- <copy todir="${projstaging}/examples">
- <fileset dir="${javacode}" excludes="**\*.java"/>
- </copy>
- <echo message="list is at ${misc}"/>
- <javadoc packagenames="biz.xsoftware.examples.*"
- sourcepath="${javacode}"
- destdir="${projstaging}/examples"
- author="true"
- version="true"
- use="true"
- private="yes"
- overview="${misc}/examplesoverview.html"
- windowtitle="${javadoc.examples.title} ${version}"
- doctitle="${javadoc.examples.title} ${version}"
- Verbose="true"
- breakiterator="yes"
- stylesheetfile="${taglet}/stylesheet.css">
- <taglet name="biz.xsoftware.showcode.ShowCodeTaglet" path="${taglet}/showcode.jar"/>
-
- <!-- classpath needed to link up to third_party libs without 100's of warnings -->
- <classpath>
- <path refid="tool.and.lib"/>
- </classpath>
- <fileset dir="${javacode}">
- <include name="**/.java"/>
- </fileset>
-
- <doctitle><![CDATA[<h1>${javadoc.examples.title} ${version}</h1>]]></doctitle>
- <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"/>
- <link offline="false" href="../impl"/>
- </javadoc>
- </target>
! <target name="createdist" depends="javadocexamples">
! <echo message="codecov=${codecov.report}"/>
! <copy todir="${projstaging}">
! <fileset dir="${staging.in}"/>
! </copy>
! <copy todir="${projstaging}">
! <fileset dir="${reports}"/>
! <fileset dir="${jardist}" includes="${jar.name}"/>
! </copy>
! <delete dir="${projstaging}/javadoc"/>
!
! <!--
<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="pw">
! <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="${pw}"/>
! <sshexec host="shell.sourceforge.net"
! username="${user}"
! password="${pw}"
! command="rm -rf /home/groups/m/mo/mocklib/htdocs/*"/>
! <sshexec host="shell.sourceforge.net"
! username="${user}"
! password="${pw}"
! 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="${pw}"
! command="mv /home/groups/m/mo/mocklib/htdocs/${name}/* /home/groups/m/mo/mocklib/htdocs"/>
! <sshexec host="shell.sourceforge.net"
! username="${user}"
! password="${pw}"
! command="rm /home/groups/m/mo/mocklib/${name}*.zip"/>
! </target>
</project>
--- 4,77 ----
<project name="std_buildfile" default="release" basedir="..">
! <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">
! <echo message="codecov=${codecov.report}" />
! <copy todir="${projstaging}">
! <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/*" />
! <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" /-->
! <cvs failonerror="true" command="tag ${version}"/>
!
! </target>
</project>
|