468,537 Members | 1,917 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,537 developers. It's quick & easy.

Off Topic : NAnt build automation question

I am a NANT newbie. I would like to use NAnt to automate my build
processes - but have come unstuck early on in the process.

I have several projects under a /src directory. There is some
inter-dependencies between some projects.

I want to have to have two build scripts as ff:

1). one main build file (say /src/main.build).
2). A single build file for each project ( say /src/project1/project1.build)

The main build file will traverse each of the folders under the /src/*
directority, and execute any *.build it encounters in the directory.
(i.e the individual build projects)

My questions are:

1). How can I create a main.build which will traverse a directory from a
specified base, and execute each of the .build files it encounters?

2). How can I specify in a project - a depency on another project?
Thks

May 7 '06 #1
1 1190
Bit byte,

Are you using .NET 2.0? The reason I ask is because if you are, you
might want to look into MSBuild, as it is better integrated into VS.NET
(VS.NET uses MSBuild for building projects now, and it is completely
customizable).
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com
"Bit byte" <fl**@flop.com> wrote in message
news:i9********************@bt.com...
I am a NANT newbie. I would like to use NAnt to automate my build
processes - but have come unstuck early on in the process.

I have several projects under a /src directory. There is some
inter-dependencies between some projects.

I want to have to have two build scripts as ff:

1). one main build file (say /src/main.build).
2). A single build file for each project ( say
/src/project1/project1.build)

The main build file will traverse each of the folders under the /src/*
directority, and execute any *.build it encounters in the directory. (i.e
the individual build projects)

My questions are:

1). How can I create a main.build which will traverse a directory from a
specified base, and execute each of the .build files it encounters?

2). How can I specify in a project - a depency on another project?
Thks

May 7 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by hoochiegooch | last post: by
1 post views Thread by Nigel Currie | last post: by
2 posts views Thread by HaukiDog | last post: by
3 posts views Thread by prabhupr | last post: by
1 post views Thread by Bit byte | last post: by
4 posts views Thread by SenthilVel | last post: by
3 posts views Thread by con.brady | last post: by
reply views Thread by james.mcdonagh | last post: by
reply views Thread by NPC403 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.