Hi,

I've just finished a little research in the nant-users list archives but
it didn't return any thread which would give me any piece of advice.
Let me explain my idea.

I have some number of projects (classes libraries -> DLLs) and a few
projects which uses those DLL's.
No I would like to have each project mainained separately by CVS and be
possible to checkout and build also separately (certainly, having all
references downloaded also if any required).
Then I would like to have also a kind of main (master) build file.

Here I try to give a kind of project tree:

<ROOT>
   <PROJECT1>
      *.cs
      1.build
   <PROJECT2>
      *.cs
      2.build
   <PROJECT3>
      *.cs
      3.build
   <PROJECT_WHICH_USES_PROJECTS_FROM_1_TO_3>
      *.cs

    Master.build

Now I would like to have it possible to launch NAnt this way
nant -buildfile:Master.build
and NAnt will build all subprojects and the main app project.

Now I uses the idea taken from NAnt project and its build files
but I would like to have it possible to build all referenced projects
sparately i.e. nant -buildfile:1.buid whith custom build.dir property
set in command line.
Or if bulding using Master.build all properties would be set by this
Master file.

Could you give me some example of such flexible structure of projects ?
Which of Open Source projects may be thought as the best practice ?

Thanks and regards

--

Mateusz Łoskot
mateusz at loskot dot net



-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to