I have an Ant Build script to build my project. It is so large that it takes 40 minutes to run. Instead of running it 40 minutes and failing, I'd thought I'd ask the StackOverflow community first. Is the following legal?
<property name="configDir" value="${basedir}/../Server"/>
The value of ${basedir}
is C:\workspaces\antbuild\stephen\BuildResources
I have the ..
in the value
because I want to access the Server
folder, which is at the same level as BuildResources
. If there is another way to do this easier, please let me know. I haven't yet found a way to just extract C:\workspaces\antbuild\stephen
and then append /Server
to the end of it. Is there a default environment variable? This is in XML ant.