> environment config files.  In my case I have a lot of the individual task
> doing what they are suppose to do. However, if my supervisor puts in
> Nant -D:tag=/src/Test/tags/Star1_1.0 env=prod then he wants it to point to
> the production environment and run my existing task, env=dev then he wants
> it to point to the development environment.

Without knowing more about exactly what you're trying to accomplish, I
don't know that I can help.

> So the question is how do I setup or do you have an example of an
> environment file that does this. I just need to see what it looks like. He
> is calling it a environment configuration file. He says this is pretty
> common. But I can not find a concrete example of how to do this or what one
> looks like.

If you're talking about conditional execution, then you'd have to wrap
stuff in <if /> blocks, which is certainly possible, but tends to look
ugly, and requires maintenance.

If you're talking about configuring what paths are referenced, or what
options are sent to applications, or something, that's simpler, but
exactly what the result looks like is going to be dependent what what
you're trying to do.  If you can supply an example of the types of
things the build file is doing, we might be able to help a little
more.

/bs

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to