myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sc...@apache.org
Subject cvs commit: incubator-myfaces/build bootstrap.properties bootstrap.properties.local.sample bootstrap.xml
Date Thu, 31 Mar 2005 03:33:32 GMT
schof       2005/03/30 19:33:32

  Modified:    build    bootstrap.xml
  Added:       build    bootstrap.properties
                        bootstrap.properties.local.sample
  Log:
  Bootstrap now publishes nightly build to cvs.apache.org using scp
  
  Revision  Changes    Path
  1.2       +10 -5     incubator-myfaces/build/bootstrap.xml
  
  Index: bootstrap.xml
  ===================================================================
  RCS file: /home/cvs/incubator-myfaces/build/bootstrap.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- bootstrap.xml	29 Mar 2005 16:26:52 -0000	1.1
  +++ bootstrap.xml	31 Mar 2005 03:33:32 -0000	1.2
  @@ -8,8 +8,12 @@
   -->
   <project name="Bootstrap Build Script" default="nightly" basedir=".">
   
  +    <taskdef name="scp" classname="org.apache.tools.ant.taskdefs.optional.ssh.Scp"/>
  +    <taskdef name="sshexec" classname="org.apache.tools.ant.taskdefs.optional.ssh.SSHExec"/>
  +
       <!-- use properties file to determine cvs configuration info -->
       <property file="bootstrap.properties"/>
  +    <property file="bootstrap.properties.local"/>
       <property name="checkout.dir" value="${project.name}"/>
       <property name="build.dir" value="${basedir}/${project.name}/build"/>
       <property name="temp.dir" value="${build.dir}/temp"/>
  @@ -126,6 +130,12 @@
   
           <!-- execute the nightly build file that was just checked out -->
           <ant dir="${build.dir}" target="release" inheritRefs="true"/>
  +
  +        <!-- publish the nightly build file -->
  +        <scp todir="${apache.username}:${apache.password}@cvs.apache.org:/www/cvs.apache.org/builds/myfaces/nightly"
trust="yes">
  +            <fileset dir="${release.dir}"/>
  +        </scp>
  +
       </target>
   
       <target name="release" depends="cvs-checkout,cvs-update">
  @@ -143,8 +153,3 @@
       </target>
   
   </project>
  -
  -
  -
  -
  -
  
  
  
  1.1                  incubator-myfaces/build/bootstrap.properties
  
  Index: bootstrap.properties
  ===================================================================
  project.name=incubator-myfaces
  cvs.server=cvs.apache.org
  cvs.repository=/home/cvspublic
  cvs.username=anoncvs
  cvs.password=anoncvs
  
  
  
  1.1                  incubator-myfaces/build/bootstrap.properties.local.sample
  
  Index: bootstrap.properties.local.sample
  ===================================================================
  apache.username=foo
  apache.password=bar
  
  

Mime
View raw message