How do I convert a relative path in Ant to an absolute path?

前端 未结 1 819
长情又很酷
长情又很酷 2021-01-31 01:15

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

How is that done?

相关标签:
1条回答
  • 2021-01-31 01:51

    The location attribute on the property task will convert relative paths to absolute.

    <property name="absolute.path" location="${relative.path}"/>
    
    0 讨论(0)
提交回复
热议问题