Re: [C++] A portable build system?

2006-08-10 Thread Simon Laws
You can use cygwin to do gcc compiles for windows. It comes with automake (don't know what version) and can be integrated with Eclipse CDT. S On 8/9/06, Pete Robbins [EMAIL PROTECTED] wrote: I believe automake can run on Windows using some linux portability layer (I forget what it's called).

Re: [C++] A portable build system?

2006-08-10 Thread Pete Robbins
On 10/08/06, Simon Laws [EMAIL PROTECTED] wrote: You can use cygwin to do gcc compiles for windows. It comes with automake (don't know what version) and can be integrated with Eclipse CDT. S That's the one! Does it produce dll's that run native on windows or does the output depend on other

Re: [C++] A portable build system?

2006-08-10 Thread Simon Laws
You can make native windows dll's and executables. The last time I was involved in this kind of build we actually used ant on windows and linux in top of gcc (in cygwin for windows) to drive the build for the large number of different systems we had to support (there were some strange HPC type

maven-assembly-plugin version?

2006-08-10 Thread Liu, Jervis
Hi, The maven-assembly-plugin version we used (2.2-SNAPSHOT) caused a lot of problems in my build. Is there any reason why we cant use the stable version 2.1? I have tried 2.1, it works fine. Thanks, Jervis - To unsubscribe,

RE: maven-assembly-plugin version?

2006-08-10 Thread Liu, Jervis
Forgot to mention, this is used by distribution standalone module. -Original Message- From: Liu, Jervis Sent: Thursday, August 10, 2006 5:04 PM To: tuscany-dev@ws.apache.org Subject: maven-assembly-plugin version? Hi, The maven-assembly-plugin version we used (2.2-SNAPSHOT)

Re: separate SDO Java distribution

2006-08-10 Thread kelvin goodson
Jeremy, I think that bin and lib directories should be fine. If you have the bandwidth to help with the assembly definition that would be great, thanks. Kelvin On 09/08/06, Jeremy Boynes [EMAIL PROTECTED] wrote: On Aug 9, 2006, at 5:30 AM, kelvin goodson wrote: Hi, I'm looking at some

Re: A parsing bug of trunk?

2006-08-10 Thread ant elder
For the JavaScript question the problem is the JavaScript container isn't included by default in the standalone distribution. As a work around for now you could either modify the assembly standalone.xml to include the JavaScript container when its building the distribution or you can manually

[jira] Created: (TUSCANY-611) RMI Binding

2006-08-10 Thread Venkatakrishnan (JIRA)
RMI Binding --- Key: TUSCANY-611 URL: http://issues.apache.org/jira/browse/TUSCANY-611 Project: Tuscany Issue Type: Bug Reporter: Venkatakrishnan Attachments: Tuscany-RMI-Binding-Aug-10.diff,

[jira] Assigned: (TUSCANY-611) RMI Binding

2006-08-10 Thread ant elder (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-611?page=all ] ant elder reassigned TUSCANY-611: - Assignee: ant elder RMI Binding --- Key: TUSCANY-611 URL: http://issues.apache.org/jira/browse/TUSCANY-611

Re: Binding extension example

2006-08-10 Thread ant elder
Great stuff Jim, these changes look really good to me. Makes implementing a binding way easier. What do you think about having an abstract SPI class for the TargetInvoker which includes all the cachable, optimizable and invoke methods? ...ant On 8/10/06, Jim Marino [EMAIL PROTECTED] wrote:

[jira] Updated: (TUSCANY-611) RMI Binding

2006-08-10 Thread Venkatakrishnan (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-611?page=all ] Venkatakrishnan updated TUSCANY-611: Attachment: Tuscany-RMI-Binding-Aug-10-Updated.diff Hi... there is one addition that has been missed out in the prev. patch. My sincere apologies

Re: maven-assembly-plugin version?

2006-08-10 Thread Jeremy Boynes
IIRC the 2.1 version caused the build to be run twice. We have been using the snapshot for a while - what problems did you see? -- Jeremy On Aug 10, 2006, at 2:04 AM, Liu, Jervis wrote: Hi, The maven-assembly-plugin version we used (2.2-SNAPSHOT) caused a lot of problems in my build. Is

[jira] Created: (TUSCANY-612) Java SDO Overview doc doesnt address setting of M2_REPO variable

2006-08-10 Thread Kelvin Goodson (JIRA)
Java SDO Overview doc doesnt address setting of M2_REPO variable Key: TUSCANY-612 URL: http://issues.apache.org/jira/browse/TUSCANY-612 Project: Tuscany Issue Type: Bug

Re: [C++] Initial support for new composite model, was: Switching C++ runtime to new composite model

2006-08-10 Thread Pete Robbins
Deployment question: Does the name of the .composite file HAVE to match the name of the composite? Previously we just loaded any sca.module file and the name= parameter gave the module name. There is still a name= parameter so we end up with a file called CalculatorComposite.composite with

Re: maven-assembly-plugin version?

2006-08-10 Thread Matthew Sykes
If Jervis hit the same issue I did, the problem was that the 2.2-SNAPSHOT is now dependent on org.codehaus.plexus:plexus-archiver:1.0-alpha-7-SNAPSHOT which wasn't available in any of the configured repositories. I ended up pulling it from snapshots.repository.codehaus.org to resolve the

Re: [C++] Initial support for new composite model, was: Switching C++ runtime to new composite model

2006-08-10 Thread Pete Robbins
... also are we enforcing the directory containing the composite to also be named after the composite? On 10/08/06, Pete Robbins [EMAIL PROTECTED] wrote: Deployment question: Does the name of the .composite file HAVE to match the name of the composite? Previously we just loaded any

RE: Inheriting Wiring infrastructure

2006-08-10 Thread Hawkins, Joel
Well, now I know the boundaries of the Apache/Eclipse cross-licensing agreement. :-) The code in question is straight-forward reflection code to find and invoke a method (3 lines of code + exception handling). I use it to pull the ClassLoader out of a bundle context. I'll submit a fix to get

Re: separate SDO Java distribution

2006-08-10 Thread kelvin goodson
I had an offline chat with lresende about a similar effort for DAS, so perhaps we could meet on IRC sometime soon, and go through what needs to be done? Cheers, Kelvin. On 09/08/06, Jeremy Boynes [EMAIL PROTECTED] wrote: On Aug 9, 2006, at 5:30 AM, kelvin goodson wrote: Hi, I'm looking

RE: maven-assembly-plugin version?

2006-08-10 Thread Liu, Jervis
well, not a big issue, but the snapshot version have to be downloaded everyday, and sometimes the snapshot version is not very stable. For example, today's assembly-plugin try to download org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-7-SNAPSHOT, but I checked http://www.ibiblio.org/maven2/

RE: OSGI headers, was: Using osgi plugin to generate manifests

2006-08-10 Thread Hawkins, Joel
That's excately what I used. The one thing I'd add a version for the exported packages. It helps the package admin service avoid runtime incompatabilities when sewing up bundle dependencies. Export-Package: org.osoa.sca.annotations;version=1.0, org.osoa.sca;version=1.0 Cheers, Joel

Re: [C++] Initial support for new composite model, was: Switching C++ runtime to new composite model

2006-08-10 Thread Andrew Borley
Also, I get a NPE when running SCAGEN on the BigBank sample - everything seems to get happily generated though. The output is below - anyone else see this? Pete - are you still using VC++6 for windows development? I have a VC++7 SCA build working happily here if you want the patch. Andy On

Re: maven-assembly-plugin version?

2006-08-10 Thread Venkata Krishnan
I too ended up downloading an available version of the snapshot jar from the codehaus site and renamed it to 1.0-alpha-7-SNAPSHOT after which the build has gone thro - Venkat On 8/10/06, Liu, Jervis [EMAIL PROTECTED] wrote: well, not a big issue, but the snapshot version have to be downloaded

Re: [C++] Initial support for new composite model, was: Switching C++ runtime to new composite model

2006-08-10 Thread Pete Robbins
I haven't seen the NPE. I'm currently trying to get the scatest program working on linux. I'm happy to leave VC6 broken for now until the changes settle down. If you are happy with the VC7 then please submit the patch. Were there many changes? Cheers, On 10/08/06, Andrew Borley [EMAIL

Re: [jira] Updated: (TUSCANY-585) Initial support for callbacks

2006-08-10 Thread Ignacio Silva-Lepe
Hi Jim, When you have some time to chat, I have a few questions about references. Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Binding extension example

2006-08-10 Thread Jim Marino
Yea we could do that. Probably the one invoke method that takes the payload from the message could be abstracted and if there is a special target type that needs access to message headers or something it could just override it. Do you want to create one as I'm out later today? Jim On

Re: [C++] Initial support for new composite model, was: Switching C++ runtime to new composite model

2006-08-10 Thread Pete Robbins
OK. I have the sca runtime building on vc6 fine. Calculator project builds fine too. Having some teething problems getting it running. On 10/08/06, Andrew Borley [EMAIL PROTECTED] wrote: Not many - it was mostly a case of putting the new files in and taking the old ones out. Saying that, I

Re: [jira] Commented: (TUSCANY-610) Initial OSGi support effort

2006-08-10 Thread Jim Marino
Hi Thomas, I think we met at JavaOne briefly...I haven't had a chance to look closely at Joel's work yet (just waiting for the removal of the EPL licensed class) so I'll let him jump in with more details. I think one of the interesting areas is going to be with sharing services between

Re: [jira] Updated: (TUSCANY-585) Initial support for callbacks

2006-08-10 Thread Jim Marino
Hi Ignacio, I'm out today and tomorrow. Could you maybe post to he list and I'll try and respond as soon as I have a chance to pick up email? Jim On Aug 10, 2006, at 7:12 AM, Ignacio Silva-Lepe wrote: Hi Jim, When you have some time to chat, I have a few questions about references.

Re: using stdcxx in tuscany/C++

2006-08-10 Thread Martin Sebor
Hi again, Just following up on this thread to see if there's anything we can do from our side to help you all with the migration, or any concerns or questions I can answer. I have noticed that some people are still using MSVC 6 to compile Tuscany. I'm curious whether there are any plans to

Re: separate SDO Java distribution

2006-08-10 Thread kelvin goodson
I have put a fairly rough collation of our IRC chat on the wiki at http://wiki.apache.org/ws/Tuscany/TuscanyJava/Building/SdoDistroChat and linked it through from http://wiki.apache.org/ws/Tuscany/TuscanyJava Regards, Kelvin. On 10/08/06, kelvin goodson [EMAIL PROTECTED] wrote: I had an

[jira] Created: (TUSCANY-613) Move to 0.95 spec Assembly model

2006-08-10 Thread Pete Robbins (JIRA)
Move to 0.95 spec Assembly model Key: TUSCANY-613 URL: http://issues.apache.org/jira/browse/TUSCANY-613 Project: Tuscany Issue Type: New Feature Components: C++ SCA Affects Versions:

Re: using stdcxx in tuscany/C++

2006-08-10 Thread Pete Robbins
Hi Martin, We are using VC6 but have also got VC7 projects. Our command line build for windows uses the VC6 generated makefiles. We don't think that's possible in VC7+. Of course the best solution will be to create a proper commnad line build. We are just starting to restructure the code so will

Re: Booting an SCA app without creating an scdl file

2006-08-10 Thread David Wheeler
I wasn't planning on defining a custom runtime, only setting up a runtime by passing the information currently contained in the defualt.scdl file directly to the loader, bypassing the file system. What I am trying to do is create all the classes and interfaces for the system in memory, and then

Re: [C++] Initial support for new composite model, was: Switching C++ runtime to new composite model

2006-08-10 Thread Pete Robbins
I have checked in code for TUSCANY-613 to build the new sca code on windows MSVC6. Calculator also builds and runs. I had to make one change to ModelLoader where I have changed the logic to load all .composite files in the folder rather than just the one that matches the folder name. The

Re: [C++] Initial support for new composite model

2006-08-10 Thread Jean-Sebastien Delfino
Andrew Borley wrote: Also, I get a NPE when running SCAGEN on the BigBank sample - everything seems to get happily generated though. The output is below - anyone else see this? Pete - are you still using VC++6 for windows development? I have a VC++7 SCA build working happily here if you

[jira] Created: (TUSCANY-614) Add operator debug info for DataObjectPtr and others

2006-08-10 Thread Pete Robbins (JIRA)
Add operator debug info for DataObjectPtr and others -- Key: TUSCANY-614 URL: http://issues.apache.org/jira/browse/TUSCANY-614 Project: Tuscany Issue Type: Improvement

Re: [C++] Initial support for new composite model, was: Switching C++ runtime to new composite model

2006-08-10 Thread Jean-Sebastien Delfino
Pete Robbins wrote: [snip] I have checked in code for TUSCANY-613 to build the new sca code on windows MSVC6. Calculator also builds and runs. I had to make one change to ModelLoader where I have changed the logic to load all .composite files in the folder rather than just the one that matches

Re: [C++] Initial support for new composite model

2006-08-10 Thread Pete Robbins
I'm getting the same NPE, didn't notice it before. If I comment out AccountDataService in the .composite file I'm not getting the NPE so it must be specific to this particular service or AccountDataService.h maybe? I have no idea why Options.set(...) would throw an NPE on ly with

Re: [C++] Initial support for new composite model

2006-08-10 Thread Pete Robbins
I have to say I have never looked at the Java code but I have editted the stylesheets to fix problems. Cheers, -- Pete

Re: [VOTE] Andy Borley for Tuscany Committer

2006-08-10 Thread Pete Robbins
Passed with 7+1s from: Pete Robbins Jean-Sebastien Delfino Ant Elder Kevin Williams Daniel Kulp Kelvin Goodson Jim Marino Welcome to Tuscany Andy! I will start the process of getting your account created. Cheers, -- Pete

Re: using stdcxx in tuscany/C++

2006-08-10 Thread Martin Sebor
Pete Robbins wrote: Hi Martin, We are using VC6 but have also got VC7 projects. Our command line build for windows uses the VC6 generated makefiles. We don't think that's possible in VC7+. Of course the best solution will be to create a proper commnad line build. We are just starting to

Re: [C++] Initial support for new composite model

2006-08-10 Thread Andrew Borley
I've followed the code through - it basically walks the .composite and .componentType files and then the header files, converts this info into an xml doc and the runs a set of stylesheets to create the proxy and wrapper files. I can take a look at this when I get time - it doesn't seem to be

Account request - new Tuscany committer - Andrew Borley

2006-08-10 Thread Pete Robbins
Preferred userid: ajborley Full name: Andrew Borley Forwarding email address: [EMAIL PROTECTED] Requested Karma for: ws ws-tuscany ICLA has been submitted and appears on http://people.apache.org/~jim/committers.html Vote result 7+1 votes and no -1s:

Re: [C++] Initial support for new composite model, was: Switching C++ runtime to new composite model

2006-08-10 Thread Andrew Borley
I've just put up a patch on TUSCANY-613 for MSVC7. Includes SCA, BigBank and Calculator projects. Cheers Andy On 8/10/06, Jean-Sebastien Delfino [EMAIL PROTECTED] wrote: Pete Robbins wrote: [snip] I have checked in code for TUSCANY-613 to build the new sca code on windows MSVC6.

Re: Booting an SCA app without creating an scdl file

2006-08-10 Thread Venkata Krishnan
Hi Jeremy, (I will most certainly spend some effort looking up the code myself :-) but just wanted to validate some thoughts) Are there SCDL readers? For example I imagine that there is a scdl-file-reader that reads an scdl file and creates an scdl object model. So the deployer starts by

Re: SDO Samples

2006-08-10 Thread Robbie Minshall
Thanks for the feedback. I made the changes that you suggested. There are two topics worthy of further discussion. 1. ( previously brought up) Having an initial println in SDO samples that would provide a link for users to see the source code if running from an IDE such as Eclipse. + nice

Re: Big Bank Sample

2006-08-10 Thread Robbie Minshall
AJAX interaction is always good for traction these days, just as a cool UI has always been attractive. The speration of presentation and application implementation is great and obviously nothing new or particular to SCA. Is fine grained service interaction with the UI a good thing from a

[jira] Updated: (TUSCANY-610) Initial OSGi support effort

2006-08-10 Thread Joel Hawkins (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-610?page=all ] Joel Hawkins updated TUSCANY-610: - Attachment: ClassloaderHook.java Hi Jim, You can remove the AbstractReflector class from org.apache.tuscany.osgi.core.impl and replace the old

[jira] Commented: (TUSCANY-611) RMI Binding

2006-08-10 Thread ant elder (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-611?page=comments#action_12427326 ] ant elder commented on TUSCANY-611: --- Committed. Thanks Venkat! RMI Binding --- Key: TUSCANY-611 URL:

Re: [jira] Updated: (TUSCANY-611) RMI Binding

2006-08-10 Thread ant elder
Hi Venkat, I've committed this patch now. Had some problems getting the patch to apply cleanly so had to fiddle about a bit, could you check it looks ok to you? The code needs formatting so maybe you could send in another patch doing that? I've also not added the service and reference samples to

[jira] Commented: (TUSCANY-610) Initial OSGi support effort

2006-08-10 Thread Joel Hawkins (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-610?page=comments#action_12427336 ] Joel Hawkins commented on TUSCANY-610: -- Hi Thomas. I'm trying to write up some documentation now. In short, however, the code breaks down into 2 parts:

Re: Adding an implementation processor

2006-08-10 Thread Raymond Feng
Hi, Do we plan to move the ImplementationProcessor framework to the SPI module? When I'm working on the databindings, it comes out some requirements for extensibility on annotion processing as well. Thanks, Raymond - Original Message - From: Ignacio Silva-Lepe [EMAIL PROTECTED]

[C++] Folder structure under $Tuscany_scacpp_system_root

2006-08-10 Thread Jean-Sebastien Delfino
When I started to implement the new composite assembly model I felt a need to adjust a little the folder structure under the Tuscany system root, did half of it, which triggered some questions :) This is a new thread to discuss these changes. Here's what we had in M1:

[C++] Do we need Tuscany-model.config?

2006-08-10 Thread Jean-Sebastien Delfino
It looks like Tuscany-model.config just lists the WSDLs and XSDs used in an application. Do we still need it? or could we just figure out ourselves what the WSDLs and XSDs are? Just trying to make it simpler for users to write SCA applications, and limit the number of things that they have to

Support for WSDL service contracts

2006-08-10 Thread Jeremy Boynes
We have some basic parsing code for WSDL service contracts right now but this needs to be finished. To put a stake in the ground I intend to make the following work: * support for parsing interface.wsdl elements * support for WSDL resolution based on the WSDL2.0 wsdlLocation mechanism. This

[C++] Recommendation for sample composite names

2006-08-10 Thread Jean-Sebastien Delfino
Here's a note from the SCA spec 0.95: Note: The Eclipse naming convention for plugins provides a good way to achieve unique names, e.g. com.mycompany.myvaluecomposite . This format is recommended but is not normative. I'd like to adjust our samples to follow that recommendation (e.g.

Re: [jira] Updated: (TUSCANY-585) Initial support for callbacks

2006-08-10 Thread Jim Marino
On Aug 10, 2006, at 8:37 AM, Ignacio Silva-Lepe wrote: Sure, I want to make sure I understand what local callbacks (or plain invocations for that matter) via references means. I was defining a local callback as being a bidirectional wire to a target component, which (by definition) is in

Re: [jira] Updated: (TUSCANY-611) RMI Binding

2006-08-10 Thread Jim Marino
Thanks Venkat. Just a quick question: do you think it is best to have one Registry per service or could we have one Registry per runtime instance and have services register with that? If you think the latter may be something that works better, one thing that could be done is to create a