How to use directory paths stored in property file in ANT dirset or fileset?

364 views Asked by At

I need to store some directory paths in property files for ant. So I have file that contains for example:

plugins.system=plugins\\whatever
plugins.content=plugins\\example

this.is.fine=plugins
this.also.does.not.work=plugins/example

The problem is, that dirset or fileset does not find the directory. I belive, that it's due escaping. When I set property directly in build.xml without double slashes it works fine. Is there any way how to "unescape" properties when I load them?

Thank you for answer.

0

There are 0 answers