Here is a real file example from CI Factory:
<property name="Alerts.UnitTests.PreviousPropertiesFilePath"
value="${PackagesDirectory}\Alerts\UnitTests\Previous.Properties.xml"/>
<ifthenelse test="${file::exists(
Alerts.UnitTests.PreviousPropertiesFilePath)}">
<then>
<include buildfile="${Alerts.UnitTests.PreviousPropertiesFilePath}" />
</then>
<else>
<echo level="Warning" message="File Does Not Exist: ${
Alerts.UnitTests.PreviousPropertiesFilePath}"/>
</else>
</ifthenelse>
--
Jay Flowers
----------------------------------------------------------------------
http://jayflowers.com
---------------------------------------------------------------------
On 8/28/07, Mike Frederick <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I would like to be able to determine at run-time the name of an include
> file. Is it possible to do this? The include file contains nothing but
> a large set of <property> tasks to define build parameters.
>
> Or do I just need to precede my nant execution by shoving the correct
> include file into place?
>
> --
> Mike Frederick
> [EMAIL PROTECTED]
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> NAnt-users mailing list
> NAnt-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nant-users
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users