[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: si <sshnug.si_at_gmail.com>
Date: 2005-12-10 00:47:16 CET

Flanakin is on the money.

The doc build file and include look good - nice work Lübbe!

For some of the <property> declarations, it might be an idea to set the
"overwrite" attribute to false (to create default properties). Makes it easily
to tweak the setup (for testing, etc) without having to touch the include. eg:

<property name="lang" value="en" overwrite="false" />

So on the command line you can override:

nant docs -D:lang=de ...

Or just leave the properties unset to use defaults.

Having spent a bit of time working with NAnt for Subversion admin,
i'm sold on it, NAnt's cross-platform abilities (via Mono) are a good
fit for other cross-platform tools like Subversion.

There are a few tricks if you work outside the normal environment
(like dealing with funky svnadmin stdout/stderr shenanigans!) but
anything is possible, and you can compile your own NAnt tasks
and functions if there isn't an existing one which does the job.

shameless plug slightly on this off topic :)

http://svn.berlios.de/viewcvs/subnant/trunk/README.txt?view=markup
http://svn.berlios.de/viewcvs/subnant/trunk/

Ended up writing a lot of tests (since it's for Subversion and i'm paranoid
about our repositories) and tests help when your scripts grow.

peace
si

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Sat Dec 10 00:47:35 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.