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

RE: Re: [OT] Nant build script

From: Flanakin Michael C Ctr HQ OSSG/OMR <Michael.Flanakin.Ctr_at_Gunter.Af.Mil>
Date: 2005-12-09 21:25:58 CET

You can do that. You'd be better off passing the output type and language as properties, tho. For instance...

nant -D:type=pdf -D:lang=en docs
nant -D:type=chm -D:lang=en docs

If you have a lot of different settings, you can save the command line settings to a file and use the @<file> option to specify the file that holds the command line settings.

Michael

-----Original Message-----
From: Stefan Küng [mailto:tortoisesvn@gmail.com]
Sent: Friday, December 09, 2005 1:25 PM
To: dev@tortoisesvn.tigris.org
Subject: Re: [OT] Nant build script

Lübbe Onken wrote:

> 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

I already knew that we can include build files.
What I'm missing (better: what I don't quite get) is how do you set up the build scripts so you can later do

nant docs en pdf <!-- builds the english pdf --> nant docs en chm <!-- builds the english html help file -->
nant TSVN debug <!-- builds all libs (apr, subversion, ...) and
TortoiseSVN in debug build -->
nant installer <!-- does a release build, generates the docs and then
creates the installer -->

As far as I can see, that's not really possible to do. So in the end, we don't have much more functionality with a nant script than with our current batch file?

I think I may be missing something here...

Stefan

-- 
        ___
   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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Fri Dec 9 21:38:50 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.