forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gavin" <ga...@16degrees.com.au>
Subject ForrestBot deploy.scp working anyone ?
Date Wed, 10 Sep 2008 08:19:40 GMT
Hi All,

I configured a publish.xml and settings file for SCP.

I got it to the stage where it works, but it only
deploys PDF files, all other files , .html .css etc are ignored!

The build part of it works fine and the build dir has all the files
in place.

Anyone come across this before? 
(FTP works fine bur cant use it in this case)

Here is my config :-

publish.xml
===========

<project name="docs" default="main">
<property name="notify.email.host" value="myhost"/> <!-- try localhost -->
<property name="notify.email.to" value="somename@somedomain.tld"/>
<property name="notify.email.from" value=" somename@somedomain.tld "/>
<property name="notify.administrator" value="somename&lt;
somename\@somedomain.tld >"/>
<property name="getsrc.local.root-dir" location="."/>

<!-- create this secret file to be an ant project (not stored in CVS or SVN)
that sets deploy.scp.{dest/keyfile/passphrase/password} properties.-->

<import file="../../deploy.scp.settings" optional="false"/>
   <target name="deploy" depends="deploy.scp"/>
   <target name="notify" depends="notify.local, notify.email"/>
   <target name="getsrc" depends="getsrc.clean-workdir, getsrc.local"/>
   <property environment="env"/>
   <import file="${env.FORREST_HOME}/tools/forrestbot/core/forrestbot.xml"/>
</project>

deploy.scp.settings
===================

<project>
        <property name="deploy.scp.dest"
value="user@somedomain.tld:html/dest_dir/"/>
        <property name="deploy.scp.trust" value="true"/>
        <!--<property name="deploy.scp.keyfile"
value="D:\location\to\id_dsa"/>
        <property name="deploy.scp.passphrase" value="somepass"/>-->
        <property name="deploy.scp.password" value="somepass"/>
</project>

Thanks

Gav...


Mime
View raw message