The method I use for my vb6 projects is a little different.
I will take a look at the thoughworks page to see if some
of their vb6 tools could help me. My method only builds the
.dll's once. 

Binary Compatibility:
     Each vb6 project has a subfolder called "compat". This
folder holds the current binary compatibility file. The
compat folder and it's .dll are also stored in version
control. 
     All the .vbp files in the build point to the .dll in
the projec's compat subfolder. Compatibility mode is always
set to Binary Compatibility in the official builds. If
someone wants to break compatibility they do so on their
own machine, and check in the new binary compatibility
reference file along with their code changes. 

So the continuous integration process looks like this:

1. CCNet detects change
2. Working folders are deleted
3. Version control is labelled, and code checked out
4. Build order of vb6 projects is determined on the fly
with an app I wrote. A new nant script with calls to <vb6>
task in the proper build order is output.
5. Same app also enforces compatibility is set to "binary"
("2" in the .vbp) and that the compatibleexe is pointing to
the .dll in the compat folder. 
6. New nant script with build order is called from build
script
7. Interops are generated for some of the .dll's
8. NUnit tests compiled and run against Interop'ed vb6
.dll's
9. components packaged into .msi
(I should add a step here to update the "compat" subfolders
with the .dll's from the successful build here. 

I also have a set in there to generate a image that
graphically displays the dependencies between the vb6
components. You can see an couple examples on my blog:

http://my.dreamfirst.com/blogs/giscard_biamby/archive/2006/04/12/1216.aspx
http://my.dreamfirst.com/blogs/giscard_biamby/archive/2006/04/09/1209.aspx

I've create custom nant tasks <vb6graph> and
<vb6buildorder> for the steps that generate this graph, and
the one that generates the nant script with the correct
build order. 

-Giscard

--- "Foster, Richard - PAL" <[EMAIL PROTECTED]>
wrote:

> Oooh! Thanks for the pointer John/Rik. I hadn't seen any
> reference to
> those scripts on the CCNet list.
> 
> I may finally have to get the legacy apps under CCNet
> too! (I've been
> promising myself that I would for over a year now, but
> simply haven't
> had the time to get the build scripts into a form where
> they would run
> under the CCNet service account.)
> 
> Regards,
> Richard
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf
> Of Rik Hemsley
> Sent: Wednesday, April 26, 2006 10:00
> To: nant-users@lists.sourceforge.net
> Subject: Re: [NAnt-users] Building VB6 project group
> 
> On 4/26/06, John Cole <[EMAIL PROTECTED]> wrote:
> > Rick,
> >   Take a look at
> >
>
http://confluence.public.thoughtworks.org/display/CCNETCOMM/Tools+for+VB
> 6
> 
> 
> -------------------------------------------------------
> Using Tomcat but need to do more? Need to support web
> services, security?
> Get stuff done quickly with pre-integrated technology to
> make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based
> on Apache Geronimo
>
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
> _______________________________________________
> NAnt-users mailing list
> NAnt-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nant-users
> 


"Few are those who see with their own eyes and feel with their own hearts." 
-Albert Einstein

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to