> Does CI mean "check in " or "continuous integration"?

Sorry ... continuous integration, though I am doing my testing running
Nant directly from the command line.

> NAnt only deals with the if/unless/ifnot control 
> facilities at the task level.

Ouch.  I really hoped to avoid building the file from scratch (hence the
<solution> tag).  What about the <foreach> node?  I have the following:

<target name="debug" depends="update">
  <if test="${webmap.exists}">
    <foreach item="Line" in="webmap.config" delim="|"
property="url,path">
      <echo message="URL = '${url}'" />
      <echo message="PATH = '${path}'" />
    </foreach>
    <solution ... >
      <webmap>
        <foreach item="Line" in="webmap.config" delim="|"
property="url,path">
          <map url="${url}" path="${ccnet.working.directory}\${path}" />
        </foreach>
      </webmap>
    </solution>
  </if>
</target>

The result is this:

debug:
     [echo] URL = 'http://localhost/Project.Web/Project.Web.csproj'
     [echo] PATH = 'Project.Web\Project.Web.csproj'
 [solution] Starting solution build.

BUILD FAILED

Cannot build web project
'http://localhost/Project.Web/Project.Web.csproj'.  Please use <webmap>
to map the given URL to a project-relative path, or specify
enablewebdav="true" on the <solution> task element to use WebDAV.

So the <foreach> is working, but it appears to be ignored within the
<webmap> tag (whereas the <if> node actually threw an error).


-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
_______________________________________________
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to