Update of /cvsroot/squirrel-sql/sql12/build/snapshot
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv26600/build/snapshot
Modified Files:
build-weekly.xml
Log Message:
Updates to use subversion (hard-coded for now - will be switching to Maven soon).
Index: build-weekly.xml
===================================================================
RCS file: /cvsroot/squirrel-sql/sql12/build/snapshot/build-weekly.xml,v
retrieving revision 1.32
retrieving revision 1.33
diff -C2 -d -r1.32 -r1.33
*** build-weekly.xml 1 Mar 2010 00:45:12 -0000 1.32
--- build-weekly.xml 31 Mar 2010 22:56:48 -0000 1.33
***************
*** 143,147 ****
<!-- create the source archive for this snapshot -->
! <target name="createsourcearchive" depends="cvsexport">
<!-- Copy the (potentially) modified Version.java over the cvsexport'd one -->
<copy file="${version.dest.filename}"
--- 143,147 ----
<!-- create the source archive for this snapshot -->
! <target name="createsourcearchive" depends="svnexport">
<!-- Copy the (potentially) modified Version.java over the cvsexport'd one -->
<copy file="${version.dest.filename}"
***************
*** 239,242 ****
--- 239,256 ----
</target>
+ <target name="svnco" depends="init" if="targettest">
+ <delete includeEmptyDirs="true" quiet="true">
+ <fileset dir="${cvs.dest.dir}" defaultexcludes="no">
+ </fileset>
+ </delete>
+ <mkdir dir="${cvs.dest.dir}/${project.module}"/>
+ <exec executable="svn" dir="${cvs.dest.dir}">
+ <arg value="co"/>
+ <arg value="https://squirrel-sql.svn.sourceforge.net/svnroot/squirrel-sql/trunk/sql12"/>
+ <arg value="sql12"/>
+ <arg value="--quiet"/>
+ </exec>
+ </target>
+
<!-- this deletes the files underneath cvs.dest.dir, then checks out the
distribution from the CVS repository -->
***************
*** 256,259 ****
--- 270,287 ----
</target>
+ <target name="svnexport">
+ <delete includeEmptyDirs="true" quiet="true">
+ <fileset dir="${dist.dir}/src" defaultexcludes="no">
+ </fileset>
+ </delete>
+ <mkdir dir="${dist.dir}/src"/>
+ <exec executable="svn" dir="${dist.dir}/src">
+ <arg value="export"/>
+ <arg value="-r"/>
+ <arg value="${cvs.tag}"/>
+ <arg value="--force"/>
+ </exec>
+ </target>
+
<!-- exports the source (minus the CVS directories) from the repository. -->
<target name="cvsexport">
***************
*** 525,529 ****
<antcall target="testtrue">
! <param name="targettocall" value="cvsco"/>
<param name="propertyvalue" value="${delete.dest.dir}"/>
</antcall>
--- 553,557 ----
<antcall target="testtrue">
! <param name="targettocall" value="svnco"/>
<param name="propertyvalue" value="${delete.dest.dir}"/>
</antcall>
|