Hi Craig,

Thank you for taking care of this matter.

I was pretty sure I tested a relative path and that it did not work.
But the code seems to be taking care of relative paths alright, so I
checked again (with TRACE level logs) and it seems I was wrong.
Paths in the folderExistsCondition *are* relative
Sorry for this false alarm.

Mathieu

On 18 fév, 01:35, "Craig Sutherland" <[email protected]>
wrote:
> Hi Mac,
>
> I have gone and updated the Ftp task to use relative paths - however it
> looks like the path in folderExistsCondition is already a relative path?
>
> Craig
>
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On
>
> Behalf Of Mac
> Sent: Wednesday, 16 February 2011 3:16 a.m.
> To: ccnet-user
> Subject: [ccnet-user] Conditional and FTP tasks handling of relative
> directories
>
> Hi all,
>
> I have just been caught by this feature: almost every task in CCNet
> understands relative directories (from the current working directory).
> For instance the sourceDir property of the buildPublisher task, or the
> attachments property of the email task.
>
> But the following properties do not (I checked the source code to be
> sure) :
> * folderExistsCondition in the conditional task.
> * localFolderName in the FTP task.
>
> I got mislead by that, and I suppose other people will/have been. So I
> suggest (either) :
> * make these properties understand relative folders (preferred IMHO).
> * or make it clear in the documentation that paths must be complete for
> these properties.
>
> What do you think?
>
> Mac

Reply via email to