There are two ways. My original plan for the CLI was to allow the CLI to do its own FTP with modifiable sources, then when I clicked to the benefits of Ant, modifiable sources didn't seem quite so important.On Wed, 18 Feb 2004 17:57:05 +0100 "Boris Althaus" <[EMAIL PROTECTED]> wrote:
Hello everyone,
i tried out the offline-generation capabilities of Cocoon.
To generate the project to local disk is no problem at
all. But how I can invoke the generation with a Modifiable Source for a ftp-transfer?
Boris
Hi,
i think you should ude the ant-task. Ant can publish with
ftp.
So, you can:
1) Use Ant task to build site, then have Ant upload the site with FTP (or better, SCP), or
2) Use a modifiable source - there is one now a modifiable FTP source in the Excalibur source package, which should mean that you can just use ftp://[EMAIL PROTECTED]:host/path/file as your destination URI.
The question is, how to best prevent the uploading of unchanged files. There is 'unannounced' code in Cocoon to do this, but Ant is probably better at it. I believe it can store checksums locally, and use them to decide whether a file has changed, and then only upload changed files.
HTH.
Regards, Upayavira
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
