Hi,

I got a small problem with the nant task. I have those
calls:

        <!-- debug version (for unittest later on -->
        <nant buildfile="core.build">
    <properties>
                        <property name="project.config" value="debug" />
    </properties>
        </nant>
        
        <!-- release version -->
        <nant buildfile="core.build">
    <properties>
                        <property name="project.config" value="release" />
    </properties>
        </nant>


My init looks like this:

        <target name="init">
                <echo message="Creating a ${project.config} build." />
          <call target="${project.config}" />
        </target>

Straightforward. But nevertheless obviously false when
running the first time :(

project.config defaults to false, and that is what I get on
the second call. How can I change the call without setting
project.config on the commandline (which would overwrite
first, correct set call)?

tia,
-sa

-- 
sa at programmers-world dot com http://www.livingit.de
Internet sites:
  http://www.not2long.net - Make long links short
  Boomarks online: http://www.mobile-bookmarks.info


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to