Scope factory initialization: svn commit: r427726 [1/2] ...

2006-08-01 Thread Jeremy Boynes
Ken, I think the factories should wait until their init method is called otherwise they are registering before they have finished being initialized. This also allows a "this" reference to leak before the object has finished being constructed (i.e. it could be invoked before it is fully in

Re: How to use extensions with the standalone launcher?

2006-08-01 Thread Jeremy Boynes
On Aug 1, 2006, at 11:28 AM, Matthew Sykes wrote: FWIW, I think I've been running into a problem at build time because of this exact issue. There's a bit of code in the javascript sample HelloWorldTestCase.java test that gathers up all of the META-INF/sca/default.scdl resources it can find

Re: Introspection of JavaScript components

2006-08-01 Thread Jeremy Boynes
This looks cool. Graham Charters has been looking at similar things for a PHP programming model - if you haven't had chance yet you should sync up with him. -- Jeremy On Aug 1, 2006, at 10:08 AM, ant elder wrote: I've had a go at adding support for introspection of JavaScript components

Re: Webservice via Axis2 in Tomcat.

2006-08-01 Thread Jeremy Boynes
one this is going to make JavaScript components really really useful to use with WS i think. All the old WS debates about databindings and XML to Java mappings disappear as XML becomes really easy. ...ant On 8/1/06, Jeremy Boynes <[EMAIL PROTECTED]> wrote: I think there's a

Re: Webservice via Axis2 in Tomcat.

2006-08-01 Thread Jeremy Boynes
sink distro type questions being discussed on the modularity thread. ...ant On 8/1/06, cr22rc <[EMAIL PROTECTED]> wrote: I'm ok with that. I just thought we may want ones without axis. But I'll put it in the others, if I hear nothing different. Jeremy Boynes wrote: > Can

Re: Webservice via Axis2 in Tomcat.

2006-08-01 Thread Jeremy Boynes
Can we just add the binding to the existing distros? -- Jeremy On Aug 1, 2006, at 9:19 AM, Rick wrote: I'm currently in the process of trying to get running a service using the Axis2 web service binding in Tomcat environment. The approach I'm taking is to create a new distro based off of K

XPath 2.0 engine?

2006-08-01 Thread Jeremy Boynes
The recursive changes include support for complex properties accessed via XPath 2.0 expressions and the only XPath 2.0 engine I have found is Saxon (http://saxon.sourceforge.net) - others such as the one in the JRE and Jaxen only seem to support XPath 1.0. I have a couple of concerns over S

Re: Karma for Brent

2006-08-01 Thread Jeremy Boynes
+1 - Brent has done a lot of good work on DAS. -- Jeremy On Jul 31, 2006, at 8:57 PM, Kevin Williams wrote: I would like to recommend Brent for committership. Brent has made invaluable contributions to the DAS and has been a consistent provider of quality patches since the inception of this

Re: Karma for Raymond

2006-08-01 Thread Jeremy Boynes
+1 - looking forward to having him on board. -- Jeremy On Jul 31, 2006, at 7:18 PM, Jim Marino wrote: I'd like to propose we make Raymond a committer. Normally, I would list some of the things a candidate has done for the community but with Raymond he has done so much I wouldn't know where t

Re: Composite classpaths, was: How to use extensions with the standalone launcher?

2006-08-01 Thread Jeremy Boynes
On Jul 31, 2006, at 11:42 PM, Jim Marino wrote: An end user application developer could write some type of library that gets reused by different composites. We should have a mechanism that supports this without resorting to maven. I think we should have some type of resolver abstraction, one

Re: SCA Tools

2006-08-01 Thread Jeremy Boynes
On Aug 1, 2006, at 12:43 AM, Venkata Krishnan wrote: Jim :-))).. Please help me understand the scope of "not required". If something is not required then why have it in the first place? Are these things no longer relevant to the current Tuscany-Java? Jim is echoing a goal that SCA shou

Re: problem running supplychain sample from the command line

2006-08-01 Thread Jeremy Boynes
-Original Message- From: Meeraj Kunnumpurath [mailto:[EMAIL PROTECTED] Sent: 31 July 2006 18:24 To: tuscany-dev@ws.apache.org Subject: RE: problem running supplychain sample from the command line How do I run the sample from the command line? -Original Message----- From: Jeremy Boynes [mailto

Re: Composite classpaths, was: How to use extensions with the standalone launcher?

2006-07-31 Thread Jeremy Boynes
On Jul 30, 2006, at 6:33 PM, Jim Marino wrote: On Jul 30, 2006, at 5:21 PM, Jeremy Boynes wrote: On Jul 30, 2006, at 2:55 PM, ant elder wrote: What about the dependencies of the extension? It looks like right now all the dependency jars still have to go in the boot directory and only

problem running supplychain sample from the command line

2006-07-31 Thread Jeremy Boynes
When I run the sample from the command line one of two things seem to happen: it either hangs before exiting or it throws an IllegalStateException: jeremy-boynes-computer:/tmp/foo jboynes$ java -jar bin/launcher.jar -- classpath ~/.m2/repository/org/apache/tuscany/samples/sca/sample

Re: RMI Binding

2006-07-31 Thread Jeremy Boynes
On Jul 31, 2006, at 7:16 AM, Venkata Krishnan wrote: Hi Jeremy, I will start looking at these and take your help as I go along. Cool - thanks. -- Jeremy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-

Re: RMI Binding

2006-07-31 Thread Jeremy Boynes
On Jul 31, 2006, at 6:28 AM, Venkata Krishnan wrote: Hi Jeremy, It seems you have implemented the RMI Binding :-). Not really, I just did some of the conversion to the new SPIs. There is still quite a bit to do. I am looking at it to get an understanding of it. Please help me with the

Composite classpaths, was: How to use extensions with the standalone launcher?

2006-07-30 Thread Jeremy Boynes
On Jul 30, 2006, at 2:55 PM, ant elder wrote: What about the dependencies of the extension? It looks like right now all the dependency jars still have to go in the boot directory and only the extension in the extension directory. Is that what you intend? The spec does not define way to spe

Re: How to use extensions with the standalone launcher?

2006-07-30 Thread Jeremy Boynes
On Jul 30, 2006, at 3:06 AM, ant elder wrote: 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 &

Build and distribution modularity

2006-07-29 Thread Jeremy Boynes
We've talked about this in the past on several threads but I would like to bring this to conclusion. We've had a couple of issues recently where bits of the build were failing due to environmental issues (e.g. java.net repo availability, xerces versions on some JRE) and we are about to star

Re: svn commit: r426664 - in /incubator/tuscany/java/sca: ./ services/transports/http.jetty/ services/transports/http.jetty/src/main/java/org/apache/tuscany/service/jetty/ services/transports/http.jet

2006-07-29 Thread Jeremy Boynes
On Jul 29, 2006, at 9:21 AM, Jim Marino wrote: There has been some previous discussion on the list (posted by Ken and Jeremy) about making the distribution more modular. I figured this would be a small step to testing out some of those ideas. It may be a good time now to continue those discu

Re: Porting the old ajax/jsonrpc/dwr bindings to the new runtime?

2006-07-29 Thread Jeremy Boynes
It would be good to have them. Not only are they useful in their own right, they also validate that the runtime can handle data types and formats that are not XML based. Can you say what you weren't happy with in the approach? Do you have any ideas on how they can be improved? You'd menti

Re: [PATCH] DataBinding improvements

2006-07-29 Thread Jeremy Boynes
On Jul 29, 2006, at 1:26 AM, ant elder wrote: On 7/29/06, Raymond Feng <[EMAIL PROTECTED]> wrote: 4) For those who implements service/reference binding extensions, how do you want to leverage the databinding framework to deal with transformations such as SDO-->AXIOM or JAXB-->SOAP? I'

Re: Which work manager?

2006-07-28 Thread Jeremy Boynes
On Jul 21, 2006, at 12:09 PM, Jim Marino wrote: We should be using Meeraj's WorkScheduler which abstracts the work manager type (which he also supplied as an implementation). So, we should delete the Geronimo impl, which I believe will require some changes to test cases. Meeraj, would you

Re: Whats required to become a Tuscany Committer?

2006-07-28 Thread Jeremy Boynes
On Jul 27, 2006, at 9:53 AM, ant elder wrote: One of the reasons I started this thread was to try to get a common understanding about what everyone expects is required to become a Tuscany committer. Its hard to publicly say you think someone isn't ready yet, even on the private list, so a co

Default SCDL location, was: svn commit: r426590 ...

2006-07-28 Thread Jeremy Boynes
On Jul 28, 2006, at 9:13 AM, [EMAIL PROTECTED] wrote: Author: antelder Date: Fri Jul 28 09:13:03 2006 New Revision: 426590 URL: http://svn.apache.org/viewvc?rev=426590&view=rev Log: Add a default.scdl file to try to get the JavaScript container picked up by the runtime (still doesn't seem to

Unchecked warnings: JavaScript container

2006-07-28 Thread Jeremy Boynes
On Jul 28, 2006, at 4:38 AM, ant elder wrote: I've had to use (and the groovy container does also) quite a lot of @SuppressWarnings("unchecked"), eg in the JavaScriptComponent class. Is there some things I can do with generics to avoid these? I think some of these can be removed if we change

Re: SVN Commits

2006-07-28 Thread Jeremy Boynes
D] ...ant On 7/28/06, Kevin Williams <[EMAIL PROTECTED]> wrote: This reminds me of another best practice from the Subversion session: "Do not fear branches" Jeremy Boynes wrote: > +1 - little and often > > Also at OSCON, Fitz's Poisonous People session re

Re: How to use extensions with the standalone launcher?

2006-07-28 Thread Jeremy Boynes
se 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 t

Re: How to use extensions with the standalone launcher?

2006-07-28 Thread Jeremy Boynes
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://a

Re: SVN Commits

2006-07-28 Thread Jeremy Boynes
+1 - little and often Also at OSCON, Fitz's Poisonous People session referred to the code bomber - large changes are hard to review and as a result don't get as much buy in from other people in the community. One way to address this is to say what you are planning to do, then spin off a working

Re: Private mailing list now set up for Tuscany

2006-07-27 Thread Jeremy Boynes
On Jul 27, 2006, at 9:02 AM, ant elder wrote: Did you ever add me as a moderator for the private list, I've not seen any moderation requests? So you must have seen all the subscription requests...could you post a list of who has subscribed? (or is there some other way I can find the subscrib

Re: Axis2 binding

2006-07-26 Thread Jeremy Boynes
On Jul 26, 2006, at 11:40 AM, Scott Kurz wrote: Jervis, There is also a bit of work to add your Axis2BindingBuilder to the BuilderRegistry, correct? Or maybe that's more of a host-specific question that isn't part of the binding proper. Whoever bootstraps the runtime would add your bui

Image sizes, was: Comparison between live tuscany website and what's being proposed as part of Tuscany-568

2006-07-26 Thread Jeremy Boynes
On Jul 26, 2006, at 10:53 AM, Simon Laws wrote: I can't find an way to conver viso to open office that works. Tried most of the suggestions I can find on the web. However the diagrams are not so complicated that I can't redraw them by hand. If someone has already made the conversion save me

Re: Comparison between live tuscany website and what's being proposed as part of Tuscany-568

2006-07-26 Thread Jeremy Boynes
On Jul 26, 2006, at 8:16 AM, Rick wrote: I may be miss interpreting or reading too much in what you stated. But I kindly request that patches and updates be to the tuscany \sandbox\site\site-author files. That they've been run through the build tool ok using the tuscany\sandbox\site\build sc

Re: Imbedded model

2006-07-25 Thread Jeremy Boynes
On Jul 25, 2006, at 10:50 AM, Scott Kurz wrote: I have a couple thoughts on the subject of Host APIs: First, I think it would be valuable for the host environment to be able to access any CompositeContext via some sort of namespace of Composites registered with a given runtime instance... or

Re: [jira] Resolved: (TUSCANY-574) URISyntaxException from launcher when jars reside in windows Maven repository

2006-07-25 Thread Jeremy Boynes
On Jul 25, 2006, at 9:51 AM, Raymond Feng wrote: Hi, Are we sure this is a correct fix? No. -- Jeremy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Imbedded model

2006-07-25 Thread Jeremy Boynes
On Jul 25, 2006, at 7:24 PM, Scott Kurz wrote: So the method I was referring to had signature: ModuleComponent loadModuleComponent(String name, String uri) The replacement is Component deploy(CompositeComponent parent, ComponentDefinition componentDefinition) where the parent determine

[jira] Resolved: (TUSCANY-574) URISyntaxException from launcher when jars reside in windows Maven repository

2006-07-25 Thread Jeremy Boynes (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-574?page=all ] Jeremy Boynes resolved TUSCANY-574. --- Resolution: Fixed Assignee: Jeremy Boynes Fix applied. I tested running a single sample on a Windows machine where the maven repo has a space in

[jira] Closed: (TUSCANY-573) Race condition in ThreadPoolWorkManager

2006-07-25 Thread Jeremy Boynes (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-573?page=all ] Jeremy Boynes closed TUSCANY-573. - Resolution: Fixed Applied patch from Meeraj > Race condition in ThreadPoolWorkManager > --- > >

Re: [jira] Created: (TUSCANY-573) Race condition in ThreadPoolWorkManager

2006-07-25 Thread Jeremy Boynes
eeraj -Original Message- From: Jeremy Boynes [mailto:[EMAIL PROTECTED] Sent: 25 July 2006 00:21 To: tuscany-dev@ws.apache.org Subject: Re: [jira] Created: (TUSCANY-573) Race condition in ThreadPoolWorkManager On Jul 24, 2006, at 12:41 PM, Meeraj Kunnumpurath wrote: Jeremy, Pls find the

Re: Jars needed to try ServletLauncherListener in Tomcat??

2006-07-25 Thread Jeremy Boynes
On Jul 24, 2006, at 7:31 PM, Ken Tam wrote: r425257 creates a "web distribution" which can be extracted directly into Tomcat's "shared" dir or any webapp's WEB-INF. From the commit mail: How about having an option where most of the Tuscany jars do not need to be in lib and so can be kept of

Notice file, was: svn commit: r425257

2006-07-25 Thread Jeremy Boynes
Please can you make sure the distro contains an appropriate NOTICE file. Thanks -- Jeremy On Jul 24, 2006, at 7:03 PM, [EMAIL PROTECTED] wrote: Author: kentam Date: Mon Jul 24 19:03:35 2006 New Revision: 425257 URL: http://svn.apache.org/viewvc?rev=425257&view=rev Log: Add an SCA web distribu

Re: Where did the previous M1 code move to?

2006-07-24 Thread Jeremy Boynes
It is this one (Rick's): http://svn.apache.org/viewvc/incubator/tuscany/branches/java-post-M1/ The one at (Jim's): http://svn.apache.org/viewvc/incubator/tuscany/branches/java-M1/ is from when we cut the M1 release. See revision r423492 for the actual copy. -- Jeremy --

Re: Tuscany dependencies

2006-07-24 Thread Jeremy Boynes
I'd like to focus on dependencies in general rather than those from this patch. IMO whether we add an additional dependency comes down to what value does doing so provide to a user and at what cost. Some of that value comes in the form of additional functionality. Using someone else's imp

Re: [jira] Created: (TUSCANY-573) Race condition in ThreadPoolWorkManager

2006-07-24 Thread Jeremy Boynes
On Jul 24, 2006, at 12:41 PM, Meeraj Kunnumpurath wrote: Jeremy, Pls find the patch attached. Unfortunately this appears to deadlock on my Mac (maybe a dual-core problem). -- Jeremy - To unsubscribe, e-mail: [EMAIL PRO

Re: Jars needed to try ServletLauncherListener in Tomcat??

2006-07-24 Thread Jeremy Boynes
All the jars for the standalone can be found in bin and boot (there are not very many). AIUI nothing needs to be copied into Tomcat, everything can be in the webapp lib directory. -- Jeremy On Jul 24, 2006, at 3:43 PM, Scott Kurz wrote: Is there a current Ant script to copy the right bina

Re: Tuscany API module?

2006-07-24 Thread Jeremy Boynes
Some thought yes, little action. I was thinking we would have an API module at a lower level in the build than the SPI module containing things like Deployer as that would be a service interface used by clients. We should be able to factor this out of SPI. Some things may be worth leaving

Re: [jira] Created: (TUSCANY-573) Race condition in ThreadPoolWorkManager

2006-07-24 Thread Jeremy Boynes
On Jul 24, 2006, at 12:00 PM, Meeraj Kunnumpurath wrote: Jeremy, Apologies if you have received my earlier email (my internet mail account doesn't seem to work always) I think this is one of them - the previous mail I have was at 10:11AM PDT. Executors.newFoxedThreadPool() creates a thre

Re: [jira] Created: (TUSCANY-573) Race condition in ThreadPoolWorkManager

2006-07-24 Thread Jeremy Boynes
On Jul 24, 2006, at 10:34 AM, Jeremy Boynes wrote: Does this still fulfill the lifecycle contract? With this patch, workAccepted is called on the worker thread and not until the work is actually dispatched - I thought it would need to be called before any scheduling delay. The patch

Re: [jira] Created: (TUSCANY-573) Race condition in ThreadPoolWorkManager

2006-07-24 Thread Jeremy Boynes
this. Ta Meeraj -Original Message- From: Jeremy Boynes (JIRA) [mailto:[EMAIL PROTECTED] Sent: 24 July 2006 17:39 To: tuscany-dev@ws.apache.org Subject: [jira] Created: (TUSCANY-573) Race condition in ThreadPoolWorkManager Race condition in ThreadPoolWorkMa

[jira] Created: (TUSCANY-573) Race condition in ThreadPoolWorkManager

2006-07-24 Thread Jeremy Boynes (JIRA)
Race condition in ThreadPoolWorkManager --- Key: TUSCANY-573 URL: http://issues.apache.org/jira/browse/TUSCANY-573 Project: Tuscany Issue Type: Bug Reporter: Jeremy Boynes Problems running

Re: Java core test case failures?

2006-07-24 Thread Jeremy Boynes
On Jul 24, 2006, at 7:30 AM, Rick wrote: testSchedule (org.apache.tuscany.core.services.work.jsr237.workmanager.ThreadPoolWo rkManagerTestCase) Time elapsed: 0 sec <<< ERROR! java.lang.AssertionError: Expectation failure on verify: run(): expected: 1, actual: 0 at org.easymock.internal

Image question for new site

2006-07-23 Thread Jeremy Boynes
I like the images - they give a better impression off the first page. I was wondering if there was a way to make them scale proportion to the window? I know you can do that with regular images but wasn't sure if you could do that with maps. On Safari they are coming out very large. -- Jer

Re: How to run sandbox chianti samples

2006-07-23 Thread Jeremy Boynes
There were some directions in the mail here: http://mail-archives.apache.org/mod_mbox/ws-tuscany-dev/200607.mbox/% [EMAIL PROTECTED] On Jul 23, 2006, at 4:49 AM, zhumei.zhang wrote: hi, Take supplychain for example, i can run SupplyChainTestCase normally, because the setUp method in S

Re: Moving system SCDLs into separate module under java\sca

2006-07-21 Thread Jeremy Boynes
On Jul 21, 2006, at 4:34 PM, Ken Tam wrote: Right now there's a set of SCDL files that define one particular basic runtime (used by the launchers), but it's packaged with the command-line launcher module (meaning that the SCDL and classes like MainLauncherBooter always come together). I propose

Deployment, was: ServletLauncher, ...

2006-07-21 Thread Jeremy Boynes
On Jul 21, 2006, at 1:54 PM, Ken Tam wrote: Working on understanding the deployment code; here's a snippet that's unclear to me: In DeployerImpl.deploy(CompositeComponent parent, CompositeDefinition componentDefinition) : DeploymentContext deploymentContext = new RootDeploymentContext(null,

Re: Project groupIds

2006-07-21 Thread Jeremy Boynes
On Jul 21, 2006, at 4:06 PM, Ken Tam wrote: Eddie: Yeah, I figured it was something like that based on inspection of the repo structure, but what confused me was how parenting relationships fit into this (it's also probably time for me to blow away big chunks of my local repo as it's accumulate

Re: Using osgi plugin to generate manifests

2006-07-21 Thread Jeremy Boynes
On Jul 21, 2006, at 3:25 PM, Raymond Feng wrote: Several questions: 1) What's going to happen if a 3rd party dependency is not OSGi bundled? 2) How does it deal with "Require-Bundle"? It seems that it can populate "Import-Package" automatically. 3) Can you post a sample MANIFEST.MF generat

Re: Using osgi plugin to generate manifests

2006-07-21 Thread Jeremy Boynes
Sometimes they work and sometimes they don't ... let's try this Index: pom.xml === --- pom.xml (revision 424385) +++ pom.xml (working copy) @@ -18,13 +18,19 @@ 4.0.0 org.osoa sca-api-r0.95 +1.0-SNAPSHOT +

Re: Restoring files in svn?

2006-07-21 Thread Jeremy Boynes
Should be back now ... -- Jeremy On Jul 21, 2006, at 1:24 PM, Brent Daniel wrote: I've been looking into restoring the DAS companyweb sample that got deleted with the move to chianti. I can copy the files from the last revision before it was deleted using "svn cp -r ", but I'm having problems c

Using osgi plugin to generate manifests

2006-07-21 Thread Jeremy Boynes
We current specify manifests for some of the jars that enable them to be used as OSGi bundles. These (IIRC) are based on some sent in near the start of the year. One problem I think we face is in tracking the content of these to keep them current. I did some experimentation with the maven-o

Re: Restoring files in svn?

2006-07-21 Thread Jeremy Boynes
I will copy these back. -- Jeremy On Jul 21, 2006, at 1:24 PM, Brent Daniel wrote: I've been looking into restoring the DAS companyweb sample that got deleted with the move to chianti. I can copy the files from the last revision before it was deleted using "svn cp -r ", but I'm having problems

Re: Project groupIds

2006-07-21 Thread Jeremy Boynes
On Jul 21, 2006, at 2:06 PM, Ken Tam wrote: So right now sca doesn't define a groupId and is parented to tuscany-project w/ groupId o.a.t.. That is so last night ... ;-) In r424080 I disinherited the project from its parent (like the other sdo and das poms) so that people could build sca wi

Which work manager?

2006-07-21 Thread Jeremy Boynes
Which work manager implementation are we actually using? If it's Meeraj's, can we remove the dependencies on the Geronimo implementation? -- Jeremy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [

Project groupIds

2006-07-21 Thread Jeremy Boynes
I was fixing up the DAS pom's recently and noticed that the groupId was set to "org.apache.tuscany.das" which seemed quite sensible. What do people think about changing the groupIds for sca and sdo to o.a.t.sca and o.a.t.sdo respectively? -- Jeremy

Jira permissions, was: [C++/Java] Interop update

2006-07-21 Thread Jeremy Boynes
On Jul 21, 2006, at 6:41 AM, Frank Budinsky wrote: Hi Simon, On the left side of the window, under "Operations", there is a link "Edit this issue". If you don't see it, then it must be only available to committers. It may be available to folk in the "tuscany-developers" group which inclu

Re: ServletLauncher, was: svn commit: r424013...

2006-07-21 Thread Jeremy Boynes
On Jul 20, 2006, at 5:14 PM, Ken Tam wrote: On 7/20/06, Jeremy Boynes <[EMAIL PROTECTED]> wrote: On Jul 20, 2006, at 11:16 AM, [EMAIL PROTECTED] wrote: > +/** > + * Default application SCDL path used if no > "applicationScdlPath" param is specified > +

ServletLauncher, was: svn commit: r424013...

2006-07-20 Thread Jeremy Boynes
On Jul 20, 2006, at 11:16 AM, [EMAIL PROTECTED] wrote: +/** + * Default application SCDL path used if no "applicationScdlPath" param is specified + * + * REVIEW: this doesn't work as expected right now because we are using the webapp classloader + * directly, which does

Re: Java assertion related test case failures

2006-07-20 Thread Jeremy Boynes
On Jul 20, 2006, at 4:14 PM, Raymond Feng wrote: If the purpose of the test case is to verify the "assert", I suggest that we use "ClassLoader.setClassAssertionStatus (targetClassName, true)" to make sure "assert" is on before the target class is initialized (for example, in a static block o

Re: Java assertion related test case failures

2006-07-20 Thread Jeremy Boynes
be an expected behavior in general. Dedicated exceptions and errors are much better protocol, e.g. IndexOutOfBoundsException and OutOfMemoryError give much more specific/useful info than plain AssertionError, not to mention assertion isn't really born for error reporting. On 7/20/06, Je

Launcher properties, was: svn commit: r424013 ...

2006-07-20 Thread Jeremy Boynes
On Jul 20, 2006, at 11:16 AM, [EMAIL PROTECTED] wrote: public class Launcher { +// REVIEW: ([EMAIL PROTECTED]) Perhaps this should be null / have no default? +// It seems to me it would very unusual (ie, uncommonly- simplistic) for the system classloader to be the desired +// appl

Re: Java assertion related test case failures

2006-07-20 Thread Jeremy Boynes
Assertions should be enabled when running our test cases. I have added an AssertionTestCase to the spi module that will cause the build to fail if assertions are not enabled. -- Jeremy On Jul 20, 2006, at 9:36 AM, Raymond Feng wrote: Hi, I ran into some test case failures with the trunk co

Re: Chianti

2006-07-20 Thread Jeremy Boynes
I propose we remove sandbox/chianti - any objections? -- Jeremy On Jul 20, 2006, at 12:26 PM, Pete Robbins wrote: a passable wine, sometimes exceptional. Anyho... as the sandbox code has moved to trunk I think it should no longer be referred to as Chianti. It's "Tuscany" ... maybe qualified

Re: [PATCH] launcher cannot boot from a jar file whose path contains spaces

2006-07-20 Thread Jeremy Boynes
tic hosts as they come up. -- Jeremy Thanks, Raymond - Original Message - From: "Jeremy Boynes" <[EMAIL PROTECTED]> To: Sent: Saturday, July 15, 2006 10:28 AM Subject: Re: [PATCH] Chianti launcher cannot boot from a jar file whose path contains spaces On Jul 15, 2006,

Re: Queries on Chianti spi.model

2006-07-20 Thread Jeremy Boynes
Comments inline... On Jul 20, 2006, at 1:03 AM, Venkata Krishnan wrote: Hi Jim / Jeremy & others familiar with Chianti, I have just started with Chianti. Am looking at the SPI first and in that the model. I have some questions on the classes there. Please help me understand with your a

Re: Imbedded model

2006-07-19 Thread Jeremy Boynes
On Jul 19, 2006, at 6:36 PM, Ken Tam wrote: I'm about to check-in some code to support embedding Tuscany in any servlet container -- mostly a servlet listener that launches the runtime. It's not a lot of code (if it were, I'd be worried :), but I could still see moving it out into a separate p

Re: Imbedded model

2006-07-19 Thread Jeremy Boynes
Comments inline ... On Jul 19, 2006, at 5:20 PM, scabooz wrote: Jeremy (and others of course), There have been a few recent threads that have touched on the various aspects of how Tuscany might be imbedded in a larger runtime environment. At least Jeremy is already starting to form a mental mod

Re: Finally posted: src file header and copyright policy

2006-07-19 Thread Jeremy Boynes
On Jul 19, 2006, at 11:50 AM, Jeremy Boynes wrote: Is this is good time to do this to the trunk (thinking that most people will not have any work that will conflict)? I'll see if the tools work and if there are no issues think about doing this later this week. We had a problem with

Re: Finally posted: src file header and copyright policy

2006-07-19 Thread Jeremy Boynes
Is this is good time to do this to the trunk (thinking that most people will not have any work that will conflict)? I'll see if the tools work and if there are no issues think about doing this later this week. -- Jeremy On Jul 17, 2006, at 10:32 AM, Jeremy Boynes wrote: Heads up

Tackling build problems

2006-07-19 Thread Jeremy Boynes
One thing we ran into with chianti was problems in the build due to the availability of dependencies that are only used in a few places. For example, there were repeated problems building the JAXB databinding due to downtime at java.net. This isn't new - for example, I remember in M1 we had

Chianti moved to trunk

2006-07-19 Thread Jeremy Boynes
I have now moved all the code from chianti into the trunk and have reset version numbers across the board to 1.0-SNAPSHOT. However, I think a little more re-organization could be done to match this closer to the old trunk. Firstly, back to the age-old question of where should the samples go

Re: How to deal with spec-related issues

2006-07-19 Thread Jeremy Boynes
On Jul 19, 2006, at 9:59 AM, Yang ZHONG wrote: Is the spec group pulling proposals from Tuscany wiki? If not, maybe we need to push the proposals to the spec group and we may need a process. There is precedent for that - for the CDI proposal I just sent a link to the wiki page to the spec

Re: How to deal with spec-related issues

2006-07-19 Thread Jeremy Boynes
On Jul 19, 2006, at 9:31 AM, Raymond Feng wrote: Hi, When we implement Tuscany, once a while we run into issues/holes/ missing features in the SCA spec (SDO in some cases). I'm wondering if we have an open source endorsed process on how to deal with such issues. Because they may impact the

Re: svn commit: r423492 - /incubator/tuscany/branches/java-post-M1/

2006-07-19 Thread Jeremy Boynes
I copied the entire java tree to "java-post-M1" so that we will have a copy of the current trunk after the chianti switchover. The SCA part has dependencies on a SNAPSHOT version of SDO so I included that in the copy so that this tree will continue to build even when SDO's trunk evolves.

Re: CurrentCompositeContext.getContext() in chianti?

2006-07-19 Thread Jeremy Boynes
On Jul 19, 2006, at 6:02 AM, Scott Kurz wrote: Would you agree it would make sense for Tuscany to provide this function rather than the host env? If this is the host env's job then it must get a notification every time a Composite boundary is crossed in the case of recursively nested compo

Re: CurrentCompositeContext.getContext() in chianti?

2006-07-18 Thread Jeremy Boynes
Responsibility still lies with the host environment. In the launcher's case, it is the J2SE (command line) host environment so it sets up the context before calling the application code; it is kind of similar to a J2EE application client container. We do a similar thing in SCATestCase to se

Dependency on Woodstox

2006-07-18 Thread Jeremy Boynes
The following classes have a dependency on classes from com.ctc: ./databinding-framework/src/main/java/org/apache/tuscany/databinding/ xml/Node2XMLStreamReader.java ./databinding-framework/src/main/java/org/apache/tuscany/databinding/ xml/XMLStreamReader2Node.java This couples us to the Woodst

jMock vs. EasyMock

2006-07-18 Thread Jeremy Boynes
In chianti we had started to play with jMock as a mock object test framework but after living with it for a while I started to get frustrated with it. I saw that Raymond's databinding framework was using EasyMock and tried converting over one of the jMock testcases. It was fairly simple to

Re: Proprietary BEA Dependency in Tuscany ?

2006-07-18 Thread Jeremy Boynes
On Jul 18, 2006, at 11:41 AM, Luciano Resende wrote: Looks like the /java/testing/tomcat/readme.htm describes how to get the dependencies from XML Bean Distribution, and what we need is just to make sure the message from running mvn does not point to bea website. If I download the file from

Re: Proprietary BEA Dependency in Tuscany ?

2006-07-18 Thread Jeremy Boynes
On Jul 18, 2006, at 10:27 AM, Luciano Resende wrote: But the dependency we are currently using is not opensource, is this right ? In general we use the stax-api JAR from Codehaus for this; that claims to be the RI and is open source. I don't know where this dependency in bigbank is coming

Re: [PATCH] Patch for databinding was: Re: Moving chianti to trunk

2006-07-18 Thread Jeremy Boynes
On Jul 18, 2006, at 10:18 AM, Raymond Feng wrote: Hi, Jeremy. Can you try this patch? It seems that in your environment the SAX XMLReader may have a different feature settings on "namespaces" or "namespace-prefixes". With the patch, I enforce them by: reader.setFeature("http://xml.org/sax

Re: [PATCH] Patch for databinding was: Re: Moving chianti to trunk

2006-07-18 Thread Jeremy Boynes
On Jul 18, 2006, at 8:46 AM, Raymond Feng wrote: Hi, I ran into this issue once inside Eclipse but cannot reproduce it any more. It's probably related to some settings of the SAX/DOM features on namespace handling. I'll investigate. What JDK do you use? I tried IBM and SUN JDKs and both a

Re: [PATCH] Patch for databinding was: Re: Moving chianti to trunk

2006-07-18 Thread Jeremy Boynes
On Jul 17, 2006, at 11:12 PM, Raymond Feng wrote: Hi, I can run the all the test cases successfully using "mvn clean install". Can you post me the stacktrace? I commented out the test bodies. If I uncomment them I get: Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.061

Re: Moving chianti to trunk

2006-07-18 Thread Jeremy Boynes
On Jul 17, 2006, at 11:12 PM, Venkata Krishnan wrote: Hi Jeremy, I have two patches one in SDO-Impl and another in SCA-Tools (Java2WSDL tooling) that need to be reviewed and applied to M1+. The Jiras are Tuscany-535 and Tuscany-120 respectively. But then they are to applied over M1+. A

Re: [PATCH] Patch for databinding was: Re: Moving chianti to trunk

2006-07-17 Thread Jeremy Boynes
On Jul 17, 2006, at 10:01 PM, Raymond Feng wrote: Hi, Jeremy. I have a big patch for the databinding as attached. It includes code improvements, more transformers and test cases. Please review and apply. I applied this but it is a big large to review easily - can you break down what is

Moving chianti to trunk

2006-07-17 Thread Jeremy Boynes
With the vote in favour of switching, I am about to start moving chianti into trunk. I will move the current sca parts into a branch (branches/pre-chianti) and move the chianti code into trunk. I will make the version in the poms 1.0-SNAPSHOT like the SDO tree. I expect to complete this tom

Re: RuntimeInfo, was: Loading extensions in chianti

2006-07-17 Thread Jeremy Boynes
On Jul 17, 2006, at 11:04 AM, Kenneth Tam wrote: Jeremy, can you elaborate a bit on SystemCompositeComponent.registerJavaObject()? The call to register the RuntimeInfo in Launcher is the only non-test call I can find, and the doc suggests that it's sort of a shorthand for what the builder code m

Fwd: Finally posted: src file header and copyright policy

2006-07-17 Thread Jeremy Boynes
Heads up of an upcoming policy change that means we will need to update the license boilerplate in our code. -- Jeremy Begin forwarded message: From: "Cliff Schmidt" <[EMAIL PROTECTED]> Date: July 16, 2006 11:39:37 PM PDT To: legal-discuss@apache.org Subject: Finally posted: src file header a

Re: Website work

2006-07-17 Thread Jeremy Boynes
lresende also offered to help with das On Jul 17, 2006, at 10:01 AM, Jeremy Boynes wrote: On IRC this morning we chatted about the changes to the site to address some of the comments we had at ApacheConEU. Last week I checked the toolkit from the incubator site into sandbox/jboynes/site

Website work

2006-07-17 Thread Jeremy Boynes
On IRC this morning we chatted about the changes to the site to address some of the comments we had at ApacheConEU. Last week I checked the toolkit from the incubator site into sandbox/ jboynes/site as a possibly simpler alternative to using maven to generate the site. A few people offered t

<    5   6   7   8   9   10   11   12   13   14   >