I have just configured my ForrestBot file and have had some success.
If it helps here is my .xml file - which works to a point and ends
successfully (more below)
-------------------
<project name="apache_minitutorials" default="main">
<property name="notify.email.host" value="smtp.mymail.host"/>
<property name="notify.email.to" value="[EMAIL PROTECTED]"/>
<property name="notify.email.from" value="localhost"/>
<property name="notify.administrator" value="Gavin<[EMAIL PROTECTED]>"/>
<property name="getsrc.local.root-dir" location="e:/web/forrest_gump"/>
<!-- Deploy using FTP -->
<property name="deploy.ftp.server" value="ftp.minitutorials.com"/>
<property name="deploy.ftp.user" value="username"/>
<property name="deploy.ftp.password" value="password"/>
<property name="deploy.ftp.remotedir" value="/path/to/site-root/"/>
<target name="deploy" depends="deploy.ftp"/>
<!-- here we specify to use two notification implementations -->
<target name="notify" depends="notify.local, notify.email"/>
<!-- the default implementation for getsrc is getsrc.cvs, which is what we
want (but not what I want so over ride it) -->
<target name="getsrc" depends="getsrc.local"/>
<!-- assumes FORREST_HOME has been set as an environment variable -->
<property environment="env"/>
<import file="${env.FORREST_HOME}/tools/forrestbot/core/forrestbot.xml"/>
</project>
-------------------
Now, the main build fails because of ls.contracts.xml and another couple of
Broken files,
due to me using v2 I suspect.
A local log is successfully created and an email is successfully sent, both
containing
the build errors , the FTP part of this file however does not work, I am
wondering if this is because the main build fails.
Or do I have a configuration error somewhere in my forrestbot xml file
above.?
The forrestbot itself ends with 'Build Successful'
----- Original Message -----
From: "David Crossley" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, October 28, 2005 12:25 PM
Subject: Re: Trying to run forrestbot...
| David Crossley wrote:
| > Flavio Cordova wrote:
| > >
| > > <property name="getsrc.local.root-dir"
location="c:/work/prounit-docs"/>
| > > <property name="build.work-dir" value="tmp/work"/>
| > > <property name="build.log-dir" value="tmp/logs"/>
| > > <property name="deploy.local.dir" value="deploy-docs"/>
|
| Is that "location" correct? Does forrestbot find the
| sources okay? We are on unix, so not much help with Windows.
|
| -David
|
|
| --
| This message was scanned for spam and viruses by BitDefender.
| For more information please visit http://linux.bitdefender.com/
|
|
|
| --
| No virus found in this incoming message.
| Checked by AVG Free Edition.
| Version: 7.1.362 / Virus Database: 267.12.5/150 - Release Date: 27/10/2005
|
|
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.362 / Virus Database: 267.12.5/150 - Release Date: 27/10/2005
--
This message was scanned for spam and viruses by BitDefender.
For more information please visit http://linux.bitdefender.com/