calculating relative paths

2009-09-07 Thread Andy Stevens
Hi, Is there an easy way to calculate an arbitrary relative path between two files? Part of my Ant script copies a default configuration file to a build folder, in the course of which I modify it (with xmltask) with the location of some source files. At the moment I'm using to get the absolute p

Re: access cvs with ssh in windows

2009-09-07 Thread supareno
Júlio, you can install cygwin: http://www.cygwin.com/ it will emulate ssh supareno Hello I am trying t access a cvs server from a ant task (running in a Windows system)..When a test in a Linux system everything goes right..but in windows the task doesnot conect in the cvs server.. the output i

Re: Delete N directories that match a regexp

2009-09-07 Thread Dominique Devienne
On Mon, Sep 7, 2009 at 6:28 AM, Daniel Steinmann wrote: > Matt Benson wrote: >> (given same dirset id=ds) >>   >>     >>   >>   ${includes} >>   >>     >>   >>   > But I have problems with the to= part of the regex pattern on Windows. The > file.separator on Windows is the backslash, which i

Re: Delete N directories that match a regexp

2009-09-07 Thread Daniel Steinmann
Matt Benson wrote: > > > (given same dirset id=ds) > > > > ${includes} > > > > > > Great tip! But I have problems with the to= part of the regex pattern on Windows. The file.separator on Windows is the backslash, which is the escape character for the regex. Theref