I second the request for a 0.85 official release.
I need regular expressions and such.

My company won't let me bring the nightly builds into the environment.

I'd like to do the following, but can't figure out how to get it all to work
with the current 0.84 release


<?xml version="1.0" encoding="utf-8" ?>
<project name="CompleteMP-CM" default="">

        <sysinfo />     <!-- Required to use sys.env.LeoBldEnv -->


        <property name="DevSandboxRoot" value="d:\inetpub\wwwroot " />
        <property name="DeveloperRoot"  value="c:\inetpub\wwwroot" />

<!--
        set BldType to empty
        if LeoBldEnv property doesn't exist
                set BldType to LeoBldEnv environment variable
        if LeoBldEnv property exists
                set BldType to LeoBldEnv property value
        if BldType is empty
                display message
                exit

        set web.root.dir to empty
        if BldType is a valid value
                set web.root.dir to appropriate directory, based on BldType setting
        if web.root.dir is empty
                display message
                exit
-->


        <property name="BldType" value="" />
        <if test="${not property::exists('LeoBldEnv')}" >
                <property name="BldType"
value="${string::trim(environment::get-variable('LeoBldEnv'))}" />
                <echo message="Environment variable: LeoBldEnv = ${BldType}" />
        </if>
        <if test="${property::exists('LeoBldEnv')}" >
                <property name="BldType" value="${LeoBldEnv}" />
                <echo message="Property value: LeoBldEnv = ${BldType}" />
        </if>

        <if test="${string::get-length(BldType) = 0}" >
                <call target="ParamHelp" />
        </if>

        <property name="web.root.dir" value="" />
        <if test="${BldType='DEV-Sandbox'}" >
                <!-- Place settings specific to DEV-Sandbox here -->
                <property name="web.root.dir" value="${DevSandboxRoot}" />
                <echo message="Settings for 'Dev-Sandbox' being used" />
        </if>
        <if test="${BldType='Developer'}" >
                <!-- Place settings specific to Developer here -->
                <property name="web.root.dir" value="${DeveloperRoot}" />
                <echo message="Settings for 'Developer' being used" />
        </if>

        <if test="${string::get-length(web.root.dir) = 0}" >
                <call target="ParamHelp" />
        </if>

        <echo message="web.root.dir = ${web.root.dir}" />


Thanks,
Noel


 -----Original Message-----
From:   [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]  On Behalf Of Baldree Matt
Sent:   Thursday, March 18, 2004 6:16 AM
To:     'Gert Driesen'; [EMAIL PROTECTED]
Subject:        RE: [Nant-users] nant 0.85

Any timelines? Tokens are critical in supporting robust builds for different
environments like dev, qa, prod. Moving from Ant I find I can't live without
them :).

-----Original Message-----
From: Gert Driesen [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 17, 2004 11:52 PM
To: Baldree Matt; [EMAIL PROTECTED]
Subject: Re: [Nant-users] nant 0.85


Hi Matt,

We've removed support for filtersets from NAnt, although the filterset and
filter elements are still in cvs.  I will probable move these NAntContrib,
and add a <replace> task to NAntContrib which uses filtersets.

Gert

----- Original Message -----
From: "Baldree Matt" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 17, 2004 11:19 PM
Subject: [Nant-users] nant 0.85


> Does copy with filters/tokens work? I'm trying to use it and I can't seem
to
> get it to work. I don't see any examples or test cases for it. Shouldn't
> this work?
>
> <copy flatten="false" todir="${common.embed.dir}" overwrite="true">
> <fileset
>
basedir="build/config/${current.runtime.config}/${current.runtime.version}/$
> {current.build.config}">
> <includes name="**/common.config" />
>
> </fileset>
> <filterset>
> <filter token="package.version" value="${package.version}" />
> <filter token="publickey" value="${publickey}" />
> </filterset>
> </copy>
>
> -matt
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> Nant-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/nant-users
>
>


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to