Update of /cvsroot/mocklib/mocklib3/bldfiles
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv19035/bldfiles
Modified Files:
design.xml build.xml
Removed Files:
release.xml
Log Message:
changes to mocklib3 to prepare for delivery.
Index: design.xml
===================================================================
RCS file: /cvsroot/mocklib/mocklib3/bldfiles/design.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** design.xml 10 Sep 2006 22:35:21 -0000 1.2
--- design.xml 12 Sep 2006 02:21:00 -0000 1.3
***************
*** 24,32 ****
</package>
! <package name="impl" package="biz.xsoftware.mock.impl">
<depends>api</depends>
</package>
! <package name="testImpl" package="biz.xsoftware.mock.impl.test">
<depends>api</depends>
<depends>impl</depends>
--- 24,32 ----
</package>
! <package name="impl" package="biz.xsoftware.impl.mock">
<depends>api</depends>
</package>
! <package name="testImpl" package="biz.xsoftware.impl.mock.test">
<depends>api</depends>
<depends>impl</depends>
Index: build.xml
===================================================================
RCS file: /cvsroot/mocklib/mocklib3/bldfiles/build.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** build.xml 12 Sep 2006 01:46:52 -0000 1.3
--- build.xml 12 Sep 2006 02:21:00 -0000 1.4
***************
*** 178,186 ****
<mkdir dir="${libexclude}"/>
<mkdir dir="${staging.in}"/>
- <mkdir dir="${properties}"/>
- <mkdir dir="${scripts}"/>
- <mkdir dir="${test.input}"/>
- <mkdir dir="${native}"/>
- <mkdir dir="${schemas}"/>
<mkdir dir="${jardist}"/>
--- 178,181 ----
***************
*** 232,247 ****
<exclude name="**/.nbattrs"/>
</fileset>
- <!-- copy all *.property files or other misc. files over(*.gif, *.jpg, etc.)
- from the ${properties} directory -->
- <fileset dir="${properties}">
- <exclude name="**/*.java"/>
- <exclude name="**/*.bak"/>
- <exclude name="**/*~"/>
- </fileset>
</copy>
-
- <!-- convert any asian languages from UTF-8 to ascii so they can be used-->
- <native2ascii encoding="UTF-8" src="${properties}" dest="${build}"
- includes="**/*.utf8-properties" ext=".properties"/>
<!--check for rmi stubs so if there are we will do the next target-->
--- 227,231 ----
***************
*** 397,414 ****
</target>
- <!--
- ================================================================================
- Creates the distribution
- ================================================================================
- -->
- <target name="createdist" depends="jar" description="Creates the distribution">
- <mkdir dir="${dist}"/>
- <mkdir dir="${staging}"/>
-
- <copy todir="${staging}">
- <fileset dir="${staging.in}" includes="**/*"/>
- </copy>
-
- </target>
<!--
--- 381,384 ----
***************
*** 648,654 ****
***********************************************************************
-->
! <target name="release" depends="all" description="Builds official release">
! <ant antfile="${config}/release.xml" inheritRefs="true"/>
</target>
<!--
***********************************************************************
--- 618,692 ----
***********************************************************************
-->
! <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/*" />
+ <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>
<!--
***********************************************************************
***************
*** 680,683 ****
--- 718,722 ----
<fileset dir="${javacode}">
<include name="**/.java"/>
+ <exclude name="**/impl/**"/>
</fileset>
--- release.xml DELETED ---
|