Not a buildin.
1) use <replaceregexp> for changing the cache file outside of <modified> or
2) provide your own
org.apache.tools.ant.types.selectors.modifiedselector.Cache implementation.
   You could build a proxy for the PropertiesfileCache and change the access
key from 
   absolute filename another in the get/put method.


Jan

> -----Urspr�ngliche Nachricht-----
> Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Gesendet am: Mittwoch, 16. Februar 2005 12:12
> An: [email protected]
> Betreff: Specifying base dir with <modified> ?
> 
> Hi,
> 
> to avoid copying a lot of files to a remote server with a 
> <scp> task, I am using a <modified> selector to upload only 
> modified files.
> 
> The <modified> selector uses a cache.properties file to put 
> informations about the files that has already been uploaded, 
> but the "absolute" path of each file is used to store 
> informations. Is there a way to have "relative" path ?
> 
> For example, I have in the cache.properties file :
> C:\Test\VersionA.txt:....
> 
> I would like to specify that C:\Test is the base directory so 
> that I have instead:
> VersionA.txt:....
> 
> I am looking for this because the project is shared under CVS 
> and checked out at different locations depending on the 
> computer, so I can't put the cache.properties file under CVS.
> 
> Thanks for any help,
> 
> Nicolas
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

Reply via email to