Hi,

I whole-heartedly admit to the comfort of being able to run and debug within
IDE.  Its really very useful to get a grasp of how the runtime works.  For
example, if one were to understand the role of loaders, builders, the wire
service and the invocation pattern, running a sample  test or an iTest from
within an IDE and debugging it gives a real fair idea of all of this.

Raymond thanks and I hope to check this out later during the day.

- Venkat

On 3/28/07, Raymond Feng <[EMAIL PROTECTED]> wrote:

Hi,

I know we have removed SCATestCase from the trunk, but I always find it
very
useful and convenient for me to run test cases or samples from inside the
IDE directly (by right-clicking on the class and select "Run..." or
"Debug"), especially for debugging and testing purposes.

I put together a simple "embedded runtime" based on the idea of
SCATestCase
so that we can bootstrap Tuscany system and the application code from the
same classpath in case that class isolations are not of interest. It's
built
on top of the current kernel in trunk.

You can find the code at

http://svn.apache.org/repos/asf/incubator/tuscany/sandbox/rfeng/runtime/embedded/
.
There are two things you can try:
*  calculator.CalculatorClient is a sample with main()
*  org.apache.tuscany.api.SCARuntimeTestCase is a JUNIT test case.

I think it can complement the other runtimes we have in trunk such as
standalone and itest. I would like to check it in under java/runtime if
you
agree with me.

Thanks,
Raymond



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


Reply via email to