AW: calculating relative paths

2009-09-09 Thread Jan.Materne
nrw.de [mailto:jan.mate...@rzf.fin-nrw.de] >Gesendet: Mittwoch, 9. September 2009 11:30 >An: user@ant.apache.org >Betreff: AW: calculating relative paths > >>Perhaps I should raise an enhancement request. A couple of new >>attributes "relative" (default false) and &quo

AW: calculating relative paths

2009-09-09 Thread Jan.Materne
>Perhaps I should raise an enhancement request. A couple of new >attributes "relative" (default false) and "basedir" (default >${basedir}) that can be used in conjunction with the "location" >attribute seem a relatively minor addition, and would reduce my >problem to relative="true" basedir="${bui

AW: calculating relative paths

2009-09-08 Thread Jan.Materne
I am not aware of any built in task, but there is a method in FileUtils you could use. Jan or as java code (task) import java.io.File; import org.apache.tools.ant.Task; import org.apache.tools.a