Hi All,
Quick question. I'm writing a ant script to compile code with PCT and have numerous tasks that have the same propath but with different databases.
I can setup dbconnectionsets absolutely fine to reuse in each of the tasks.
Is there a way to do something similar for propath so I can define it once and reference it from each task.
Thanks
Paul
You can set up a named path outside of your targets like so:
<path id="foo">
<pathelement location="c:\bar" />
</path>
PCT calls use it with the line:
<propath refid="foo" />
You can set up a named path outside of your targets like so:
<path id="foo">
<pathelement location="c:\bar" />
</path>
PCT calls use it with the line:
<propath refid="foo" />
Additionally, you can do the following if you wanted to add any elements to your base path for certain calls:
<propath>
<path refid="foo" />
<pathelement location="d:\bar" />
</propath>
Brilliant thanks for that.