Bugs item #991079, was opened at 2004-07-14 12:27
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=991079&group_id=31650

Category: Core
Group: 0.85
Status: Open
Resolution: None
Priority: 5
Submitted By: David Chu (chudq)
Assigned to: Nobody/Anonymous (nobody)
Summary: enhancement for property and fileset

Initial Comment:
I could not find a place here for submitting
enhancement requirement or wish list, so I post this
message here. It is not a bug.  It is just a list of
enhancement wish.

It would be nice if property and fileset tags support
index attribute so that they be indexed like an array:

<property name="build_optn" value="..." index="0" ... />
<property name="build_optn" value="..." index="1" ... />
<property name="build_optn" value="..." index="auto" ... />

<fileset id="project" index="0">
...
</fileset>

<fileset id="project" index="1">
...
</fileset>

<fileset id="project" index="1">
...
</fileset>

The attribute index can be either integer or auto. 

If these options were available, it would be much
simple to create a build file to build a set of
projects like this:

<target name="build">
 <foreach item="Fileset" in="project" property="indexI">
  <do>
   <cl ... options="${property::get-value(build_optn)}">
    <sources refid="${fileset::get-id(project, indexI)}" />
  </do>
 </foreach>
</target>

Here there are some more wish list: 
1. update for foreach tag to support fileset and
property arrays
2. update function to get property value for array
3. add function to get fileset refid

I would like to build projects in this way, so that
only property and fileset would be updated and no need
to touch targets (simplified as well) for maintenance
and updates.

David Chu

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=991079&group_id=31650


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to