Java has a TuscanyRuntime to specify the default module so I will do the same. Something like: TuscanyRuntime::start(<default_moduleComponent_name>);
You will still need to set the TUSCANY_SCACPP_SYSTEM_ROOT to the root deployment folder for the system. Cheers, On 17/05/06, Pete Robbins <[EMAIL PROTECTED]> wrote:
That's a good point. A call to initialize the runtime passing the system root and default module is a possibility. I'll look into it. On 17/05/06, Edward Slattery <[EMAIL PROTECTED]> wrote: > > I am using the tuscany c++ SCA, and am finding it quite inconvenient > that > the root and default module are set by environment variables. As I use a > > development environment which reads the env at startup, I have to alter > these variables , close my studio, re-open every time I want to change > tests. > > I would really appreciate it if I could have a call to the runtime which > > overrides the environment settings, and maybe even another call which > re-instates the use of env vars. Then I could hop about between tests, > and > even write a generic test client which takes the names of the root and > module as parameters. > > Any chance? > > -- Pete
-- Pete
