Update of /cvsroot/mocklib/mocklib3/bldfiles
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv7129/bldfiles
Modified Files:
build.xml
Log Message:
change delivery mechanism slightly.
Index: build.xml
===================================================================
RCS file: /cvsroot/mocklib/mocklib3/bldfiles/build.xml,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** build.xml 12 Sep 2006 03:39:25 -0000 1.6
--- build.xml 14 Sep 2006 15:27:57 -0000 1.7
***************
*** 657,664 ****
</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="***************************************************************" />
--- 657,673 ----
</target>
+ <target name="releaseDocs" depends="createdist" if="password">
+ <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" /-->
+
+ </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="releaseDocs" if="password">
<echo message="***************************************************************" />
<echo message="***************************************************************" />
***************
*** 680,689 ****
</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}"/>
--- 689,692 ----
|