I'm having a problem with a specific spelling that seems to be ignored.

<foreach item="Line" in="${project.file}" property="p.name">
  <copy todir="${nant.project.basedir}\build\" failonerror="true">
    <fileset basedir="${nant.project.basedir}\${p.name}\bin\Debug\">
      <includes name="${p.name}.dll"/>
    </fileset>
  </copy>
</foreach>

My project.file include the names:
BusinessProcess
DataAccessLogic

I'm using VS 1.1 and simply need to copy two debug dll files to a build library.
The first one works fine, but the second one is ignored with no errors. It does not 
help to reverse the order of the two. 
If I change DataAccessLogic to Data, it works fine, but if I call it DataA, it is 
again ignored. Asking for the file presents no problem:

<available type="File" 
resource="${nant.project.basedir}\DataAccessLogic\bin\Debug\DataAccessLogic.dll" 
property="file.present"/>
<if propertytrue="file.present">
  <echo message="File with static path present"/>
</if>

Any suggestions?

Rune


-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to