Re: [sca-java-integration-branch] Missing WSDL type imports causes aymetrical behviour

2007-03-14 Thread Simon Laws
On 3/13/07, Raymond Feng [EMAIL PROTECTED] wrote: Hi, The ClassCastException will only happen if we try to get the child element out of the repsonse wrapper (which is an instance of AnyTypeDataObjectImpl because the model is not registered with SDO runtime) and cast it to a generated SDO

[jira] Created: (TUSCANY-1171) SDO Java M3 Release

2007-03-14 Thread Kelvin Goodson (JIRA)
SDO Java M3 Release --- Key: TUSCANY-1171 URL: https://issues.apache.org/jira/browse/TUSCANY-1171 Project: Tuscany Issue Type: Task Components: Java SDO Implementation, Java SDO Samples, Java SDO Tools

[jira] Updated: (TUSCANY-1171) SDO Java M3 Release

2007-03-14 Thread Kelvin Goodson (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1171?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kelvin Goodson updated TUSCANY-1171: Attachment: rat_report.zip Initial rat report generated from new version (0.41) of rat

Re: SDO Java M3 content

2007-03-14 Thread kelvin goodson
I opened JIRA Task http://issues.apache.org/jira/browse/TUSCANY-1171 to cover work done for the SDO Java M3 release, and have just attached an initial rat report. If anyone feels the urge to check this through before I get to it that would be great ;-) Kelvin. On 13/03/07, kelvin goodson

Re: [VOTE] Tuscany C++ sub-project name

2007-03-14 Thread Andrew Borley
On 2/16/07, Jean-Sebastien Delfino [EMAIL PROTECTED] wrote: Andrew Borley wrote: On 2/15/07, Pete Robbins [EMAIL PROTECTED] wrote: On 09/02/07, Simon Laws [EMAIL PROTECTED] wrote: On 2/9/07, Andrew Borley [EMAIL PROTECTED] wrote: On 1/30/07, Simon Laws [EMAIL PROTECTED] wrote: On

[jira] Resolved: (TUSCANY-1116) Improve error reporting for Python components

2007-03-14 Thread Andrew Borley (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1116?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Borley resolved TUSCANY-1116. Resolution: Fixed Fixed in r512711 Improve error reporting for Python components

Databinding itest reorg proposal

2007-03-14 Thread Simon Laws
I think we need to reorg the itest directory for databinding a bit and I need some help to get the maven bit correct as I'm a bit of a maven novice. I'm looking at the integration branch at the moment as that is where the tests are checked in but I don't see why these tests can't go in the trunk

Re: Assembly metadata, was: Queries on References

2007-03-14 Thread Venkata Krishnan
Hi, I also see that all our loaders use string literals to load attributes from the SCDL for e.g. the name of a component or property and so on. I am wondering if it would be good to define these as constants somewhere - for example attributes related to Property element could be defined in the

Native M3 Release Candidate

2007-03-14 Thread Pete Robbins
I have posted a release candidate here: http://people.apache.org/~robbinspg/M3-RC1/ Before starting a vote for this I would appreciate some folk trying it out and reporting the silly errors that will require a vote to restart. Please reply here with any problems (or success) you may have. Thank

[sca-java-integration-branch] databinding sdo test case failure

2007-03-14 Thread Simon Laws
Just took an update from svn, and removed my mvn repository, and am getting failures in the sdo databinding tests starting with... Running org.apache.tuscany.databinding.sdo.SDOExceptionHandlerTestCase Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 0.09 sec FAI LURE!

Re: Native M3 Release Candidate

2007-03-14 Thread ant elder
I've just given this a try with the windows binary builds and following the getting started instructions to run the calculator sample. The first try failed as libxml2 and iconv are missing. I see now it does mention these in the SDO system prereqs section but a note pointing that out in the

[jira] Commented: (TUSCANY-1168) Type.isSequenced() returns wrong value for my XSD

2007-03-14 Thread Frank Budinsky (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1168?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12480748 ] Frank Budinsky commented on TUSCANY-1168: - Raymond, Yes, you are right. I think there are a few examples

Re: [sca-java-integration-branch] databinding sdo test case failure

2007-03-14 Thread Simon Laws
On 3/14/07, Simon Laws [EMAIL PROTECTED] wrote: Just took an update from svn, and removed my mvn repository, and am getting failures in the sdo databinding tests starting with... Running org.apache.tuscany.databinding.sdo.SDOExceptionHandlerTestCase Tests run: 3, Failures: 0, Errors: 3,

Re: Native M3 Release Candidate

2007-03-14 Thread Andrew Borley
On 3/14/07, Pete Robbins [EMAIL PROTECTED] wrote: I forgot to say what is new in this release! SDO C++ has a 30-40% performance improvement. SCA Native has language support for C++, Python and Ruby, binding support for sca, webservices and rest plus samples to demonstrate these bindings.

[jira] Resolved: (TUSCANY-153) ChangeSummary on root data object not supported

2007-03-14 Thread Kelvin Goodson (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kelvin Goodson resolved TUSCANY-153. Resolution: Fixed ChangeSummary on root data object not supported

[jira] Resolved: (TUSCANY-1170) The YearMonthDay property type throws format exception when retrieving long value

2007-03-14 Thread Kelvin Goodson (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1170?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kelvin Goodson resolved TUSCANY-1170. - Resolution: Invalid This is behaving as per the SDO 2.1 spec. An issue has already

Checkstyle in testing/sca

2007-03-14 Thread Simon Laws
I note that there are some checkstyle/pmd plugin configurations in the testing/sca pom. Can anyone tell me if this is actually running. I've not seen any indication in the mvn builds that I'm doing that it is. Maybe it's just that the code is perfect or that I'm not configuring mvn properly!

Re: Native M3 Release Candidate

2007-03-14 Thread ant elder
I was using libxml2 2.6.27, seeing you had 2.6.24 i went looking for that but can't find a pre-compiled win32 version for that, so I tried 2.6.23 and using that the sample runs fine. ...ant On 3/14/07, Andrew Borley [EMAIL PROTECTED] wrote: Hi Ant, This looks like it could be a libxml

[jira] Resolved: (TUSCANY-902) release distributions should have common root folder naming the release

2007-03-14 Thread Kelvin Goodson (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-902?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kelvin Goodson resolved TUSCANY-902. Resolution: Fixed archives will now have a root folder of tuscany-sdo-version-tag

Re: Checkstyle in testing/sca

2007-03-14 Thread Luciano Resende
I'll probably not answer you question about differences, but what I usually just run mvn -Psourcecheck. But i have found very useful to use checkstyle and pmd plugins inside IDE (my case eclipse). On 3/14/07, Simon Laws [EMAIL PROTECTED] wrote: I note that there are some checkstyle/pmd plugin

[jira] Updated: (TUSCANY-708) Should TypeHelper.define return List of Types that includes DocumentRootType

2007-03-14 Thread Kelvin Goodson (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-708?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kelvin Goodson updated TUSCANY-708: --- Patch Info: [Patch Available] setting patch available flag Should TypeHelper.define

Trying to run core-samples/standalone/calculator

2007-03-14 Thread Ignacio Silva-Lepe
I'm probably missing something, but according to the readme for the core samples standalone calculator, I should be able to: java -jar {path-to-launcher.jar} target/calc.jar {add|subtract|multiply|divide} {param} {param} but when I try it I get NoClassDefFoundError as follows:

Re: Databinding itest reorg proposal

2007-03-14 Thread Raymond Feng
+1. transformers could go under interop because it's there to test transformations across databindings at the transformer level. Thanks, Raymond - Original Message - From: Simon Laws [EMAIL PROTECTED] To: tuscany-dev tuscany-dev@ws.apache.org Sent: Wednesday, March 14, 2007 4:06 AM

Re: Trying to run core-samples/standalone/calculator

2007-03-14 Thread Luciano Resende
Are you just trying to run from the launcher project ? You need to get a standalone runtime from the assembly, that will have the launcher and more stuff as well. Try unzipping the assembly from : java\sca\runtime\standalone\assembly\target\assembly- 2.0-alpha2-incubating-SNAPSHOT-bin.zip And

Re: Native M3 Release Candidate

2007-03-14 Thread Pete Robbins
On 14/03/07, ant elder [EMAIL PROTECTED] wrote: I've just given this a try with the windows binary builds and following the getting started instructions to run the calculator sample. The first try failed as libxml2 and iconv are missing. I see now it does mention these in the SDO system

SDO CTS tests for DataHelper date formats

2007-03-14 Thread Andy Grove
I've been looking at the DateConversionTest.testToDateFormats test in the SDO CTS. The test iterates over a list of valid date format strings and calls DataHelper.toDate() for each one. However, the test is only asserting that the returned date is not null rather than checking that the correct

Re: Trying to run core-samples/standalone/calculator

2007-03-14 Thread Ignacio Silva-Lepe
Hmm, yeah, I remember doing something like that earlier with the distribution, but I thought things had changed. In any case, if this really is the procedure to follow, it should be documented accor- dingly in the standalone calculator readme. On 3/14/07, Luciano Resende [EMAIL PROTECTED]

[jira] Commented: (TUSCANY-683) [SDO for C++] Adopt Apache stdcxx as an alternative standard C++ library

2007-03-14 Thread Martin Sebor (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-683?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12480841 ] Martin Sebor commented on TUSCANY-683: -- Geoff, what's the unresolved issue? Anything we (stdcxx) can help

Re: Checkstyle in testing/sca

2007-03-14 Thread Simon Laws
On 3/14/07, Luciano Resende [EMAIL PROTECTED] wrote: I'll probably not answer you question about differences, but what I usually just run mvn -Psourcecheck. But i have found very useful to use checkstyle and pmd plugins inside IDE (my case eclipse). On 3/14/07, Simon Laws [EMAIL PROTECTED]

[jira] Commented: (TUSCANY-901) jar Manifests require Application-Vendor-Id

2007-03-14 Thread Kelvin Goodson (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12480845 ] Kelvin Goodson commented on TUSCANY-901: Capturing some info which might help resolve this ... The

[jira] Created: (TUSCANY-1172) plugin LICENSE.txt file has spurious

2007-03-14 Thread Paul Golick (JIRA)
plugin LICENSE.txt file has spurious Key: TUSCANY-1172 URL: https://issues.apache.org/jira/browse/TUSCANY-1172 Project: Tuscany Issue Type: Bug Components: Maven Plugins Affects Versions:

[jira] Updated: (TUSCANY-1172) plugin LICENSE.txt file has spurious

2007-03-14 Thread Paul Golick (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1172?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Paul Golick updated TUSCANY-1172: - Attachment: 1172.patch This patch is intended to be applied from the Tuscany\java directory

Re: Trying to run core-samples/standalone/calculator

2007-03-14 Thread Jeremy Boynes
I cleaned up the doco a little - can you take a look and see if it makes sense (and if not fix it :-) ) -- Jeremy On Mar 14, 2007, at 10:01 AM, Ignacio Silva-Lepe wrote: Hmm, yeah, I remember doing something like that earlier with the distribution, but I thought things had changed. In any

Re: Native M3 Release Candidate

2007-03-14 Thread Simon Laws
On 3/14/07, Pete Robbins [EMAIL PROTECTED] wrote: On 14/03/07, ant elder [EMAIL PROTECTED] wrote: I've just given this a try with the windows binary builds and following the getting started instructions to run the calculator sample. The first try failed as libxml2 and iconv are missing. I

[jira] Updated: (TUSCANY-1171) SDO Java M3 Release

2007-03-14 Thread Kelvin Goodson (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1171?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kelvin Goodson updated TUSCANY-1171: Attachment: rat_exceptions.txt Attaching marked up header content of the rat report --

Re: Native M3 Release Candidate

2007-03-14 Thread Pete Robbins
I've notice that building the samples on Mac installs them in sca/samples/samples. I'll look into this. -- Pete - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: requires and policySets attribute support

2007-03-14 Thread Mark I. Dinges
I was going to start working on the annotation processing for @Requires. Has anyone started working on it yet? Looking at the current processing of the DataType annotation, it looks like we want to create a PolicyJavaInterfaceProcessor class and register it with the

Re: svn commit: r518245 - /incubator/tuscany/java/sca/core-samples/standalone/calculator/readme.html

2007-03-14 Thread Jeremy Boynes
Thanks for catching the launcher name. The application jar though is calc.jar -- Jeremy On Mar 14, 2007, at 11:03 AM, [EMAIL PROTECTED] wrote: Author: isilval Date: Wed Mar 14 11:03:12 2007 New Revision: 518245 URL: http://svn.apache.org/viewvc?view=revrev=518245 Log: use correct file names

Re: svn commit: r518245 - /incubator/tuscany/java/sca/core-samples/standalone/calculator/readme.html

2007-03-14 Thread Ignacio Silva-Lepe
Hmm, I think it's supposed to be calc.jar but that's not what shows up in my build ... On 3/14/07, Jeremy Boynes [EMAIL PROTECTED] wrote: Thanks for catching the launcher name. The application jar though is calc.jar -- Jeremy On Mar 14, 2007, at 11:03 AM, [EMAIL PROTECTED] wrote: Author:

[jira] Commented: (TUSCANY-1165) Integration branch - Timing issue: incorrect dependency on order of Component loader and ImportSDOLoader within Composite loading

2007-03-14 Thread Raymond Feng (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1165?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12480874 ] Raymond Feng commented on TUSCANY-1165: --- There's a simple workaround: Make sure the import.sdo statements

running HelloWorldJMS Sample

2007-03-14 Thread Waseem, Muhammad \(CA - Toronto\)
Hi, I am trying to run HelloWorldJMS sample but i am getting following exception. I am created a project under eclipse and i am using ant to build it. i have copied all the scdl files (databinding, default, idl and jms) under META-INF directory and tuscany extensions under tuscany directory.

Re: Checkstyle in testing/sca

2007-03-14 Thread Luciano Resende
I've seen some recent commits from Raymond and myself around cleaning up checkstyle and pmd violations in the sca-java-integration branch. And, as I said before, having the checkstyle and pmd plugins directly integrated in the IDE helps identifying violation right when you are coding. On

WireAttacher change

2007-03-14 Thread Jim Marino
In order to allow for attachment of optimized wires on a source component, I'm going to slightly change the WireAttacher interface to pass in the target Component as well as the source Component during the attach operation. In the case of Java implementation types, this will allow the

Considering operation overloading while introspecting Service Contract, was Fwd: [jira] Created: (TUSCANY-1173) Can't find method on nested composites with method overloading

2007-03-14 Thread Luciano Resende
I have investigate the issue a little bit, and looks like the problem is in JavaInterfaceProcessorRegistryImpl. Today, when the service contract is being introspected, it's using the method name as key for the available operations. We need to use a different key approach here, that will take in

[jira] Created: (TUSCANY-1174) Need to implement support for @ComponentName

2007-03-14 Thread Luciano Resende (JIRA)
Need to implement support for @ComponentName Key: TUSCANY-1174 URL: https://issues.apache.org/jira/browse/TUSCANY-1174 Project: Tuscany Issue Type: Bug Components: Java SCA Kernel

Re: SDO CTS tests for DataHelper date formats

2007-03-14 Thread Fuhwei Lwo
I did search on SDO spec discussion threads and found out the following 2 links. Based on the first link, it seems Tuscany SDO implementation on DataHelper.toDate(String) for duration string is broken. It seems the algorithm (with my understanding) should be 1) create a calendar with current

Re: [sca-java-integration-branch] Running JUnit test suites with maven surefire

2007-03-14 Thread Jean-Sebastien Delfino
[snip] Luciano Resende wrote: Hi Raymond 1) What's the naming convention for test suites? Should we name them as *TestSuite.java? If so, we have to adjust the surefire inclusion pattern in pom.xml to recognize the test suites. If we're fine with names such as *AllTestCase.java, then the

Re: Databinding itest reorg proposal

2007-03-14 Thread Jean-Sebastien Delfino
Comments inline Raymond Feng wrote: +1. transformers could go under interop because it's there to test transformations across databindings at the transformer level. +1 from me, I'm assuming you meant move the tests currently in transformer to interop and not creating interop/transformer.

Re: SDO Java M3 Targeted JIRAs

2007-03-14 Thread Luciano Resende
Quick minor thing, while taking a look at your manifest file inside sdo-impl, it still says : Implementation-Version: incubating-M1 On 3/14/07, kelvin goodson [EMAIL PROTECTED] wrote: Currently there are 8 JIRAs targeted for the SDO Java M3 release TUSCANY-901jar Manifests require

[jira] Created: (TUSCANY-1175) Tests for duration dates/times should not be in accepted test suite

2007-03-14 Thread Andy Grove (JIRA)
Tests for duration dates/times should not be in accepted test suite - Key: TUSCANY-1175 URL: https://issues.apache.org/jira/browse/TUSCANY-1175 Project: Tuscany Issue Type:

RE: SDO CTS tests for DataHelper date formats

2007-03-14 Thread Andy Grove
Thanks Fuhwei I've raised a JIRA against the CTS to move the duration tests to the UnderReview suite until this issue is properly resolved in the specification. Andy. -Original Message- From: Fuhwei Lwo [mailto:[EMAIL PROTECTED] Sent: 15 March 2007 02:26 To: tuscany-dev@ws.apache.org

[jira] Assigned: (TUSCANY-1165) Integration branch - Timing issue: incorrect dependency on order of Component loader and ImportSDOLoader within Composite loading

2007-03-14 Thread Raymond Feng (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Raymond Feng reassigned TUSCANY-1165: - Assignee: Raymond Feng Integration branch - Timing issue: incorrect dependency on

Re: Native M3 Release Candidate

2007-03-14 Thread haleh mahbod
I noticed the following in the SDO getting started file: 1. Top of the file says: If you haven't already done so, the first step is to download the SDO C++ Milestone release 2 of Apache Tuscany from our download page http://incubator.apache.org/tuscany/downloads.html. 2. The links for FAQ and

Re: Native M3 Release Candidate

2007-03-14 Thread haleh mahbod
There are some good user guides/documents in the SCA subproject. Can we move these to the website? Is there a reason why these are not shared on the website? On 3/14/07, haleh mahbod [EMAIL PROTECTED] wrote: I noticed the following in the SDO getting started file: 1. Top of the file says:

[jira] Created: (TUSCANY-1176) DynamicTypesFromSchemaTestCase should not expect mixed and text properties

2007-03-14 Thread Andy Grove (JIRA)
DynamicTypesFromSchemaTestCase should not expect mixed and text properties -- Key: TUSCANY-1176 URL: https://issues.apache.org/jira/browse/TUSCANY-1176 Project: Tuscany

Re: requires and policySets attribute support

2007-03-14 Thread Jean-Sebastien Delfino
Mark I. Dinges wrote: I was going to start working on the annotation processing for @Requires. Has anyone started working on it yet? Looking at the current processing of the DataType annotation, it looks like we want to create a PolicyJavaInterfaceProcessor class and register it with the

Re: Assembly metadata, was: Queries on References

2007-03-14 Thread Venkata Krishnan
Hi, I am continuing to work on the branch to bring the spi model to level with the current specs. One of the key things that I observed is the ability to override various aspects of properties, services and references starting from the ComponentType for an implementation and moving up to

[jira] Resolved: (TUSCANY-1165) Integration branch - Timing issue: incorrect dependency on order of Component loader and ImportSDOLoader within Composite loading

2007-03-14 Thread Raymond Feng (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Raymond Feng resolved TUSCANY-1165. --- Resolution: Fixed Fix Version/s: Java-SCA-integration Fix is chcked in under

[jira] Created: (TUSCANY-1177) CTS should not expect DocumentRoot to be included in results from XSDHelper.define()

2007-03-14 Thread Andy Grove (JIRA)
CTS should not expect DocumentRoot to be included in results from XSDHelper.define() Key: TUSCANY-1177 URL: https://issues.apache.org/jira/browse/TUSCANY-1177

[jira] Commented: (TUSCANY-708) Should TypeHelper.define return List of Types that includes DocumentRootType

2007-03-14 Thread Andy Grove (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12481053 ] Andy Grove commented on TUSCANY-708: DocumentRoot was mentioned in SDO 2.0.1 and was only relevant to XML

[jira] Created: (TUSCANY-1178) DynamicTypesFromSchemaTestCase expecting *Object types to be created

2007-03-14 Thread Andy Grove (JIRA)
DynamicTypesFromSchemaTestCase expecting *Object types to be created Key: TUSCANY-1178 URL: https://issues.apache.org/jira/browse/TUSCANY-1178 Project: Tuscany Issue Type:

[Spec related] @Requires on interfaces specified in component services, was: requires and policySets attribute support

2007-03-14 Thread Jean-Sebastien Delfino
[snip] Jean-Sebastien Delfino wrote: You'll need to handle both interfaces and implementation classes, which both can have @Requires. I would expect @Requires on a Java implementation class and its interfaces to translate to Intent metadata in the ComponentType model describing the