[jira] Commented: (TUSCANY-3679) EMF 2.5 Upgrade for Tuscany SDO

2010-09-29 Thread ant elder (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-3679?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12916060#action_12916060 ] ant elder commented on TUSCANY-3679: I've committed this to a new branch at

Re: samples again

2010-09-29 Thread Florian MOGA
I've added a callback-api sample in the getting-started folder derived from the callback-api-basic integration test. Feel free to check it out and let me know what should be done next (declaration in parent poms, readmes, wiki page?). I'll be looking for an itest that uses sca scopes. Let me know

Re: samples again

2010-09-29 Thread ant elder
On Wed, Sep 29, 2010 at 8:52 AM, Florian MOGA moga@gmail.com wrote: One detail that I've noticed is that we're having a lack for naming consistency for the samples (e.g. contribution-helloworld / helloworld-webapp). IMHO using a consistent naming (like helloworld-contribution /

[jira] Created: (TUSCANY-3695) samples/store-secure doesn't work properly

2010-09-29 Thread Simon Nash (JIRA)
samples/store-secure doesn't work properly -- Key: TUSCANY-3695 URL: https://issues.apache.org/jira/browse/TUSCANY-3695 Project: Tuscany Issue Type: Bug Components: Java SCA Samples

Re: samples again

2010-09-29 Thread Simon Laws
On Wed, Sep 29, 2010 at 9:26 AM, ant elder ant.el...@gmail.com wrote: On Wed, Sep 29, 2010 at 8:52 AM, Florian MOGA moga@gmail.com wrote: One detail that I've noticed is that we're having a lack for naming consistency for the samples (e.g. contribution-helloworld / helloworld-webapp).

[jira] Created: (TUSCANY-3696) JSONP binding doesn't work with arrays

2010-09-29 Thread Simon Laws (JIRA)
JSONP binding doesn't work with arrays -- Key: TUSCANY-3696 URL: https://issues.apache.org/jira/browse/TUSCANY-3696 Project: Tuscany Issue Type: Bug Affects Versions: Java-SCA-2.0-M5, Java-SCA-1.6,

Databinding and arrays question

2010-09-29 Thread Simon Laws
Hi I just raised TUSCANY-3696 [1] as I realize that it's not clear how bindings should deal with arrays. It seems that the databinding layer is set up at the moment to transform the contents of an array parameter and leave the array in place for binding code to deal with. To put it another way

Re: samples again

2010-09-29 Thread ant elder
On Wed, Sep 29, 2010 at 8:52 AM, Florian MOGA moga@gmail.com wrote: @Ant: What kind of sample are you thinking of in order to show the sca-contribution.xml file? Can you give me an example (maybe an itest)? There are a couple of issues we need to decide on, one is how to run the getting

Re: samples again

2010-09-29 Thread Florian MOGA
I personally like the shell and the shell idea very much and I agree it would be the way to go (no Maven/Ant discrimination). The major problem in using the shell is that it implies a decent amount of knowledge with terms like domain, node, contribution which (we all know) aren't very well defined

Re: samples again

2010-09-29 Thread ant elder
On Wed, Sep 29, 2010 at 10:02 AM, ant elder ant.el...@gmail.com wrote: On Wed, Sep 29, 2010 at 8:52 AM, Florian MOGA moga@gmail.com wrote: @Ant: What kind of sample are you thinking of in order to show the sca-contribution.xml file? Can you give me an example (maybe an itest)? There are

Re: tutorial - using binding.rest with non-jaxrs service?

2010-09-29 Thread Florian MOGA
I've seen Simon started fixing things on the json databinding and I would like to update the jsonp sample as well to also use arrays and BigDecimal. Are we keeping the current format for the scdl or switch to the wire declaration? I can't estimate how much such a change would take but if it needs

Re: samples again

2010-09-29 Thread Simon Laws
On Wed, Sep 29, 2010 at 11:09 AM, Florian MOGA moga@gmail.com wrote: I personally like the shell and the shell idea very much and I agree it would be the way to go (no Maven/Ant discrimination). The major problem in using the shell is that it implies a decent amount of knowledge with terms

Re: samples again

2010-09-29 Thread ant elder
On Wed, Sep 29, 2010 at 11:09 AM, Florian MOGA moga@gmail.com wrote: I personally like the shell and the shell idea very much and I agree it would be the way to go (no Maven/Ant discrimination). The major problem in using the shell is that it implies a decent amount of knowledge with terms

Re: tutorial - using binding.rest with non-jaxrs service?

2010-09-29 Thread Simon Laws
On Wed, Sep 29, 2010 at 11:20 AM, Florian MOGA moga@gmail.com wrote: I've seen Simon started fixing things on the json databinding and I would like to update the jsonp sample as well to also use arrays and BigDecimal. Are we keeping the current format for the scdl or switch to the wire

Re: tutorial - using binding.rest with non-jaxrs service?

2010-09-29 Thread ant elder
I think the current state is that although the binding.http has the start of some support for this the tuscany-binding-jsonp-runtime still works and will take prcidence if that jar is included. So for the time being i think it should all be fine just using binding.jsonp and binding-jsonp-runtime

Re: samples again

2010-09-29 Thread ant elder
On Wed, Sep 29, 2010 at 11:26 AM, Simon Laws simonsl...@googlemail.com wrote: On Wed, Sep 29, 2010 at 11:09 AM, Florian MOGA moga@gmail.com wrote: I personally like the shell and the shell idea very much and I agree it would be the way to go (no Maven/Ant discrimination). The major problem

Re: Databinding and arrays question

2010-09-29 Thread Scott Kurz
Simon, like you mentioned, the original thinking must simply be that in most cases, the right thing to do is transform the contents of one array into the contents of the resulting array. I just wanted to chime in and ask if it might be worth trying to use the transformer weight mechanism to make

Re: samples again

2010-09-29 Thread Simon Laws
Shell scripting is an interesting idea and certainly something that could be added. However, to me, it sounds more like a power user convenience. Here's another approach. Why not simply imagine a directory structure that lays out the various parts of the problem, e..g domain1  

Re: Databinding and arrays question

2010-09-29 Thread Simon Laws
On Wed, Sep 29, 2010 at 12:30 PM, Scott Kurz scottk...@gmail.com wrote: Simon,  like you mentioned, the original thinking must simply be that in most cases, the right thing to do is transform the contents of one array into the contents of the resulting array. I just wanted to chime in and ask

Re: tutorial - using binding.rest with non-jaxrs service?

2010-09-29 Thread Florian MOGA
Hi Simon, I'm currently studying things for a major enhancement on the comet binding and helping out with the samples when finding time. It's fine if you estimate completing fixes on the json databinding this or the next week. Let me know when you're done and I'll proceed with improving the

Re: [1.6.1] Replacing download.java.net by mirrors.ibiblio.org

2010-09-29 Thread Simon Nash
Simon Nash wrote: Luciano Resende wrote: On Tue, Sep 28, 2010 at 9:43 AM, Simon Laws simonsl...@googlemail.com wrote: I thought we already included the Ibiblio mirror in the top level pom? Is it just that because the download.java.net works (but very slowly) that it's choosing that one but not

Re: samples again

2010-09-29 Thread Florian MOGA
From what I understand node.xml would be the final configuration that you would export from the shell after adding/installing all the contributributions (please correct me if i'm wrong). Wouldn't this bring a bit more overhead as it adds a new syntax, etc. Does it bring more things other than a

Re: svn commit: r1002694 - in /tuscany/sca-java-2.x/trunk/modules/node-api/src/main/java/org/apache/tuscany/sca/node/configuration: ContributionConfiguration.java impl/ContributionConfigurationImpl.ja

2010-09-29 Thread Raymond Feng
Hi, Can you explain why we need to add these extra configuration parameters? Thanks, Raymond Raymond Feng rf...@apache.org Apache Tuscany PMC member and committer: tuscany.apache.org Co-author of Tuscany SCA In Action book:

Re: [jira] Created: (TUSCANY-3674) Review/consolidate 2.x distribution structure

2010-09-29 Thread Simon Laws
Ok well I've published a snapshot of our maven-bundle-plugin that allows us to generate some more meta-data for the binary distro. The snapshot is not synched yet to the Nexus repo so I haven't committed the distro poms that allow you to build for yourself. I've posted the resulting zip to my

Re: samples again

2010-09-29 Thread Simon Laws
snip... Being able to export the full application with all the dependencies included sounds like a must-have to me. I would add that being able to start up from a full configuration without the need to run separate commands seems similarly important. Simon -- Apache Tuscany committer:

Re: [jira] Created: (TUSCANY-3674) Review/consolidate 2.x distribution structure

2010-09-29 Thread Raymond Feng
Hi, What's the difference between feature and extension? Thanks, Raymond Raymond Feng rf...@apache.org Apache Tuscany PMC member and committer: tuscany.apache.org Co-author of Tuscany SCA In Action book: www.tuscanyinaction.com

Re: Doing another 2.x release in a few weeks?

2010-09-29 Thread Simon Laws
How about we start to making progress on the Beta release again... Things are looking ok I believe from an otest point of view. We've had discussion about the samples and that looks to be shaping up. We've also had disscussion about the distro structure and there are lots of ideas. I think we

Re: [jira] Created: (TUSCANY-3674) Review/consolidate 2.x distribution structure

2010-09-29 Thread Simon Laws
On Wed, Sep 29, 2010 at 6:25 PM, Raymond Feng enjoyj...@gmail.com wrote: Hi, What's the difference between feature and extension? Thanks, Raymond In the bundle plugin config you mean? In reality in the code nothing at the moment. I had looked on features as being a somewhat arbitrary but

[jira] Created: (TUSCANY-3697) samples/osgi-supplychain ant script builds incorrect jar files

2010-09-29 Thread Simon Nash (JIRA)
samples/osgi-supplychain ant script builds incorrect jar files -- Key: TUSCANY-3697 URL: https://issues.apache.org/jira/browse/TUSCANY-3697 Project: Tuscany Issue Type: Bug

[jira] Commented: (TUSCANY-3680) clean target in generated build.xml files fails with empty target directory

2010-09-29 Thread Simon Nash (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-3680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12916273#action_12916273 ] Simon Nash commented on TUSCANY-3680: - A number of build.xml files in the samples

Re: [1.6.1] Replacing download.java.net by mirrors.ibiblio.org

2010-09-29 Thread Luciano Resende
On Wed, Sep 29, 2010 at 8:27 AM, Simon Nash n...@apache.org wrote: I tried the brute force approach today.  Without any changes to the repository definitions in the poms I ran the top-level build and killed it when it hit a hung download.  I rebuilt the failing module until the download