Title: Configuring lists in the Build File

What is the best technique to use for building lists, and is there a Task that can be used to enumerate them?

Example, I would like to be able to specify multiple targets for creating a virtual directory:

<property name="ServersForDeployment">

        <list>

                <item name="development" />

                <item name="staging" />

        </list>

</property>

I would then like to have something like this in the build script:

<enumerate list="ServersForDeployment>

        <mkiisdir dirpath="${build.dir}" vdirname="${iispath}" iisserver="${enumerate::name(.)}" />

</enumerate>

The purpose of this is to templatize the creation of build scripts such for attributes that do not support a file list or object collection.  I do not see anything like this in the docs for 0.85.

Payton Byrd

Trane eBusiness

QED Team

Phone: 931-905-5386 

Fax: 931-648-5901

Reply via email to