----- Original Message ----- 
From: "Simon Rowe" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, May 18, 2004 2:29 PM
Subject: [Nant-users] Questions from a new user


> 1. Apart from the <if and <ifnot conditions, I could not find any 'else'.
> Thus my buildfiles have <if conditions followed by <ifnot which
> makes them clumsy to read. Have I missed an 'else' or is there another way
> if linking both sides of an 'if' condition ?

the <ifnot> "task" has been deprecated in favor of expression support, but
that still doesn't mean we have an if ... else construct ...

You can't just have two distinct nodes for the <if> and <else> parts, so
perhaps you could implement something like a <condition> task (bad name) :

<condition test="${file::up-to-date(....)}">
    <if>
    <else test="<else condition>">
    </else>
    <else>
            ....
    </else>
</condition>

>
> 2. A simple expression that would be great to have would be a
> 'files::different'

Good idea, bad name ;)

> I'm not sure what the files::up-to-date expression does, but I don't think
> it is 'are these two files the same, or not?'

No, it does not calculate a checksum or so ... It just compares the last
write time.

We could actually have checksum functions or a checksum task
(http://ant.apache.org/manual/CoreTasks/checksum.html) ...

>
> 3. Is there any way of NOT putting all the compile warnings from the
> solution task into the ordinary build output. A couple of our
> components have pages of these warnings (not good practice, I admit) but
> they do give a huge build output

We're thinking about ways to allow the user more control over task output
...

>
> 4. Are there any plans for extending the solution task so that it can take
a
> .csproj or .vcproj file ?

We already support this ...

eg.

<solution configuration="release">
    <projects>
        <includes name="A\A.csproj" />
        <includes name="B\b.vbproj" />
        <includes name="C\c.csproj" />
    </projects>
    <referenceprojects>
        <includes name="X\x.csproj" />
    </referenceprojects>
</solution>

Note : our support for VC++ project is very limited right now (we could use
a hand there ;))

Thanks

Gert



-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to