Re: Pass-by-value support for remotable interfaces

2006-12-13 Thread Venkata Krishnan
Hi Raymond, Here is what I have thought about the databinding dependent copying: - - Create an interface called 'DataCopier' that has 'copy' and 'getDataBinding' methods. - Have various databindings implement this interface. For example OMElementCopier, SDOCopier and so on. - In the

Re: Build break b/c of SDOHelper

2006-12-13 Thread kelvin goodson
OK, I have done what I think is necessary. Please note that in this exercise I have updated the specVersion property of the sdo-api pom.xmlfrom 2.0.1 to 2.1, hence all the sdo spec related artifacts of the deploy have r2.1 in their names, rather than the r2.0.1 that has been the case until

Re: why some tests assume a maven repo in the default location

2006-12-13 Thread Alex Chen
I think maven can get the local repo location and pass to those tests by itself. --Alex Freeman Fang wrote: Hi, I notice that there are two test MavenArtifactRepositoryTestCase and LocalMavenRepositoryTestCase assume that maven repo is installed at default location

Re: [SDO for C++] Issues from reviewing SequenceImpl.cpp

2006-12-13 Thread Geoffrey Winn
On 11/12/06, Geoffrey Winn [EMAIL PROTECTED] wrote: On 10/12/06, Pete Robbins [EMAIL PROTECTED] wrote: On 10/12/06, Geoffrey Winn [EMAIL PROTECTED] wrote: Further to another thread that was discussing how sequences should be maintained, I have been reviewing the code of SequenceImpl.cpp

Re: [C++] Duplicated/infinite loading? How to avoid

2006-12-13 Thread Pete Robbins
The patch works for me (or at least doesn't break anything ;-) ). good work On 13/12/06, Yang ZHONG [EMAIL PROTECTED] wrote: A patch has been attached into http://issues.apache.org/jira/browse/TUSCANY-990 BTW, Caroline has also requested this improvement (

Re: Pass-by-value support for remotable interfaces

2006-12-13 Thread Raymond Feng
Hi, Venkat. You don't have to create a new extension point here as we already have one: org.apache.tuscany.spi.DataBinding org.apache.tuscany.spi.DataBindingRegistry You can just add the copy(...) method to org.apache.tuscany.spi.DataBinding. Thanks, Raymond - Original Message -

Re: why some tests assume a maven repo in the default location

2006-12-13 Thread Raymond Feng
Hi, Alex and Freeman. Thank you for reporting the issue and making proposals. Are you interested in contributing a patch for this? Thanks, Raymond - Original Message - From: Alex Chen [EMAIL PROTECTED] To: tuscany-dev@ws.apache.org Sent: Wednesday, December 13, 2006 12:36 AM

Re: PolicySetLoaderTestCase failed

2006-12-13 Thread Raymond Feng
Hi, I fixed it in revision 486718. Thanks, Raymond - Original Message - From: Freeman Fang [EMAIL PROTECTED] To: tuscany-dev@ws.apache.org Sent: Tuesday, December 12, 2006 11:30 PM Subject: PolicySetLoaderTestCase failed Hi, PolicySetLoaderTestCase test failed at line

Re: [C++] SDOXMLWriter not writing ns prefixes correctly

2006-12-13 Thread Jean-Sebastien Delfino
Pete Robbins wrote: On 13/12/06, Pete Robbins [EMAIL PROTECTED] wrote: OK... I've checked in a change for this. The result is that xsi:type is written correctly. Unfortunately the element prefix is not always written correctly. The problem is that we do not record the namespace uri of a

[jira] Created: (TUSCANY-991) Failure to load SCA webapps into TomCat with multiple exceptions

2006-12-13 Thread Luciano Resende (JIRA)
Failure to load SCA webapps into TomCat with multiple exceptions Key: TUSCANY-991 URL: http://issues.apache.org/jira/browse/TUSCANY-991 Project: Tuscany Issue Type: Bug

[jira] Commented: (TUSCANY-991) Failure to load SCA webapps into TomCat with multiple exceptions

2006-12-13 Thread Raymond Feng (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-991?page=comments#action_12458200 ] Raymond Feng commented on TUSCANY-991: -- It seems that the databinding-sdo extension is not packaged in your WAR. Failure to load SCA webapps into TomCat

ClassNotFound and UnrecognizedElementException trying to load a webapp with SCA integration

2006-12-13 Thread Luciano Resende
I have created JIRA Tuscany-991, basically with the latest trunk code i'm not being able to load/run any application that have SCA integration into Tomcat. There seems to be some issue around the class loader that is giving some ClassNotFound exceptions, and also some UnrecognizedElementException

[jira] Commented: (TUSCANY-991) Failure to load SCA webapps into TomCat with multiple exceptions

2006-12-13 Thread Raymond Feng (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-991?page=comments#action_12458204 ] Raymond Feng commented on TUSCANY-991: -- Sorry, by looking the code. The ImportSDOLoader has a different namespace then the one used in BB scdl. We need to

[jira] Assigned: (TUSCANY-991) Failure to load SCA webapps into TomCat with multiple exceptions

2006-12-13 Thread Raymond Feng (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-991?page=all ] Raymond Feng reassigned TUSCANY-991: Assignee: Raymond Feng Failure to load SCA webapps into TomCat with multiple exceptions

Re: Pass-by-value support for remotable interfaces

2006-12-13 Thread Venkata Krishnan
Hi Raymond, Thanks. Am going ahead with this. - Venkat On 12/13/06, Raymond Feng [EMAIL PROTECTED] wrote: Hi, Venkat. You don't have to create a new extension point here as we already have one: org.apache.tuscany.spi.DataBinding org.apache.tuscany.spi.DataBindingRegistry You can just add

Exception hierarchy cleanup in core

2006-12-13 Thread Jim Marino
FYI, I've started to go in a clean up some of the exception handling and error reporting in core as it has gotten a bit crufty (in addition to not reporting very much information when errors are thrown). As part of this, I'm going to change the identifier on TuscanyException and

Re: [C++] SDOXMLWriter not writing ns prefixes correctly

2006-12-13 Thread Pete Robbins
On 13/12/06, Jean-Sebastien Delfino [EMAIL PROTECTED] wrote: Pete Robbins wrote: On 13/12/06, Pete Robbins [EMAIL PROTECTED] wrote: OK... I've checked in a change for this. The result is that xsi:type is written correctly. Unfortunately the element prefix is not always written correctly.

Can you rename the default.scdl file?

2006-12-13 Thread Hasan Muhammad
I have two composites ( 2 jar files ) and a separate client jar file. I am trying to invoke the client test cases through iTest plugin. It complains with the following error. [INFO] Multiple SCDL files found on test classpath:

Re: Can you rename the default.scdl file?

2006-12-13 Thread Raymond Feng
Hi, I have a question first: Why do you need to put the composite on your classpath? Then it's an answer for your question: You can add an element applicationScdl under the configuration for the itest plugin in the pom.xml to point to your application scdl. plugin

[jira] Created: (TUSCANY-992) \r (and \n) is lost for mixed element value

2006-12-13 Thread Yang ZHONG (JIRA)
\r (and \n) is lost for mixed element value - Key: TUSCANY-992 URL: http://issues.apache.org/jira/browse/TUSCANY-992 Project: Tuscany Issue Type: Bug Components: C++ SDO Affects

[jira] Commented: (TUSCANY-990) Avoid duplicated/infinite loading

2006-12-13 Thread Geoff Winn (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-990?page=comments#action_12458224 ] Geoff Winn commented on TUSCANY-990: This patch doesn't build on Linux using gcc 3.2.3. The problem is in ParserErrorSetter.h. The namespace stdext isn't

Re: [C++] Duplicated/infinite loading? How to avoid

2006-12-13 Thread Pete Robbins
On 13/12/06, Pete Robbins [EMAIL PROTECTED] wrote: The patch works for me (or at least doesn't break anything ;-) ). good work I'm getting an access violation in this code when running hte SCA samples. I need to investigate some more. On 13/12/06, Yang ZHONG [EMAIL PROTECTED] wrote:

Re: Can you rename the default.scdl file?

2006-12-13 Thread Hasan Muhammad
Hi Raymond, I have a client that is referencing the services on these two composites. My client pom file looks like this: execution idtest/id goals goaltest/goal /goals

[jira] Commented: (TUSCANY-990) Avoid duplicated/infinite loading

2006-12-13 Thread Geoff Winn (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-990?page=comments#action_12458263 ] Geoff Winn commented on TUSCANY-990: Looking at the changes in ParserErrorSetter.h ... The stdext::hash_map is used to keep a record of the schema files

Re: [C++] SDOXMLWriter not writing ns prefixes correctly

2006-12-13 Thread Pete Robbins
On 13/12/06, Pete Robbins [EMAIL PROTECTED] wrote: On 13/12/06, Jean-Sebastien Delfino [EMAIL PROTECTED] wrote: Pete Robbins wrote: On 13/12/06, Pete Robbins [EMAIL PROTECTED] wrote: OK... I've checked in a change for this. The result is that xsi:type is written correctly.

[C++] Refactoring tuscany/sca/util

2006-12-13 Thread Jean-Sebastien Delfino
I'm trying to finish an SDOUtils class that provides utility methods for dealing with SDOs, in particular an SDO Visitor utility which I hope will help us navigate through a DataObject graph (as we need to do in various places in our runtime). While working in the tuscany/sca/util folder I

Re: PolicySetLoaderTestCase failed

2006-12-13 Thread Freeman Fang
Hi Raymond, Thanks very much Freeman Raymond Feng wrote: Hi, I fixed it in revision 486718. Thanks, Raymond - Original Message - From: Freeman Fang [EMAIL PROTECTED] To: tuscany-dev@ws.apache.org Sent: Tuesday, December 12, 2006 11:30 PM Subject: PolicySetLoaderTestCase failed

Re: why some tests assume a maven repo in the default location

2006-12-13 Thread Freeman Fang
Hi Raymond, One solution is in those testcase we can parse settings.xml in maven configuration folder(.m2) and get local localRepository element from this configuration file. If this solution is acceptable I can provide a patch for this. Any thoughts, better solutions? Thanks very much

Re: why some tests assume a maven repo in the default location

2006-12-13 Thread Raymond Feng
Hi, I think I figure out a way to use MavenSettingsBuilder to get the local repo. I'll do more test before I check in the fix. Thanks, Raymond - Original Message - From: Freeman Fang [EMAIL PROTECTED] To: tuscany-dev@ws.apache.org Sent: Wednesday, December 13, 2006 6:31 PM Subject:

Re: why some tests assume a maven repo in the default location

2006-12-13 Thread Freeman Fang
Hi Raymond, That's better. Cheers Freeman Raymond Feng wrote: Hi, I think I figure out a way to use MavenSettingsBuilder to get the local repo. I'll do more test before I check in the fix. Thanks, Raymond - Original Message - From: Freeman Fang [EMAIL PROTECTED] To: