The "extension" directory is only scanned by the standalone launcher and not by the test environment. The test environment runs in maven and gets all its artifacts from the maven classloader rather than by scanning directories. It sounds like we should define an extension mechanism for the test harness, perhaps tied into maven extensions.

In the mean time a workaround may be to register the composite for the JavaScript container with the runtime in the setup phase of the test. There are code examples for that in the Launcher, or ping me if I can help.

--
Jeremy

On Jul 28, 2006, at 9:44 AM, ant elder wrote:

I'm still struggling getting this to go. I've added a JavaScript HelloWorld sample to help (in samples/sca/helloworldJavaScript). The testcase for that
sample fails as it doesn't understand the javascript SCDL, as I guess
SCATestCase doesn't know about the JavaScript container. Am I supposed to
register the container somehow?

 ...ant

On 7/28/06, Jeremy Boynes <[EMAIL PROTECTED]> wrote:

The launcher scans a directory called "extensions" under the root and
deploys everything it finds there as a child to the system composite - just dropping a jar containing a "default.scdl" in there should add it
in.

We should write this up better but here's the original post to the list:

http://article.gmane.org/ gmane.comp.apache.webservices.tuscany.devel/4980/match=extension

--
Jeremy

On 7/28/06, ant elder <[EMAIL PROTECTED]> wrote:
> I'm trying to get some standalone JavaScript samples working but I'm not > sure how the javascript container jar is supposed to be used with the
> launcher.  Is there a special place I need to put the jar, or a
parameter to
> use to tell the launcher where the jar is?
>
>    ...ant
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to