You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by br...@apache.org on 2004/04/21 02:20:07 UTC
svn commit: rev 10140 - in xml/forrest/trunk: legal scratchpad/forrestbot2/core src/documentation/content/xdocs tools/ant/lib
Author: brondsem
Date: Tue Apr 20 17:20:05 2004
New Revision: 10140
Added:
xml/forrest/trunk/legal/jsch-0.1.14.jar.license.txt
xml/forrest/trunk/tools/ant/lib/ant-jsch.jar (contents, props changed)
xml/forrest/trunk/tools/ant/lib/jsch-0.1.14.jar (contents, props changed)
Modified:
xml/forrest/trunk/scratchpad/forrestbot2/core/deploy.xml
xml/forrest/trunk/src/documentation/content/xdocs/forrestbot.xml
Log:
deploy.scp workstage
Added: xml/forrest/trunk/legal/jsch-0.1.14.jar.license.txt
==============================================================================
--- (empty file)
+++ xml/forrest/trunk/legal/jsch-0.1.14.jar.license.txt Tue Apr 20 17:20:05 2004
@@ -0,0 +1,29 @@
+JSch 0.0.* was released under the GNU LGPL license. Later, we have switched
+over to a BSD-style license.
+
+------------------------------------------------------------------------------
+Copyright (c) 2002,2003,2004 ymnk, JCraft,Inc. All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+ 1. Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+
+ 2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in
+ the documentation and/or other materials provided with the distribution.
+
+ 3. The names of the authors may not be used to endorse or promote products
+ derived from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
+INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
+FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL JCRAFT,
+INC. OR ANY CONTRIBUTORS TO THIS SOFTWARE BE LIABLE FOR ANY DIRECT, INDIRECT,
+INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
+OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Modified: xml/forrest/trunk/scratchpad/forrestbot2/core/deploy.xml
==============================================================================
--- xml/forrest/trunk/scratchpad/forrestbot2/core/deploy.xml (original)
+++ xml/forrest/trunk/scratchpad/forrestbot2/core/deploy.xml Tue Apr 20 17:20:05 2004
@@ -28,6 +28,13 @@
<!-- set a property to be used in the notify target -->
<property name="notify.deploy-location" value="${deploy.local.dir}"/>
</target>
+
+ <property name="deploy.scp.dest" value=""/>
+ <target name="deploy.scp">
+ <scp todir="${deploy.scp.dest}">
+ <fileset dir="${build.site-dir}"/>
+ </scp>
+ </target>
<property name="deploy.cvs.user" value="anoncvs"/>
<property name="deploy.cvs.password" value="anoncvs"/>
@@ -52,7 +59,7 @@
<copy todir="${deploy.cvsmodule-dir}/${deploy.cvs.module}">
<fileset dir="${build.site-dir}"/>
</copy>
- <!-- add new files to CVS -->
+ <!-- add new files to CVS -->
<!-- check in to CVS -->
<cvs command="commit" cvsRoot="${deploy.cvs.fullroot}"
dest="${deploy.cvsmodule-dir}/${deploy.cvs.module}"
Modified: xml/forrest/trunk/src/documentation/content/xdocs/forrestbot.xml
==============================================================================
--- xml/forrest/trunk/src/documentation/content/xdocs/forrestbot.xml (original)
+++ xml/forrest/trunk/src/documentation/content/xdocs/forrestbot.xml Tue Apr 20 17:20:05 2004
@@ -23,11 +23,10 @@
<body>
<warning>This documentation applies to the forrestbot in the current
- development version (i.e. svn trunk) and not the
- forrestbot included with Forrest 0.5.1 or any previous release.
- Documentation for that forrestbot is <link
- href="site:forrestbot-old">here</link>. This page is incomplete and may have
- errors.</warning>
+ development version (i.e. svn trunk) and not the forrestbot included with
+ Forrest 0.5.1 or any previous release. Documentation for that forrestbot
+ is <link href="site:forrestbot-old">here</link>. This page is incomplete
+ and may have errors.</warning>
<section>
<title>Using Forrestbot</title>
@@ -61,9 +60,9 @@
</source>
<p>First, set properties needed by the workstages you are going to use.
- Here, we set properties that will be used by notify.email and getsrc.cvs.
- Next, specify what implementations will be used by each workstage. By
- default, 'local' will be used.</p>
+ Here, we set properties that will be used by notify.email and
+ getsrc.cvs. Next, specify what implementations will be used by each
+ workstage. By default, 'local' will be used.</p>
<table>
<tr>
@@ -96,7 +95,9 @@
<td>deploy</td>
<td><ul>
- <li><link href="#getsrc.local">local</link></li>
+ <li><link href="#deploy.local">local</link></li>
+
+ <li><link href="#deploy.scp">scp</link></li>
</ul></td>
</tr>
@@ -235,8 +236,8 @@
<tr>
<td>getsrc.cvs.module</td>
- <td>CVS module name (an alias, or full path) to the directory that
- contains forrest.properties</td>
+ <td>CVS module name (an alias, or full path) to the directory
+ that contains forrest.properties</td>
<td>${ant.project.name}</td>
@@ -273,7 +274,7 @@
<td>getsrc.svn.url</td>
<td>full repository URL for project (this directory must contain
- forrest.properties) </td>
+ forrest.properties)</td>
<td></td>
@@ -328,7 +329,7 @@
</table>
</section>
- <section id="deploy.local">
+ <section id="deploy.scp">
<title>deploy.local</title>
<table>
@@ -355,6 +356,37 @@
</table>
</section>
+ <section id="deploy.local">
+ <title>deploy.scp</title>
+
+ <p>${user.home}/.ssh/known_hosts must properly recognize the host,
+ so you should manually make an ssh connection to the host if you
+ never have before.</p>
+
+ <table>
+ <tr>
+ <th>Property</th>
+
+ <th>Description</th>
+
+ <th>Default Value</th>
+
+ <th>Required?</th>
+ </tr>
+
+ <tr>
+ <td>deploy.scp.dest</td>
+
+ <td>Full destination reference in the format
+ user[:password]@host:/directory/path</td>
+
+ <td></td>
+
+ <td>Yes</td>
+ </tr>
+ </table>
+ </section>
+
<section id="notify">
<title>notify</title>
@@ -460,9 +492,9 @@
<section>
<title>Forrestbot design</title>
- <p>Forrest and forrestbot use ant buildfiles extensively. Ant 1.6's import
- task is used to import multiple buildfiles into a single build. The
- following is the flow of control when running forrestbot:</p>
+ <p>Forrest and forrestbot use ant buildfiles extensively. Ant 1.6's
+ import task is used to import multiple buildfiles into a single build.
+ The following is the flow of control when running forrestbot:</p>
<ul>
<li>Your buildfile<ul>
@@ -476,11 +508,11 @@
<p>The workstage buildfiles set up the properties and files so that the
main forrest buildfile (forrest.build.xml) will run. After it is run,
- other workstages buildfiles can implement reporting, deployment, or other
- post-build activities.</p>
+ other workstages buildfiles can implement reporting, deployment, or
+ other post-build activities.</p>
<p>Your buildfile can specify which workstages you want to use, set
properties for them, and do any additional pre- and post-processing.</p>
</section>
</body>
-</document>
+</document>
\ No newline at end of file
Added: xml/forrest/trunk/tools/ant/lib/ant-jsch.jar
==============================================================================
Binary file. No diff available.
Added: xml/forrest/trunk/tools/ant/lib/jsch-0.1.14.jar
==============================================================================
Binary file. No diff available.