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

Re: Nested checkouts?

From: BRM <bm_witness_at_yahoo.com>
Date: Wed, 19 Nov 2008 16:58:44 -0800 (PST)

Actually there's a very easy way to do it yourself.

I'm managing some build scripts where I work - namely for VC++ - not even .Net (that's okay).

Part of the scripts checkout stuff from SVN, and then another part manages the compilation of the projects, which relies on two things:

1) I use the registry to locate the various installations of Visual Studios.
2) I use the vcvars32.bat (or equivalent) for the selected Visual Studios build to set up the environment (must be called from a batch script for how I did it at least).
3) Then I use the devenv (or msdev) to build the projects as required - on of the parameters is the project or solution file. You can easily specify a vbproj or any other project, or the dsp/dsw.

This works pretty well regardless of what version of Visual Studios you are using, though you may have to adjust the parameters for each one. VS 2003 and later (from what I have done at least) are getting better about being consistent. VS6 is very different.

Any how...it's an easy enough task.

Unfortunately, I can't put my scripts out yet...but I'll happily help you work it out, so just e-mail me privately if you want.

Ben

----- Original Message ----
From: John Niven <jniven_at_bravurasolutions.com>
To: "Jon_at_eHardcastle.com" <Jon_at_eHardcastle.com>; "users_at_subversion.tigris.org" <users_at_subversion.tigris.org>
Sent: Wednesday, November 19, 2008 9:06:32 PM
Subject: RE: Nested checkouts?

> -----Original Message-----
> From: Jon Hardcastle [mailto:jd_hardcastle_at_yahoo.com]
> Sent: Wednesday, 19 November 2008 23:55
> To: Jon_at_eHardcastle.com; users_at_subversion.tigris.org; John Niven
> Subject: RE: Nested checkouts?
>
>
> Ah we aren't using 1.5 (1.4.4 still :) )
>
> As for the build server.. I see where you are coming from..
> and I am investigated using scons to build this beast of a
> product.. but I keep hitting stumbling blocks getting it to
> compile VB!
>

I've not used scons, but I've used Ant for several years. I notice Nant (the .net version of Ant) has a "compile VB.net" task (http://nant.sourceforge.net/release/latest/help/tasks/) - obviously if you're on pre-.net VB then this won't apply ;-)

Cheers
John
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-11-20 01:59:08 CET

This is an archived mail posted to the Subversion Users mailing list.

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