[Mocklib-checkins] gwtmocklib/bldfiles build.xml,1.5,1.6
Brought to you by:
bittwidler,
fastdragon
From: Nobody <fas...@us...> - 2006-09-14 15:30:32
|
Update of /cvsroot/mocklib/gwtmocklib/bldfiles In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv8374/bldfiles Modified Files: build.xml Log Message: fix url and tweak build file. Index: build.xml =================================================================== RCS file: /cvsroot/mocklib/gwtmocklib/bldfiles/build.xml,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** build.xml 12 Sep 2006 14:35:50 -0000 1.5 --- build.xml 14 Sep 2006 15:30:28 -0000 1.6 *************** *** 690,697 **** </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="***************************************************************" /> --- 690,706 ---- </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="***************************************************************" /> *************** *** 713,722 **** </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}" /> --- 722,725 ---- |