Re: [C++] Initial support for new composite model, was: Switching C++ runtime to new composite model

2006-08-10 Thread Andrew Borley
I've just put up a patch on TUSCANY-613 for MSVC7. Includes SCA, BigBank and Calculator projects. Cheers Andy On 8/10/06, Jean-Sebastien Delfino <[EMAIL PROTECTED]> wrote: Pete Robbins wrote: [snip] > I have checked in code for TUSCANY-613 to build the new sca code on > windows > MSVC6. Calcu

Re: [C++] Initial support for new composite model

2006-08-10 Thread Andrew Borley
I've followed the code through - it basically walks the .composite and .componentType files and then the header files, converts this info into an xml doc and the runs a set of stylesheets to create the proxy and wrapper files. I can take a look at this when I get time - it doesn't seem to be hurti

Re: [C++] Initial support for new composite model

2006-08-10 Thread Pete Robbins
I have to say I have never looked at the Java code but I have editted the stylesheets to fix problems. Cheers, -- Pete

Re: [C++] Initial support for new composite model

2006-08-10 Thread Pete Robbins
I'm getting the same NPE, didn't notice it before. If I comment out AccountDataService in the .composite file I'm not getting the NPE so it must be specific to this particular service or AccountDataService.h maybe? I have no idea why Options.set(...) would throw an NPE on ly with AccountDataServ

Re: [C++] Initial support for new composite model, was: Switching C++ runtime to new composite model

2006-08-10 Thread Jean-Sebastien Delfino
Pete Robbins wrote: [snip] I have checked in code for TUSCANY-613 to build the new sca code on windows MSVC6. Calculator also builds and runs. I had to make one change to ModelLoader where I have changed the logic to load all .composite files in the folder rather than just the one that matches

Re: [C++] Initial support for new composite model

2006-08-10 Thread Jean-Sebastien Delfino
Andrew Borley wrote: Also, I get a NPE when running SCAGEN on the BigBank sample - everything seems to get happily generated though. The output is below - anyone else see this? Pete - are you still using VC++6 for windows development? I have a VC++7 SCA build working happily here if you want

Re: [C++] Initial support for new composite model, was: Switching C++ runtime to new composite model

2006-08-10 Thread Pete Robbins
I have checked in code for TUSCANY-613 to build the new sca code on windows MSVC6. Calculator also builds and runs. I had to make one change to ModelLoader where I have changed the logic to load all .composite files in the folder rather than just the one that matches the folder name. The filename

Re: [C++] Initial support for new composite model, was: Switching C++ runtime to new composite model

2006-08-10 Thread Pete Robbins
OK. I have the sca runtime building on vc6 fine. Calculator project builds fine too. Having some teething problems getting it running. On 10/08/06, Andrew Borley <[EMAIL PROTECTED]> wrote: Not many - it was mostly a case of putting the new files in and taking the old ones out. Saying that, I ha

Re: [C++] Initial support for new composite model, was: Switching C++ runtime to new composite model

2006-08-10 Thread Andrew Borley
Not many - it was mostly a case of putting the new files in and taking the old ones out. Saying that, I haven't actually got the samples going yet - BigBank falls over for some reason, currently getting Calculator going. When I've got stuff going I'll raise a Jira and put up a patch. Cheers On

Re: [C++] Initial support for new composite model, was: Switching C++ runtime to new composite model

2006-08-10 Thread Pete Robbins
I haven't seen the NPE. I'm currently trying to get the scatest program working on linux. I'm happy to leave VC6 broken for now until the changes settle down. If you are happy with the VC7 then please submit the patch. Were there many changes? Cheers, On 10/08/06, Andrew Borley <[EMAIL PROTECTE

Re: [C++] Initial support for new composite model, was: Switching C++ runtime to new composite model

2006-08-10 Thread Andrew Borley
Also, I get a NPE when running SCAGEN on the BigBank sample - everything seems to get happily generated though. The output is below - anyone else see this? Pete - are you still using VC++6 for windows development? I have a VC++7 SCA build working happily here if you want the patch. Andy On 8/1

Re: [C++] Initial support for new composite model, was: Switching C++ runtime to new composite model

2006-08-10 Thread Andrew Borley
Similar question from me - do similar things apply for the subsystem .composite file that replace sca.subsystem? Andy On 8/10/06, Pete Robbins <[EMAIL PROTECTED]> wrote: ... also are we enforcing the directory containing the composite to also be named after the composite? On 10/08/06, Pete R

Re: [C++] Initial support for new composite model, was: Switching C++ runtime to new composite model

2006-08-10 Thread Pete Robbins
... also are we enforcing the directory containing the composite to also be named after the composite? On 10/08/06, Pete Robbins <[EMAIL PROTECTED]> wrote: Deployment question: Does the name of the .composite file HAVE to match the name of the composite? Previously we just loaded any sca.modu

Re: [C++] Initial support for new composite model, was: Switching C++ runtime to new composite model

2006-08-10 Thread Pete Robbins
Deployment question: Does the name of the .composite file HAVE to match the name of the composite? Previously we just loaded any sca.module file and the name="" parameter gave the module name. There is still a name="" parameter so we end up with a file called CalculatorComposite.composite with ht

Re: [C++] Initial support for new composite model, was: Switching C++ runtime to new composite model

2006-08-09 Thread Pete Robbins
I'll take a look at the windows side of things. Cheers, On 09/08/06, Jean-Sebastien Delfino <[EMAIL PROTECTED]> wrote: Jean-Sebastien Delfino wrote: > Pete Robbins wrote: >> So are you changing the loader to load the schema from xsd/new >> instead of >> xsd? Personally I would just "go for it

[C++] Initial support for new composite model, was: Switching C++ runtime to new composite model

2006-08-09 Thread Jean-Sebastien Delfino
Jean-Sebastien Delfino wrote: Pete Robbins wrote: So are you changing the loader to load the schema from xsd/new instead of xsd? Personally I would just "go for it" and check in the new xsds as we need to get this working anyway. Cheers, So I just went for it and made a set of changes to p