How to convert relative path in Ant to absolute path?

I would like to convert a relative path to an absolute path.

How it's done?

+67
ant
Jun 28 '10 at 23:26
source share
1 answer

The location attribute in the property task converts relative paths to absolute paths.

<property name="absolute.path" location="${relative.path}"/> 
+102
Jun 28 '10 at 23:29
source share



All Articles