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 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 8/10/06, Pete Robbins <[EMAIL PROTECTED]> wrote:
>
> 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 PROTECTED]> 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 the patch.
> >
> > Andy
> >
> >
> > On 8/10/06, Andrew Borley <[EMAIL PROTECTED]> wrote:
> > >
> > > 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 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.modulefile
> > > > > and the name="" parameter gave the module name. There is still a
> > > > name=""
> > > > > parameter so we end up with a file called
> > > > CalculatorComposite.compositewith
> > > > >
> > > > > <composite xmlns="http://www.osoa.org/xmlns/sca/1.0";
> > > > >  name="CalculatorComposite">
> > > > >
> > > > > Either the file naming convention or the name= is redundant?
> > > > >
> > > > >  On 09/08/06, Pete Robbins <[EMAIL PROTECTED]> wrote:
> > > > > >
> > > > > >  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" 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 provide
an
> > > > initial
> > > > > > > -
> > > > > > > minimal - support for the 0.95 composite assembly model and
> > > > checked in
> > > > > > > these changes earlier this morning.
> > > > > > >
> > > > > > > Here's a quick summary of changes:
> > > > > > > - most Module, EntryPoint, ExternalService have been renamed
> to
> > > > > > > Composite, Service, Reference
> > > > > > > - build descriptors and scripts updated and working - on
Linux
> > > > only
> > > > > > > - new XSDs for the composite model
> > > > > > > - the ModelLoader ported to the new XSDs
> > > > > > > - application packaging structure changed to use composites
to
> > > > > > > describe
> > > > > > > "subsystems"
> > > > > > > - Calculator sample ported to the composite model and
working
> > > > > > > - BigBank sample ported to the composite and one inch from
> > working
> > > > > > >
> > > > > > > Obvious limitations:
> > > > > > > - includes are not supported, we are scanning for composite
> > files
> > > > > > > right
> > > > > > > now, this should be changed to use <include>
> > > > > > > - properties not really supported, I couldn't figure out to
> get
> > > > the
> > > > > > > defaultValue from the XML element content - it's just my
> > ignorance
> > > > of
> > > > > > > the SDO APIs and I think I'll never get how the SDO Sequence
> > > > actually
> > > > > > > works :)
> > > > > > > - no recursion / support for nested composites, this will
> > require
> > > > some
> > > > > > >
> > > > > > > code restructuring but is not needed by the samples
> > > > > > > - the application packaging story still based on the old
> > structure
> > > > > > > from
> > > > > > > M1 (a subsystems and composites directory), we may want to
> start
> > a
> > > >
> > > > > > > design discussion to see where we want to take this.
> > > > > > >
> > > > > > >
> > > > > > > To summarize, this is just a first step... there is a lot to
> do
> > to
> > > > > > > provide complete support. Support for includes and
properties
> > > > would be
> > > > > > > great to have... Also I am still not able to test on
Windows,
> > I'm
> > > > not
> > > > > > > sure how to refactor the Windows build scripts and VC
> projects.
> > Is
> > > > > > > anybody interested in helping with the code changes and/or
the
> > > > Windows
> > > > > > > integration?
> > > > > > >
> > > > > > > --
> > > > > > > Jean-Sebastien
> > > > > > >
> > > > > > >
> > > > > > >
> > > >
> ---------------------------------------------------------------------
> > > > > > > To unsubscribe, e-mail:
[EMAIL PROTECTED]
> > > > > > > For additional commands, e-mail:
> [EMAIL PROTECTED]
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > >
> > > > > > Pete
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > >
> > > > > Pete
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Pete
> > > >
> > > >
> > >
> >
> > $ java -jar $TUSCANY_SCACPP/bin/scagen.jar -dir . -output . -verbose
> > Scagen processing SCA composite file
> > d:\tuscany\cpp\sca\samples\BigBank\Accounts\.\Accounts.composite
> > Scagen processing C++ implementation header
> > d:\tuscany\cpp\sca\samples\BigBank\Accounts\.\AccountServiceImpl.h
> > Scagen processing SCA componentType file
> >
> >
>
d:\tuscany\cpp\sca\samples\BigBank\Accounts\.\AccountServiceImpl.componentType
> > Scagen processing C++ interface header
> > d:\tuscany\cpp\sca\samples\BigBank\Accounts\.\AccountService.h
> > Scagen creating SCA for C++ proxy implementation
> >
> >
>
d:\tuscany\cpp\sca\samples\BigBank\Accounts\.\AccountServiceImpl_AccountService_Proxy.cpp
> > Scagen creating SCA for C++ proxy header
> >
> >
>
d:\tuscany\cpp\sca\samples\BigBank\Accounts\.\AccountServiceImpl_AccountService_Proxy.h
> > Scagen creating SCA for C++ wrapper implementation
> >
> >
>
d:\tuscany\cpp\sca\samples\BigBank\Accounts\.\AccountServiceImpl_AccountService_Wrapper.cpp
> > Scagen creating SCA for C++ wrapper header
> >
> >
>
d:\tuscany\cpp\sca\samples\BigBank\Accounts\.\AccountServiceImpl_AccountService_Wrapper.h
> > Scagen processing C++ interface header
> > d:\tuscany\cpp\sca\samples\BigBank\Accounts\.\AccountDataService.h
> > Scagen creating SCA for C++ proxy implementation
> >
> >
>
d:\tuscany\cpp\sca\samples\BigBank\Accounts\.\AccountServiceImpl_accountData_Proxy.cpp
> > Scagen creating SCA for C++ proxy header
> >
> >
>
d:\tuscany\cpp\sca\samples\BigBank\Accounts\.\AccountServiceImpl_accountData_Proxy.h
> > Scagen processing C++ interface header
> > d:\tuscany\cpp\sca\samples\BigBank\Accounts\.\StockQuoteService.h
> > Scagen creating SCA for C++ proxy implementation
> >
> >
>
d:\tuscany\cpp\sca\samples\BigBank\Accounts\.\AccountServiceImpl_stockQuote_Proxy.cpp
> > Scagen creating SCA for C++ proxy header
> >
> >
>
d:\tuscany\cpp\sca\samples\BigBank\Accounts\.\AccountServiceImpl_stockQuote_Proxy.h
> > Scagen processing C++ implementation header
> > d:\tuscany\cpp\sca\samples\BigBank\Accounts\.\AccountDataServiceImpl.h
> > Scagen processing SCA componentType file
> >
> >
>
d:\tuscany\cpp\sca\samples\BigBank\Accounts\.\AccountDataServiceImpl.componentType
> > Scagen processing C++ interface header
> > d:\tuscany\cpp\sca\samples\BigBank\Accounts\.\AccountDataService.h
> > Scagen creating SCA for C++ proxy implementation
> >
> >
>
d:\tuscany\cpp\sca\samples\BigBank\Accounts\.\AccountDataServiceImpl_AccountDataService_Proxy.cpp
> > Scagen creating SCA for C++ proxy header
> >
> >
>
d:\tuscany\cpp\sca\samples\BigBank\Accounts\.\AccountDataServiceImpl_AccountDataService_Proxy.h
> > Scagen creating SCA for C++ wrapper implementation
> >
> >
>
d:\tuscany\cpp\sca\samples\BigBank\Accounts\.\AccountDataServiceImpl_AccountDataService_Wrapper.cpp
> >
> > Scagen creating SCA for C++ wrapper header
> >
> >
>
d:\tuscany\cpp\sca\samples\BigBank\Accounts\.\AccountDataServiceImpl_AccountDataService_Wrapper.h
> > java.lang.NullPointerException
> >        at org.apache.tuscany.sca.cpp.tools.common.Options.set(Unknown
> > Source)
> >        at org.apache.tuscany.sca.cpp.tools.common.CParsingTool
> > .<init>(Unknown
> > Source)
> >        at org.apache.tuscany.sca.cpp.tools.services.ServicesGenerator
> > .<init>(Unknown
> > Source)
> >        at
> >
> >
>
org.apache.tuscany.sca.cpp.tools.services.ServicesGenerator.handleInterfaceHeader
> > (Unknown
> > Source)
> >        at
> >
> >
>
org.apache.tuscany.sca.cpp.tools.services.ReferenceDomNodeHandler.createProxyForReference
> > (Unknown
> > Source)
> >        at
> >
> >
>
org.apache.tuscany.sca.cpp.tools.services.ReferenceDomNodeHandler.handleNode
> > (Unknown
> > Source)
> >        at
> >
> >
>
org.apache.tuscany.sca.cpp.tools.services.GenericDomNodeHandler.mapNodeToHandlerAndHandle
> > (Unknown
> > Source)
> >        at
> >
> >
>
org.apache.tuscany.sca.cpp.tools.services.GenericDomNodeHandler.handleChildElements
> > (Unknown
> > Source)
> >        at
> >
>
org.apache.tuscany.sca.cpp.tools.services.GenericDomNodeHandler.handleNode
> > (Unknown
> > Source)
> >        at
> >
> >
>
org.apache.tuscany.sca.cpp.tools.services.ComponentDomNodeHandler.handleNode
> > (Unknown
> > Source)
> >        at
> >
> >
>
org.apache.tuscany.sca.cpp.tools.services.GenericDomNodeHandler.mapNodeToHandlerAndHandle
> > (Unknown
> > Source)
> >        at
> >
> >
>
org.apache.tuscany.sca.cpp.tools.services.GenericDomNodeHandler.handleChildElements
> > (Unknown
> > Source)
> >        at
> >
>
org.apache.tuscany.sca.cpp.tools.services.GenericDomNodeHandler.handleNode
> > (Unknown
> > Source)
> >        at
> >
> >
>
org.apache.tuscany.sca.cpp.tools.services.GenericDomNodeHandler.mapNodeToHandlerAndHandle
> > (Unknown
> > Source)
> >        at
org.apache.tuscany.sca.cpp.tools.services.DomHandler.handleDom
> > (Unknown
> > Source)
> >        at
> org.apache.tuscany.sca.cpp.tools.services.XMLFileActor.actOnFile
> > (Unknown
> > Source)
> >        at
> >
> >
>
org.apache.tuscany.sca.cpp.tools.services.CompositeOrFragmentFileHandler.actOnFile
> > (Unknown
> > Source)
> >        at
> > org.apache.tuscany.sca.cpp.tools.services.DirectoryScanner.walkTree
> > (Unknown
> > Source)
> >        at org.apache.tuscany.sca.cpp.tools.services.Scagen.main
(Unknown
> > Source)
> > Scagen processing C++ implementation header
> > d:\tuscany\cpp\sca\samples\BigBank\Accounts\.\StockQuoteServiceImpl.h
> > Scagen processing SCA componentType file
> >
> >
>
d:\tuscany\cpp\sca\samples\BigBank\Accounts\.\StockQuoteServiceImpl.componentType
> > Scagen processing C++ interface header
> > d:\tuscany\cpp\sca\samples\BigBank\Accounts\.\StockQuoteService.h
> > Scagen creating SCA for C++ proxy implementation
> >
> >
>
d:\tuscany\cpp\sca\samples\BigBank\Accounts\.\StockQuoteServiceImpl_StockQuoteService_Proxy.cpp
> > Scagen creating SCA for C++ proxy header
> >
> >
>
d:\tuscany\cpp\sca\samples\BigBank\Accounts\.\StockQuoteServiceImpl_StockQuoteService_Proxy.h
> > Scagen creating SCA for C++ wrapper implementation
> >
> >
>
d:\tuscany\cpp\sca\samples\BigBank\Accounts\.\StockQuoteServiceImpl_StockQuoteService_Wrapper.cpp
> > Scagen creating SCA for C++ wrapper header
> >
> >
>
d:\tuscany\cpp\sca\samples\BigBank\Accounts\.\StockQuoteServiceImpl_StockQuoteService_Wrapper.h
> > Scagen processing C++ interface header
> > d:\tuscany\cpp\sca\samples\BigBank\Accounts\.\StockQuoteWebService.h
> > Scagen creating SCA for C++ proxy implementation
> >
> >
>
d:\tuscany\cpp\sca\samples\BigBank\Accounts\.\StockQuoteServiceImpl_webService_Proxy.cpp
> > Scagen creating SCA for C++ proxy header
> >
> >
>
d:\tuscany\cpp\sca\samples\BigBank\Accounts\.\StockQuoteServiceImpl_webService_Proxy.h
> > Scagen processing C++ interface header
> > d:\tuscany\cpp\sca\samples\BigBank\Accounts\.\StockQuoteWebService.h
> > Scagen creating SCA for C++ proxy implementation
> >
> >
>
d:\tuscany\cpp\sca\samples\BigBank\Accounts\.\StockQuoteServiceImpl_webService_Proxy.cpp
> > Scagen creating SCA for C++ proxy header
> >
> >
>
d:\tuscany\cpp\sca\samples\BigBank\Accounts\.\StockQuoteServiceImpl_webService_Proxy.h
> > Scagen processing C++ interface header
> > d:\tuscany\cpp\sca\samples\BigBank\Accounts\.\StockQuoteService.h
> > Scagen creating SCA for C++ proxy implementation
> >
> >
>
d:\tuscany\cpp\sca\samples\BigBank\Accounts\.\StockQuoteServiceImpl_StockQuoteService_Proxy.cpp
> > Scagen creating SCA for C++ proxy header
> >
> >
>
d:\tuscany\cpp\sca\samples\BigBank\Accounts\.\StockQuoteServiceImpl_StockQuoteService_Proxy.h
> > Scagen creating SCA for C++ wrapper implementation
> >
> >
>
d:\tuscany\cpp\sca\samples\BigBank\Accounts\.\StockQuoteServiceImpl_StockQuoteService_Wrapper.cpp
> > Scagen creating SCA for C++ wrapper header
> >
> >
>
d:\tuscany\cpp\sca\samples\BigBank\Accounts\.\StockQuoteServiceImpl_StockQuoteService_Wrapper.h
> > Scagen processing C++ interface header
> > d:\tuscany\cpp\sca\samples\BigBank\Accounts\.\StockQuoteWebService.h
> > Scagen creating SCA for C++ proxy implementation
> >
> >
>
d:\tuscany\cpp\sca\samples\BigBank\Accounts\.\StockQuoteServiceImpl_webService_Proxy.cpp
> > Scagen creating SCA for C++ proxy header
> >
> >
>
d:\tuscany\cpp\sca\samples\BigBank\Accounts\.\StockQuoteServiceImpl_webService_Proxy.h
> >
> >
>
>
> --
> Pete
>
>




--
Pete

Reply via email to