[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: [OT] Nant build script

From: Lübbe Onken <l.onken_at_rac.de>
Date: 2005-12-09 14:53:17 CET

Stefan Küng wrote:

> Does anyone know how to make Nant projects depend on another
> project? Or do I have to create only one project and put all
> libs in tasks?

You can create a Nant file for each lib and include these into the master
build file.

Like:
---SNIP---
./ext/subversion.build
<project name="Subversion" default="svnlibs">
  <target name="svnlibs" />
</project>

---SNIP---
./doc/doc.build
<project name="doc" default="all">
  <target name="documentation" />
</project>---SNIP---

---SNIP---
tortoisesvn.build
<project name="TortoiseSVN" default="all">
  <include buildfile="ext/subversion.build"/>
  <include buildfile="doc/doc.build"/>

  <target name="all" depends="svnlibs,documentation" />
</project>
---SNIP---

Haven't tried, but it should work this way. Looking at it from the project
root, you end up with a "single" build file for everything, since all the
other targets are included.

Each subproject has got it's own build file

Cheers
- Lübbe

--
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Fri Dec 9 15:00:26 2005

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.