Off Topic : NAnt build automation question

  • Thread starter Thread starter Bit byte
  • Start date Start date
B

Bit byte

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
 
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).
 
Back
Top