Eric Thanks for the updated version - I'll see if I can decipher the problem.
Regards Subbu ... VB6 ain't dead and cold yet!!! -----Original Message----- From: Eric Fetzer [mailto:[EMAIL PROTECTED] Sent: Wednesday, 3 November 2004 9:16 AM To: Subbu Balakrishnan; 'Crowhurst,Christian' Cc: [EMAIL PROTECTED] Subject: Re: [NAntC-Dev] RE: [Nant-users] VB6 build dependencies Subbu, I've been playing with his code a bit myself and pulled a few bugs out. It's still failing, but gets further along. I'll attach the latest code. There's one problem I'm now stumped on but Peter gave me his advise which I'll paste below (haven't had time to look into his advise): I said: <!------------snip---------------> Peter, I've gotten a few bugs worked out of that task, but am perplexed by what you were doing with one particular line that crashes: compileTask.Initialize(null); It won't accept "null" (compiles but crashes when it hits the line) and I have no idea what to pass it. If I remove this line, the VB6 task errors out with "VB6 didn't start" or something like that. Any clue? Thanks, Eric <!----------end snip-------------> Peter said: <!------------snip---------------> Eric, I traced it back to Element.cs which takes an XmlNode. This should probably be the configuration for the task, or at least a default XmlNode! The base class calls InitializeElement in the derived class. XmlNode is in System.Xml I think. At the very worst, you should be able to parse a string with the a simple vb6task call from a nant build file and pass the parsed XmlNode to it. The question I see is whether anything from that XmlNode is actually used. If you pass a sensible vb6task xml fragment to it that has no filesets defined then Vb6Task should be able to grab any configuration it needs without crashing. Hope that works for you, Peter <!----------end snip-------------> I'll keep working at it when I have time, but I too, am spread very thin. Thanks, Eric --- Subbu Balakrishnan <[EMAIL PROTECTED]> wrote: > Hi Christian > > Talk about being spread thin on the ground! Similar > situation here which is > why I went all quiet. I hope you are able to get > through the database side > of things in short order. I have been reading > through Peter's code on the > train ride in and it comes very close to fulfilling > my needs - I'll need to > make a few changes though. Having managed to "get my > hands" on the important > bits (thanks Peter/Els/John) it would be unfortunate > if I didn't do > something to address my particular requirement - > there goes my weekend! I'll > keep you informed on any progress I make. I will > also look at how we can > fold your IDL generation requirement into this. > > Personally, I think its great you've gone the IDL > route - I have been burnt > by Binary Compatibility issues often enough to > appreciate this. > > Regards > Subbu > > -----Original Message----- > From: Crowhurst,Christian > [mailto:[EMAIL PROTECTED] > Sent: Tuesday, 2 November 2004 6:45 PM > To: Subbu Balakrishnan > Cc: [EMAIL PROTECTED] > Subject: RE: [Nant-users] VB6 build dependencies > > > Hi Subbu, > > Yeah I agree it was generous of these guys to supply > the code. > > As to my progress on getting the build to work. My > time is torn between > trying to include SQL Server databases in the > automated build, test and > deploy cycle and getting the vb6 build to work > without having to hard wire a > dependency order into the scripts. As you can > imagine I'm being spread > somewhat thinly! The database side of things is > become more painful by the > day so I've had to prioritise this and leave the vb6 > build hard-wired. > > With the vb6 problem I've also got the problem of > "compiling" IDL files to > add to the mix. We use the IDL to create custom > interfaces (contained in > type libraries) that our vb6 classes implement. I've > got to make sure these > are compiled in the dependency order along with the > vb6 code that implements > them. All told the whole lot feels somewhat > daunting. But hey life would be > boring if there wasn't a challenge or two along the > way, right? ;-) > > Christian > > > > -----Original Message----- > From: Subbu Balakrishnan > [mailto:[EMAIL PROTECTED] > Sent: 02 November 2004 05:21 > To: '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]'; > Crowhurst,Christian > Cc: '[EMAIL PROTECTED]'; > '[EMAIL PROTECTED]' > Subject: Re: [Nant-users] VB6 build dependencies > > > > Quite by accident, I came upon the John's > vbp.build.include and Els' > (Peter's?) C# code to create a build order. Gents, > can't thank you enough. > I've had some trouble getting started with this and > these two pieces of code > will be an immense help. > > Christian, any joy with your vb6 build issues? > > Regards > Subbu > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for > FREE > LinuxWorld Reader's Choice Award Winner for best > database on Linux. > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > _______________________________________________ > Nant-users mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/nant-users > > > Click > https://www.mailcontrol.com/sr/Gb0TFaJaw3UpCRoMIAzzsW9ag8oN+4dVsoQcg3j82JopL > 11Xm!+o2nW+XZfOrktxXto2pepsmb6tB7RfuiQ17kkHCkXLAafy3GS0Np2v5mJc!SUE1LVuo!7vT > GV7pANBgzsFAHTUd+TfW7GtXj1xx!8Y5Vx8QGcAgQY00opkr56lCKv0gGhbsna0ozBmk9aUpGxW! > J0V7ogwrf9kiU7!n5kJMUo1!iGP+O35zr1sble0hIPIBasuGg== > to report this email as > spam. > > > This e-mail, and any attachment, is confidential and > is intended only for > the use of the individual to which it is addressed. > If you have received it > in error, please delete it from your system, do not > use or disclose the > information in any way. The contents of this message > may contain personal > views which are not the views of the ECA Group, > unless specifically stated. > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for > FREE > LinuxWorld Reader's Choice Award Winner for best > database on Linux. > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > _______________________________________________ > NAntContrib-Developer mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer > __________________________________ Do you Yahoo!? Check out the new Yahoo! Front Page. www.yahoo.com ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ NAntContrib-Developer mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer