Re: [SDO C++] tyme.h

2007-03-08 Thread Pete Robbins
Adriano, On Linux this should be in the standard include path the comiler uses in /usr/include. On Windows this will be in the standard compiler include path: C:\Program Files\Microsoft Visual Studio 8\VC\include. This should be set up in the environment by running the vcvars32.bat script found

Re: [SDO C++] tyme.h

2007-03-08 Thread Adriano Crestani
Pete, On the sdo code it tries to include the file sys/time.h, so I found the folder sys inside the folder C:\Program Files\Microsoft Visual Studio 8\VC\include\, but there is no time.h in it. I just found timeb.h and utime.h, but no time.h :s Adriano Crestani On 3/8/07, Pete Robbins [EMAIL

Re: [SDO C++] tyme.h

2007-03-08 Thread Adriano Crestani
I found the time.h, but it was not in a sys folder, it is in C:\Program Files\Microsoft Visual Studio 8\VC\include\ What can I do now? The sdo code tries to a type.h that is in a sys folder. I tried to move time.h to the C:\Program Files\Microsoft Visual Studio 8\VC\include\sys folder, but I

Re: [SDO C++] tyme.h

2007-03-08 Thread Pete Robbins
time.h and sys/time.h are different. sys/time.h is only included by runtime/core/src/commonj/sdo/export.h in the sdo code and on Linux only. The test in export.h is #if defined(WIN32) || defined (_WINDOWS) So... if either of these is set sys/time.h will not be included. Can you paste the command

Re: Databindings test status

2007-03-08 Thread Dan Murphy
Hi Simon, Essentually, as I see it, there are two main activities: - Increase the types of data. The sample is just a trivial complex type, we should also test more complex data strucutres using either (or both) the SDO schemas (in the CTS SDO Impl) and the interop tests (which I think

Re: Databindings test status

2007-03-08 Thread Simon Laws
On 3/8/07, Dan Murphy [EMAIL PROTECTED] wrote: Hi Simon, Essentually, as I see it, there are two main activities: - Increase the types of data. The sample is just a trivial complex type, we should also test more complex data strucutres using either (or both) the SDO schemas (in the

Re: Legacy C App embedded in Tuscany C++

2007-03-08 Thread Simon Laws
On 3/8/07, Antollini, Mario [EMAIL PROTECTED] wrote: Kelvin, Thanks a lot for your feedback! As you said, these are still open questions to me. However, I am now trying to answer the How can we make an SCA C++ runtime interact with a Java one? question. Therefore, I am deep diving in

RE: Legacy C App embedded in Tuscany C++

2007-03-08 Thread Antollini, Mario
Kelvin, Thanks a lot for your feedback! As you said, these are still open questions to me. However, I am now trying to answer the How can we make an SCA C++ runtime interact with a Java one? question. Therefore, I am deep diving in Tuscany's architecture and reading through developer list's

Re: Databindings test status

2007-03-08 Thread Raymond Feng
Hi, FYI, we already have two cross-databinding integration tests added by Rick for the purpose of business exception handling. They use the SDO, JAXB and AXIOM databindings. iTest-exceptions-crossBinding (component (SDO) to component (JAXB)) iTest-exceptions-crossBinding-ws (component (SDO)

Can't get databinding-jaxb classes to compile in integration branch; problem w/ jaxws dependency

2007-03-08 Thread Scott Kurz
Does anyone know what the problem is here? Do I have to tweak the POM file somehow? Thanks: Scott [INFO] [compiler:compile] [INFO] Compiling 9 source files to c:\asca\svns\Feb16.integration\sca\services\databinding\databinding-jaxb\target\ classes [INFO]

FW: Legacy C App embedded in Tuscany C++

2007-03-08 Thread Antollini, Mario
Simons, What I mean by How can we make an SCA C++ runtime interact with a Java one? is that I would like a service running in the C++ runtime can reference a service running in the Java runtime, but without relying on Web Services to achieve that. Therefore, I think that it could only be

[jira] Updated: (TUSCANY-1156) CodeGen generates lowercase feature name when the schema specifies uppercase

2007-03-08 Thread Frank Budinsky (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Frank Budinsky updated TUSCANY-1156: Component/s: Java SDO Tools CodeGen generates lowercase feature name when the schema

[jira] Resolved: (TUSCANY-1156) CodeGen generates lowercase feature name when the schema specifies uppercase

2007-03-08 Thread Frank Budinsky (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Frank Budinsky resolved TUSCANY-1156. - Resolution: Fixed Committed revision 516121. CodeGen generates lowercase feature

Re: FW: Legacy C App embedded in Tuscany C++

2007-03-08 Thread Simon Laws
On 3/8/07, Antollini, Mario [EMAIL PROTECTED] wrote: Simons, What I mean by How can we make an SCA C++ runtime interact with a Java one? is that I would like a service running in the C++ runtime can reference a service running in the Java runtime, but without relying on Web Services to

Re: [SDO C++] tyme.h

2007-03-08 Thread Adriano Crestani
I'm using the Microsoft Visual Express and on the properties of my project I found this command line /O2 /I C:\Program Files\Microsoft Visual Studio 8\VC\include /I C:\Adriano\Faculdade\Tuscany\Tuscany\CPP\DAS\runtime\das_lite\src /I C:\Program Files\Microsoft Platform SDK for Windows Server

Re: [SDO C++] tyme.h

2007-03-08 Thread Adriano Crestani
I inserted #define WIN32 on my code and it worked, do you know where can I set the WIN32 on my project's properties on visual studio? Adriano Crestani On 3/8/07, Adriano Crestani [EMAIL PROTECTED] wrote: I'm using the Microsoft Visual Express and on the properties of my project I found this

Re: [SDO C++] tyme.h

2007-03-08 Thread Pete Robbins
You shouldn't define WIN32 in your code or it won't work on Linux! By default the properties of a project should include a set of preprocessor directives. Properties-C++-Preprocessor-Preprocessor Definitions in the gui and you should see WIN32 as one of the definitions. THis equates to /D WIN32

Re: [SDO C++] tyme.h

2007-03-08 Thread Adriano Crestani
Preprocessor Definitions is empty :s, so I inserted WIN32 in it and it worked. Thanks a lot Pete ; ) Adriano Crestani On 3/8/07, Pete Robbins [EMAIL PROTECTED] wrote: You shouldn't define WIN32 in your code or it won't work on Linux! By default the properties of a project should include a set

XMLDocument redefinition

2007-03-08 Thread Adriano Crestani
I`m trying to compile an app using sdo c++ and I get the following error: Error2error C2371: 'XMLDocument' : redefinition; different basic typesc:\program files\microsoft platform sdk for windows server 2003 r2\include\msxml.h12413 Adriano Crestani

Re: [sca-java-integration-branch] Moving to maven-surefire-plugin 2.3 and JUnit 4.2

2007-03-08 Thread Jean-Sebastien Delfino
Jim Marino wrote: +1 from me. A side comment, this will give us the ability to init a single runtime instance in a method annotated with a Junit @BeforeClass annotation and reuse it across multiple test methods. I think it will be interesting for integration tests in particular. Raymond,

Re: [sca-java-integration-branch] Moving to maven-surefire-plugin 2.3 and JUnit 4.2

2007-03-08 Thread Jean-Sebastien Delfino
[snip] Raymond Feng wrote: 2) When I try to port the SCATestCaseRunner to support JUnit 4.x annotations, I found it fairly cumbersome to use java reflection to access org.junit.* classes and annotations. Can we add JUnit as a compile time dependency? If we don't like to have it in the core,

Re: XMLDocument redefinition

2007-03-08 Thread Pete Robbins
I wish I'd written down what causes this :-( Basically SDO has a header and class named XMLDocument but so has windows. I think this is caused by putting using namespace commonj::sdo somewhere in a header file so the compiler resolves XMLDocument to both the windows version and the commonj::sdo

Re: [sca-java-integration-branch] Moving to maven-surefire-plugin 2.3 and JUnit 4.2

2007-03-08 Thread Raymond Feng
Hi, OK. I understand it's used for isolation purposes now. I'm busy fixing a build break now, would you please add the support for @Test, @Before, @After, @BeforeClass and @AfterClass for JUnit 4.x using reflections :-)? Thanks, Raymond - Original Message - From: Jean-Sebastien

Re: Databindings test status

2007-03-08 Thread Simon Laws
On 3/8/07, Raymond Feng [EMAIL PROTECTED] wrote: Hi, FYI, we already have two cross-databinding integration tests added by Rick for the purpose of business exception handling. They use the SDO, JAXB and AXIOM databindings. iTest-exceptions-crossBinding (component (SDO) to component (JAXB))

Re: [sca-java-integration-branch] Moving to maven-surefire-plugin 2.3 and JUnit 4.2

2007-03-08 Thread Jean-Sebastien Delfino
Raymond Feng wrote: Hi, OK. I understand it's used for isolation purposes now. I'm busy fixing a build break now, would you please add the support for @Test, @Before, @After, @BeforeClass and @AfterClass for JUnit 4.x using reflections :-)? Thanks, Raymond - Original Message -

Re: Can't get databinding-jaxb classes to compile in integration branch; problem w/ jaxws dependency

2007-03-08 Thread Jean-Sebastien Delfino
Scott Kurz wrote: Does anyone know what the problem is here? Do I have to tweak the POM file somehow? Thanks: Scott [INFO] [compiler:compile] [INFO] Compiling 9 source files to c:\asca\svns\Feb16.integration\sca\services\databinding\databinding-jaxb\target\ classes [INFO]

[sca-java-integration-branch] Removing sca-api-r0.95 module

2007-03-08 Thread Jean-Sebastien Delfino
The sca-api-r0.95 module does not seem to be used anymore. If there is no objection I'll remove it from the integration branch tomorrow morning. -- Jean-Sebastien - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [sca-java-integration-branch] Removing sca-api-r0.95 module

2007-03-08 Thread Raymond Feng
+1. Raymond - Original Message - From: Jean-Sebastien Delfino [EMAIL PROTECTED] To: tuscany-dev@ws.apache.org Sent: Thursday, March 08, 2007 2:50 PM Subject: [sca-java-integration-branch] Removing sca-api-r0.95 module The sca-api-r0.95 module does not seem to be used anymore. If

[sca-java-integration-branch] Adding builders to support SCDL extensibility elements

2007-03-08 Thread Raymond Feng
Hi, We had discussions on this ML before on how to support SCDL extensibility elements which are not part of the base SCDL model and are used in SCDL for xsd:any/. I have done the first cut in sca-java-integration branch to add this support. Let's use import.sdo as an example. 1)

Re: [VOTE] Release 2.0-alpha of SCA Java kernel

2007-03-08 Thread Jean-Sebastien Delfino
Jeremy Boynes wrote: I have posted release candidates of the 2.0-alpha kernel release on my home directory at people.apache.org and uploaded the artifacts to the maven repo for: SCA Parent POM 1.0-incubating SCA Composite Plugin 1.0-incubating SCA Kernel 2.0-alpha SCA Runtime

Re: [VOTE] Release 2.0-alpha of SCA Java kernel

2007-03-08 Thread Raymond Feng
Hi, 1) I downloaded the core-samples.zip and unzipped it locally. Starting with an empty local maven repo, I'm seeing the following error: C:\temp\Tuscany_Trunk\core-samplesmvn clean install [INFO] Scanning for projects...

Re: Can't get databinding-jaxb classes to compile in integration branch; problem w/ jaxws dependency

2007-03-08 Thread Scott Kurz
I have that and I have this as well: javax\jws\jsr181-api\2.0-JAXWS-2.0-EA3\jsr181-api-2.0-JAXWS-2.0-EA3.jar I don't see that the sca\services\databinding\databinding-jaxb refers to this as a dependency which is what I was guessing was causing the problem. BTW..when I run a 'mvn' from the

Composite archive name confusion, was: Re: sca-composite plugin

2007-03-08 Thread Luciano Resende
Hi Jeremy The SCA Assembly spec defines .composites files as definitions of composites. Wouldn't be very confusing to developers and our community in general to see .composite files representing archives ? At least this is what I saw while reviewing the core-samples release candidate, a

[sca-java-integration-branch] issues w/ DataBindingRegistryImpl and SDO loading

2007-03-08 Thread Scott Kurz
The new DataBindingJavaInterfaceProcessor seems neat . thoughI'm having a problem in that my SDOs aren't getting converted to/from AXIOM correctly. The reason has to do w/ DataType construction and this new processor. Within my Composite, my component gets loaded before the import.sdo

Re: Federation and TSS Demo

2007-03-08 Thread Jim Marino
On Mar 8, 2007, at 3:08 PM, Meeraj Kunnumpurath wrote: Hi, I have been working on the framework to enable federated heterogeneous deployment of a logical assembly across one or more physical runtimes. I was wondering whether we can get an end-to-end story working that demonstrates the

Re: [sca-java-integration-branch] Removing sca-api-r0.95 module

2007-03-08 Thread Venkata Krishnan
+1 Yes, I too felt that's just about lying there. Thanks for doing this. - Venkat On 3/9/07, Jean-Sebastien Delfino [EMAIL PROTECTED] wrote: The sca-api-r0.95 module does not seem to be used anymore. If there is no objection I'll remove it from the integration branch tomorrow morning. --

Re: tyring to run spring application

2007-03-08 Thread Jim Marino
Hi Waseem, Sorry for the delay, I was tied up at work...The short answer is you need to make sure the Tuscany Spring Extensions jar is in the extensions lib directory. The jar adds support for Spring to the SCA kernel. I'll try and respond more fully tomorrow and help out more. Jim On

Re: Can't get databinding-jaxb classes to compile in integration branch; problem w/ jaxws dependency

2007-03-08 Thread Raymond Feng
Hi, The dependency is: dependency groupIdjavax.xml.ws/groupId artifactIdjaxws-api/artifactId !-- Set to 2.1 to make jaxws-maven-plugin happy -- version2.1/version scopecompile/scope /dependency Can you check to make sure you have access to

Re: Composite archive name confusion, was: Re: sca-composite plugin

2007-03-08 Thread Jeremy Boynes
Any suggestions? -- Jeremy On Mar 8, 2007, at 7:55 PM, Luciano Resende wrote: Hi Jeremy The SCA Assembly spec defines .composites files as definitions of composites. Wouldn't be very confusing to developers and our community in general to see .composite files representing archives ? At

Re: [sca-java-integration-branch] issues w/ DataBindingRegistryImpl and SDO loading

2007-03-08 Thread Raymond Feng
Hi, Please see my comments below. Thanks, Raymond - Original Message - From: Scott Kurz [EMAIL PROTECTED] To: tuscany-dev@ws.apache.org Sent: Thursday, March 08, 2007 8:32 PM Subject: [sca-java-integration-branch] issues w/ DataBindingRegistryImpl and SDO loading The new

Re: Composite archive name confusion, was: Re: sca-composite plugin

2007-03-08 Thread Luciano Resende
I'm not sure what would be best, maybe scar as you mentioned before, or sar (Sca ARchive) or car (Composite ARchive). -- Luciano Resende http://people.apache.org/~lresende On 3/8/07, Jeremy Boynes [EMAIL PROTECTED] wrote: Any suggestions? -- Jeremy On Mar 8, 2007, at 7:55 PM, Luciano Resende

Re: Composite archive name confusion, was: Re: sca-composite plugin

2007-03-08 Thread Raymond Feng
Thinking of .car or .sar, but it seems both are used by other systems. We are running out of _ar! Thanks, Raymond - Original Message - From: Jeremy Boynes [EMAIL PROTECTED] To: tuscany-dev@ws.apache.org Sent: Thursday, March 08, 2007 10:11 PM Subject: Re: Composite archive name

Re: Composite archive name confusion, was: Re: sca-composite plugin

2007-03-08 Thread Jeremy Boynes
Yep - .car is used by Geromimo (and is also confusing with a JavaEE CAR) .sar is used by JBoss And everyone seems to hate .scar :-( -- Jeremy On Mar 8, 2007, at 10:27 PM, Raymond Feng wrote: Thinking of .car or .sar, but it seems both are used by other systems. We are running out of

Re: [VOTE] Release 2.0-alpha of SCA Java kernel

2007-03-08 Thread Jeremy Boynes
I have uploaded amended versions of the archives for core samples with two fixes: * included the location of the incubator repo containing the parent pom (r516312) * fixed type for webcalc (r516314) The location for these is still:

Re: [VOTE] Release 2.0-alpha of SCA Java kernel

2007-03-08 Thread Jeremy Boynes
I have fixed the two technical issues here (the location of the parent pom and the type of the composite) and uploaded a new copy of the files for core-samples. -- Jeremy On Mar 8, 2007, at 4:27 PM, Jean-Sebastien Delfino wrote: -0 from me. I tried the release and ran into several

Re: [VOTE] Release 2.0-alpha of SCA Java kernel

2007-03-08 Thread Luciano Resende
Have you actually tried the samples ? I was just trying the calculator webapp after I saw Sebastien's e-mail and I was getting an exception. Your new posting have the same issue. Looks like the war file structure is wrong. Here is the stacktrace I'm getting... Mar 8, 2007 10:56:23 PM