>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 <property name="relpath" location="${src.dir}"
>relative="true" basedir="${build.dir}/xsltdoc"/>
>Any of the developers care to comment?
The enhancement of <property location/> seems to be good candidate.
<property value="my/file.txt"/>
--> my/file.txt
<property location="my/file.txt"/>
--> path/to/projectbasedir/my/file.txt
<property location="my/file.txt" relative="true"/>
--> my/file.txt
<property location="my/file.txt" relative="true" basedir="my"/>
--> file.txt
<property location="my/file.txt" relative="true" basedir="my/dir"/>
--> ../my/file.txt
<property location="my/file.txt" relative="true" basedir=".."/>
--> projectbasedir/my/file.txt
Jan
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]