You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by sc...@apache.org on 2005/05/03 20:07:39 UTC
svn commit: r167944 - /myfaces/trunk/build/bootstrap.properties
/myfaces/trunk/build/bootstrap.properties.local.sample
/myfaces/trunk/build/bootstrap.xml
Author: schof
Date: Tue May 3 11:07:38 2005
New Revision: 167944
URL: http://svn.apache.org/viewcvs?rev=167944&view=rev
Log:
fixed bootstrap.xml so its using svn instead of cvs
Modified:
myfaces/trunk/build/bootstrap.properties
myfaces/trunk/build/bootstrap.properties.local.sample
myfaces/trunk/build/bootstrap.xml
Modified: myfaces/trunk/build/bootstrap.properties
URL: http://svn.apache.org/viewcvs/myfaces/trunk/build/bootstrap.properties?rev=167944&r1=167943&r2=167944&view=diff
==============================================================================
--- myfaces/trunk/build/bootstrap.properties (original)
+++ myfaces/trunk/build/bootstrap.properties Tue May 3 11:07:38 2005
@@ -1,5 +1,2 @@
-project.name=incubator-myfaces
-cvs.server=cvs.apache.org
-cvs.repository=/home/cvspublic
-cvs.username=anoncvs
-cvs.password=anoncvs
+project.name=myfaces
+svn.repository=https://svn.apache.org/repos/asf
Modified: myfaces/trunk/build/bootstrap.properties.local.sample
URL: http://svn.apache.org/viewcvs/myfaces/trunk/build/bootstrap.properties.local.sample?rev=167944&r1=167943&r2=167944&view=diff
==============================================================================
--- myfaces/trunk/build/bootstrap.properties.local.sample (original)
+++ myfaces/trunk/build/bootstrap.properties.local.sample Tue May 3 11:07:38 2005
@@ -1,3 +1,3 @@
apache.username=foo
apache.password=bar
-release.dir=c:\foo
\ No newline at end of file
+release.dir=c:\\foo
\ No newline at end of file
Modified: myfaces/trunk/build/bootstrap.xml
URL: http://svn.apache.org/viewcvs/myfaces/trunk/build/bootstrap.xml?rev=167944&r1=167943&r2=167944&view=diff
==============================================================================
--- myfaces/trunk/build/bootstrap.xml (original)
+++ myfaces/trunk/build/bootstrap.xml Tue May 3 11:07:38 2005
@@ -10,6 +10,8 @@
<taskdef name="scp" classname="org.apache.tools.ant.taskdefs.optional.ssh.Scp"/>
<taskdef name="sshexec" classname="org.apache.tools.ant.taskdefs.optional.ssh.SSHExec"/>
+ <taskdef name="svn-checkout" classname="com.alternatecomputing.jsvn.ant.SvnCheckout"/>
+ <taskdef name="svn-update" classname="com.alternatecomputing.jsvn.ant.SvnUpdate"/>
<!-- use properties file to determine cvs configuration info -->
<property file="bootstrap.properties"/>
@@ -26,28 +28,21 @@
</fail>
<!-- use latest version if version is not specified -->
- <condition property="cvs.tag" value="HEAD">
+ <condition property="svn.tag" value="trunk">
<and>
<not>
<isset property="build.version"/>
</not>
</and>
</condition>
- <condition property="cvs.tag" value="rel_${build.version}">
+ <condition property="svn.tag" value="tags/rel_${build.version}">
<and>
<isset property="build.version"/>
</and>
</condition>
- <condition property="build.version" value="HEAD">
- <and>
- <not>
- <isset property="build.version"/>
- </not>
- </and>
- </condition>
<echo message="build.version=${build.version}"/>
- <echo message="cvs.tag=${cvs.tag}"/>
+ <echo message="svn.tag=${svn.tag}"/>
<!-- determine if the files have been checked out already -->
<available file="${project.name}" type="dir" property="already.checked.out"/>
@@ -66,55 +61,25 @@
<delete dir="${checkout.dir}"/>
</target>
- <target name="cvs-checkout" depends="prepare" unless="already.checked.out">
-
- <echo message="cvs.server = ${cvs.server}"/>
- <echo message="cvs.repository = ${cvs.repository}"/>
- <echo message="cvs.username = ${cvs.username}"/>
- <echo message="cvs.password = ${cvs.password}"/>
-
- <!-- login to cvs -->
- <cvspass cvsroot=":pserver:${cvs.username}@${cvs.server}:${cvs.repository}"
- password="${cvs.password}"
- passfile=".cvspass"/>
-
- <cvs cvsroot=":pserver:${cvs.username}@${cvs.server}:${cvs.repository}"
- dest="."
- command="checkout"
- tag="${cvs.tag}"
- package="${project.name}"
- quiet="true"/>
+ <target name="svn-checkout" depends="prepare" unless="already.checked.out">
- </target>
+ <echo message="svn.repository = ${svn.repository}"/>
+ <echo message="project.name = ${project.name}"/>
- <target name="cvs-update" depends="prepare" if="already.checked.out">
-
- <!-- login to cvs -->
- <cvspass cvsroot=":pserver:${cvs.username}@${cvs.server}:${cvs.repository}"
- password="${cvs.password}"/>
-
- <cvs cvsroot=":pserver:${cvs.username}@${cvs.server}:${cvs.repository}"
- dest="."
- command="update -dP"
- package="${project.name}"
- quiet="true"/>
+ <svn-checkout repositoryUrl="${svn.repository}/${project.name}/${svn.tag}" destination="${project.name}"/>
</target>
- <target name="cvs-list" description="Lists all of the projects in the CVS repository">
+ <target name="svn-update" depends="prepare" if="already.checked.out">
+
+ <echo message="svn.repository = ${svn.repository}"/>
+ <echo message="project.name = ${project.name}"/>
- <!-- login to cvs -->
- <cvspass cvsroot=":pserver:${cvs.username}@${cvs.server}:${cvs.repository}"
- password="${cvs.password}"/>
-
- <cvs cvsroot=":pserver:${cvs.username}@${cvs.server}:${cvs.repository}"
- dest="."
- command="ls -q"
- quiet="true"/>
+ <svn-update repositoryUrl="${svn.repository}/${project.name}/${svn.tag}" target="${project.name}"/>
</target>
- <target name="nightly" depends="cvs-checkout,cvs-update">
+ <target name="nightly" depends="svn-checkout,svn-update">
<echo message="build.dir: ${build.dir}"/>
<echo message="building nigthly for ${project.name} ..." level="debug"/>
@@ -138,7 +103,7 @@
</target>
- <target name="release" depends="check,cvs-checkout,cvs-update">
+ <target name="release" depends="check,svn-checkout,svn-update">
<echo message="build.dir: ${build.dir}"/>
<echo message="building release for ${project.name} ..." level="debug"/>