Re: svn commit: r1147924 - in /tuscany/sca-java-2.x/branches/2.0-Beta3: distribution/all/src/main/release/bin/ distribution/all/src/main/release/bin/LICENSE modules/binding-comet-runtime/ modules/bind

2011-07-19 Thread ant elder
I'm getting a fail on this because the oss.sonatype.org repositories
aren't responding presently for some reason so it just hangs the
build. Are these extra repos really needed still? Having a look i see
that the gson jars are in the Maven central repo now.

   ...ant

On Mon, Jul 18, 2011 at 4:13 PM,  fm...@apache.org wrote:
 Author: fmoga
 Date: Mon Jul 18 15:13:44 2011
 New Revision: 1147924

 URL: http://svn.apache.org/viewvc?rev=1147924view=rev
 Log:
 Merge comet binding dependency changes into beta3

 Modified:
    
 tuscany/sca-java-2.x/branches/2.0-Beta3/distribution/all/src/main/release/bin/
    (props changed)
    
 tuscany/sca-java-2.x/branches/2.0-Beta3/distribution/all/src/main/release/bin/LICENSE
    tuscany/sca-java-2.x/branches/2.0-Beta3/modules/binding-comet-runtime/   
 (props changed)
    
 tuscany/sca-java-2.x/branches/2.0-Beta3/modules/binding-comet-runtime/pom.xml

 Propchange: 
 tuscany/sca-java-2.x/branches/2.0-Beta3/distribution/all/src/main/release/bin/
 --
 --- svn:mergeinfo (added)
 +++ svn:mergeinfo Mon Jul 18 15:13:44 2011
 @@ -0,0 +1,2 @@
 +/tuscany/branches/sca-java-1.3/distribution/all/src/main/release/bin:671193
 +/tuscany/sca-java-2.x/trunk/distribution/all/src/main/release/bin:1147891

 Modified: 
 tuscany/sca-java-2.x/branches/2.0-Beta3/distribution/all/src/main/release/bin/LICENSE
 URL: 
 http://svn.apache.org/viewvc/tuscany/sca-java-2.x/branches/2.0-Beta3/distribution/all/src/main/release/bin/LICENSE?rev=1147924r1=1147923r2=1147924view=diff
 ==
 --- 
 tuscany/sca-java-2.x/branches/2.0-Beta3/distribution/all/src/main/release/bin/LICENSE
  (original)
 +++ 
 tuscany/sca-java-2.x/branches/2.0-Beta3/distribution/all/src/main/release/bin/LICENSE
  Mon Jul 18 15:13:44 2011
 @@ -688,13 +688,13 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBI
  

  The jars;
 -atmosphere-annotations-0.8-SNAPSHOT.jar,
 -atmosphere-compat-jbossweb-0.8-SNAPSHOT.jar,
 -atmosphere-compat-tomcat-0.8-SNAPSHOT.jar,
 -atmosphere-compat-weblogic-0.8-SNAPSHOT.jar,
 -atmosphere-jersey-0.8-SNAPSHOT.jar,
 -atmosphere-runtime-0.8-SNAPSHOT.jar,
 -atmosphere-ping-0.8-SNAPSHOT.jar,
 +atmosphere-annotations-0.7.2.jar,
 +atmosphere-compat-jbossweb-0.7.2.jar,
 +atmosphere-compat-tomcat-0.7.2.jar,
 +atmosphere-compat-weblogic-0.7.2.jar,
 +atmosphere-jersey-0.7.2.jar,
 +atmosphere-runtime-0.7.2.jar,
 +atmosphere-ping-0.7.2.jar,
  jersey-core-1.6.jar,
  jersey-server-1.6.jar,
  jstl-1.1.2.jar,

 Propchange: 
 tuscany/sca-java-2.x/branches/2.0-Beta3/modules/binding-comet-runtime/
 --
 --- svn:mergeinfo (added)
 +++ svn:mergeinfo Mon Jul 18 15:13:44 2011
 @@ -0,0 +1,2 @@
 +/tuscany/branches/sca-java-1.3/modules/binding-comet-runtime:671193
 +/tuscany/sca-java-2.x/trunk/modules/binding-comet-runtime:1147891

 Modified: 
 tuscany/sca-java-2.x/branches/2.0-Beta3/modules/binding-comet-runtime/pom.xml
 URL: 
 http://svn.apache.org/viewvc/tuscany/sca-java-2.x/branches/2.0-Beta3/modules/binding-comet-runtime/pom.xml?rev=1147924r1=1147923r2=1147924view=diff
 ==
 --- 
 tuscany/sca-java-2.x/branches/2.0-Beta3/modules/binding-comet-runtime/pom.xml 
 (original)
 +++ 
 tuscany/sca-java-2.x/branches/2.0-Beta3/modules/binding-comet-runtime/pom.xml 
 Mon Jul 18 15:13:44 2011
 @@ -1,90 +1,90 @@
 -?xml version=1.0 encoding=UTF-8?
 -!--
 - * Licensed to the Apache Software Foundation (ASF) under one
 - * or more contributor license agreements.  See the NOTICE file
 - * distributed with this work for additional information
 - * regarding copyright ownership.  The ASF licenses this file
 - * to you under the Apache License, Version 2.0 (the
 - * License); you may not use this file except in compliance
 - * with the License.  You may obtain a copy of the License at
 - *
 - *   http://www.apache.org/licenses/LICENSE-2.0
 - *
 - * Unless required by applicable law or agreed to in writing,
 - * software distributed under the License is distributed on an
 - * AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 - * KIND, either express or implied.  See the License for the
 - * specific language governing permissions and limitations
 - * under the License.
 ---
 -project
 -       modelVersion4.0.0/modelVersion
 -       parent
 -               groupIdorg.apache.tuscany.sca/groupId
 -               artifactIdtuscany-modules/artifactId
 -               version2.0-Beta3-SNAPSHOT/version
 -               relativePath../pom.xml/relativePath
 -       /parent
 -
 -       groupIdorg.apache.tuscany.sca/groupId
 -       artifactIdtuscany-binding-comet-runtime/artifactId
 -       nameApache Tuscany SCA Comet Binding Runtime/name
 -       packagingjar/packaging
 -
 -       

Re: svn commit: r1147924 - in /tuscany/sca-java-2.x/branches/2.0-Beta3: distribution/all/src/main/release/bin/ distribution/all/src/main/release/bin/LICENSE modules/binding-comet-runtime/ modules/bind

2011-07-19 Thread Florian Moga
Yes, the repo is down. Sonatype repo was actually needed for Atmosphere
snapshots which we don't need anymore and Gson is publishing it's artifacts
to central as well. I'm performing a build now with an empty maven repo to
see how that works.

On Tue, Jul 19, 2011 at 11:58 AM, ant elder ant.el...@gmail.com wrote:

 I'm getting a fail on this because the oss.sonatype.org repositories
 aren't responding presently for some reason so it just hangs the
 build. Are these extra repos really needed still? Having a look i see
 that the gson jars are in the Maven central repo now.

   ...ant

 On Mon, Jul 18, 2011 at 4:13 PM,  fm...@apache.org wrote:
  Author: fmoga
  Date: Mon Jul 18 15:13:44 2011
  New Revision: 1147924
 
  URL: http://svn.apache.org/viewvc?rev=1147924view=rev
  Log:
  Merge comet binding dependency changes into beta3
 
  Modified:
 
  
 tuscany/sca-java-2.x/branches/2.0-Beta3/distribution/all/src/main/release/bin/
   (props changed)
 
  
 tuscany/sca-java-2.x/branches/2.0-Beta3/distribution/all/src/main/release/bin/LICENSE
 tuscany/sca-java-2.x/branches/2.0-Beta3/modules/binding-comet-runtime/
   (props changed)
 
  tuscany/sca-java-2.x/branches/2.0-Beta3/modules/binding-comet-runtime/pom.xml
 
  Propchange:
 tuscany/sca-java-2.x/branches/2.0-Beta3/distribution/all/src/main/release/bin/
 
 --
  --- svn:mergeinfo (added)
  +++ svn:mergeinfo Mon Jul 18 15:13:44 2011
  @@ -0,0 +1,2 @@
 
 +/tuscany/branches/sca-java-1.3/distribution/all/src/main/release/bin:671193
 
 +/tuscany/sca-java-2.x/trunk/distribution/all/src/main/release/bin:1147891
 
  Modified:
 tuscany/sca-java-2.x/branches/2.0-Beta3/distribution/all/src/main/release/bin/LICENSE
  URL:
 http://svn.apache.org/viewvc/tuscany/sca-java-2.x/branches/2.0-Beta3/distribution/all/src/main/release/bin/LICENSE?rev=1147924r1=1147923r2=1147924view=diff
 
 ==
  ---
 tuscany/sca-java-2.x/branches/2.0-Beta3/distribution/all/src/main/release/bin/LICENSE
 (original)
  +++
 tuscany/sca-java-2.x/branches/2.0-Beta3/distribution/all/src/main/release/bin/LICENSE
 Mon Jul 18 15:13:44 2011
  @@ -688,13 +688,13 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBI
 
  
 
 
   The jars;
  -atmosphere-annotations-0.8-SNAPSHOT.jar,
  -atmosphere-compat-jbossweb-0.8-SNAPSHOT.jar,
  -atmosphere-compat-tomcat-0.8-SNAPSHOT.jar,
  -atmosphere-compat-weblogic-0.8-SNAPSHOT.jar,
  -atmosphere-jersey-0.8-SNAPSHOT.jar,
  -atmosphere-runtime-0.8-SNAPSHOT.jar,
  -atmosphere-ping-0.8-SNAPSHOT.jar,
  +atmosphere-annotations-0.7.2.jar,
  +atmosphere-compat-jbossweb-0.7.2.jar,
  +atmosphere-compat-tomcat-0.7.2.jar,
  +atmosphere-compat-weblogic-0.7.2.jar,
  +atmosphere-jersey-0.7.2.jar,
  +atmosphere-runtime-0.7.2.jar,
  +atmosphere-ping-0.7.2.jar,
   jersey-core-1.6.jar,
   jersey-server-1.6.jar,
   jstl-1.1.2.jar,
 
  Propchange:
 tuscany/sca-java-2.x/branches/2.0-Beta3/modules/binding-comet-runtime/
 
 --
  --- svn:mergeinfo (added)
  +++ svn:mergeinfo Mon Jul 18 15:13:44 2011
  @@ -0,0 +1,2 @@
  +/tuscany/branches/sca-java-1.3/modules/binding-comet-runtime:671193
  +/tuscany/sca-java-2.x/trunk/modules/binding-comet-runtime:1147891
 
  Modified:
 tuscany/sca-java-2.x/branches/2.0-Beta3/modules/binding-comet-runtime/pom.xml
  URL:
 http://svn.apache.org/viewvc/tuscany/sca-java-2.x/branches/2.0-Beta3/modules/binding-comet-runtime/pom.xml?rev=1147924r1=1147923r2=1147924view=diff
 
 ==
  ---
 tuscany/sca-java-2.x/branches/2.0-Beta3/modules/binding-comet-runtime/pom.xml
 (original)
  +++
 tuscany/sca-java-2.x/branches/2.0-Beta3/modules/binding-comet-runtime/pom.xml
 Mon Jul 18 15:13:44 2011
  @@ -1,90 +1,90 @@
  -?xml version=1.0 encoding=UTF-8?
  -!--
  - * Licensed to the Apache Software Foundation (ASF) under one
  - * or more contributor license agreements.  See the NOTICE file
  - * distributed with this work for additional information
  - * regarding copyright ownership.  The ASF licenses this file
  - * to you under the Apache License, Version 2.0 (the
  - * License); you may not use this file except in compliance
  - * with the License.  You may obtain a copy of the License at
  - *
  - *   http://www.apache.org/licenses/LICENSE-2.0
  - *
  - * Unless required by applicable law or agreed to in writing,
  - * software distributed under the License is distributed on an
  - * AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  - * KIND, either express or implied.  See the License for the
  - * specific language governing permissions and limitations
  - * under the License.
  ---
  -project
  -   modelVersion4.0.0/modelVersion
  -   parent
  -   groupIdorg.apache.tuscany.sca/groupId
  -  

Re: svn commit: r1147924 - in /tuscany/sca-java-2.x/branches/2.0-Beta3: distribution/all/src/main/release/bin/ distribution/all/src/main/release/bin/LICENSE modules/binding-comet-runtime/ modules/bind

2011-07-19 Thread Florian Moga
That should be solved now. Thanks for pointing it out.

On Tue, Jul 19, 2011 at 12:12 PM, Florian Moga moga@gmail.com wrote:

 Yes, the repo is down. Sonatype repo was actually needed for Atmosphere
 snapshots which we don't need anymore and Gson is publishing it's artifacts
 to central as well. I'm performing a build now with an empty maven repo to
 see how that works.

 On Tue, Jul 19, 2011 at 11:58 AM, ant elder ant.el...@gmail.com wrote:

 I'm getting a fail on this because the oss.sonatype.org repositories
 aren't responding presently for some reason so it just hangs the
 build. Are these extra repos really needed still? Having a look i see
 that the gson jars are in the Maven central repo now.

   ...ant

 On Mon, Jul 18, 2011 at 4:13 PM,  fm...@apache.org wrote:
  Author: fmoga
  Date: Mon Jul 18 15:13:44 2011
  New Revision: 1147924
 
  URL: http://svn.apache.org/viewvc?rev=1147924view=rev
  Log:
  Merge comet binding dependency changes into beta3
 
  Modified:
 
  
 tuscany/sca-java-2.x/branches/2.0-Beta3/distribution/all/src/main/release/bin/
   (props changed)
 
  
 tuscany/sca-java-2.x/branches/2.0-Beta3/distribution/all/src/main/release/bin/LICENSE
 
  tuscany/sca-java-2.x/branches/2.0-Beta3/modules/binding-comet-runtime/
 (props changed)
 
  
 tuscany/sca-java-2.x/branches/2.0-Beta3/modules/binding-comet-runtime/pom.xml
 
  Propchange:
 tuscany/sca-java-2.x/branches/2.0-Beta3/distribution/all/src/main/release/bin/
 
 --
  --- svn:mergeinfo (added)
  +++ svn:mergeinfo Mon Jul 18 15:13:44 2011
  @@ -0,0 +1,2 @@
 
 +/tuscany/branches/sca-java-1.3/distribution/all/src/main/release/bin:671193
 
 +/tuscany/sca-java-2.x/trunk/distribution/all/src/main/release/bin:1147891
 
  Modified:
 tuscany/sca-java-2.x/branches/2.0-Beta3/distribution/all/src/main/release/bin/LICENSE
  URL:
 http://svn.apache.org/viewvc/tuscany/sca-java-2.x/branches/2.0-Beta3/distribution/all/src/main/release/bin/LICENSE?rev=1147924r1=1147923r2=1147924view=diff
 
 ==
  ---
 tuscany/sca-java-2.x/branches/2.0-Beta3/distribution/all/src/main/release/bin/LICENSE
 (original)
  +++
 tuscany/sca-java-2.x/branches/2.0-Beta3/distribution/all/src/main/release/bin/LICENSE
 Mon Jul 18 15:13:44 2011
  @@ -688,13 +688,13 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBI
 
  
 
 
   The jars;
  -atmosphere-annotations-0.8-SNAPSHOT.jar,
  -atmosphere-compat-jbossweb-0.8-SNAPSHOT.jar,
  -atmosphere-compat-tomcat-0.8-SNAPSHOT.jar,
  -atmosphere-compat-weblogic-0.8-SNAPSHOT.jar,
  -atmosphere-jersey-0.8-SNAPSHOT.jar,
  -atmosphere-runtime-0.8-SNAPSHOT.jar,
  -atmosphere-ping-0.8-SNAPSHOT.jar,
  +atmosphere-annotations-0.7.2.jar,
  +atmosphere-compat-jbossweb-0.7.2.jar,
  +atmosphere-compat-tomcat-0.7.2.jar,
  +atmosphere-compat-weblogic-0.7.2.jar,
  +atmosphere-jersey-0.7.2.jar,
  +atmosphere-runtime-0.7.2.jar,
  +atmosphere-ping-0.7.2.jar,
   jersey-core-1.6.jar,
   jersey-server-1.6.jar,
   jstl-1.1.2.jar,
 
  Propchange:
 tuscany/sca-java-2.x/branches/2.0-Beta3/modules/binding-comet-runtime/
 
 --
  --- svn:mergeinfo (added)
  +++ svn:mergeinfo Mon Jul 18 15:13:44 2011
  @@ -0,0 +1,2 @@
  +/tuscany/branches/sca-java-1.3/modules/binding-comet-runtime:671193
  +/tuscany/sca-java-2.x/trunk/modules/binding-comet-runtime:1147891
 
  Modified:
 tuscany/sca-java-2.x/branches/2.0-Beta3/modules/binding-comet-runtime/pom.xml
  URL:
 http://svn.apache.org/viewvc/tuscany/sca-java-2.x/branches/2.0-Beta3/modules/binding-comet-runtime/pom.xml?rev=1147924r1=1147923r2=1147924view=diff
 
 ==
  ---
 tuscany/sca-java-2.x/branches/2.0-Beta3/modules/binding-comet-runtime/pom.xml
 (original)
  +++
 tuscany/sca-java-2.x/branches/2.0-Beta3/modules/binding-comet-runtime/pom.xml
 Mon Jul 18 15:13:44 2011
  @@ -1,90 +1,90 @@
  -?xml version=1.0 encoding=UTF-8?
  -!--
  - * Licensed to the Apache Software Foundation (ASF) under one
  - * or more contributor license agreements.  See the NOTICE file
  - * distributed with this work for additional information
  - * regarding copyright ownership.  The ASF licenses this file
  - * to you under the Apache License, Version 2.0 (the
  - * License); you may not use this file except in compliance
  - * with the License.  You may obtain a copy of the License at
  - *
  - *   http://www.apache.org/licenses/LICENSE-2.0
  - *
  - * Unless required by applicable law or agreed to in writing,
  - * software distributed under the License is distributed on an
  - * AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  - * KIND, either express or implied.  See the License for the
  - * specific language governing permissions and limitations
  - * under the License.
  

2.0-beta3 distro review

2011-07-19 Thread ant elder
Ok following the discussion last week about doing a beta3 release i've
created a release branch and built the distros from that which are
presently uploading to:

http://people.apache.org/~antelder/tuscany/2.0-Beta3-review/

I've done a little clean up and tried the getting-started samples
which mostly seem to work ok, and the rest of the release including
legal files etc looks ok to me. So the only thing left is the quality
of samples and documentation. I'm hoping that as with the previous
beta release having not completely perfect doc will be ok for this
release too. Anyway, please all if you have so time do some review and
any clean up that you see as necessary and in a couple of days i'll
spin an RC and call a vote to release.

   ...ant


[jira] [Commented] (TUSCANY-3899) The domain registry shouldn't be sharing local endpoints remotely

2011-07-19 Thread ant elder (JIRA)

[ 
https://issues.apache.org/jira/browse/TUSCANY-3899?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13067738#comment-13067738
 ] 

ant elder commented on TUSCANY-3899:


Also, it would be good if the Shell would show when an endpoint is a local-only.

 The domain registry shouldn't be sharing local endpoints remotely
 -

 Key: TUSCANY-3899
 URL: https://issues.apache.org/jira/browse/TUSCANY-3899
 Project: Tuscany
  Issue Type: Bug
Reporter: ant elder
 Fix For: Java-SCA-2.0


 When using the Hazelcast domain registry and a non-remotable endpoint is 
 added then that endpoint still gets shared around the distributed domain. If 
 its tried to be used by having a remote reference witre to it or a remote sca 
 client invoke it then there are varrious fails most of which don't clearly 
 say its a non-remotable endpoint. 
 It seems like the best solution is to just not share remotely any 
 non-remoteable endpoints. It also seems like the best impl of that would be 
 in some common Tuscany code so that its not have to be considered for every 
 domain regsitry impl, however with the current design neither of those look 
 trivial to do. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Created] (TUSCANY-3899) The domain registry shouldn't be sharing local endpoints remotely

2011-07-19 Thread ant elder (JIRA)
The domain registry shouldn't be sharing local endpoints remotely
-

 Key: TUSCANY-3899
 URL: https://issues.apache.org/jira/browse/TUSCANY-3899
 Project: Tuscany
  Issue Type: Bug
Reporter: ant elder
 Fix For: Java-SCA-2.0


When using the Hazelcast domain registry and a non-remotable endpoint is added 
then that endpoint still gets shared around the distributed domain. If its 
tried to be used by having a remote reference witre to it or a remote sca 
client invoke it then there are varrious fails most of which don't clearly say 
its a non-remotable endpoint. 

It seems like the best solution is to just not share remotely any 
non-remoteable endpoints. It also seems like the best impl of that would be in 
some common Tuscany code so that its not have to be considered for every domain 
regsitry impl, however with the current design neither of those look trivial to 
do. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira




HelloWorld REST service

2011-07-19 Thread Eranda Sooriyabandara
Hi devs,
I tested a sample HelloWorld REST service and need to ask some questions
related to it.

When I start the service I got the following warning.
WARNING: The application Config Location property was not defined.
But I think it works properly because I cannot see 404 in
http://localhost:8085/HelloWorld.

I want to see whether this sample works or not how can I do that? You can
see my helloworld.composite below.

thanks
Eranda

*helloworld.composite*
?xml version=1.0 encoding=UTF-8?
composite xmlns=http://docs.oasis-open.org/ns/opencsa/sca/200912;
   xmlns:tuscany=http://tuscany.apache.org/xmlns/sca/1.1;
   targetNamespace=http://sample;
   name=helloworld-contribution
component name=HelloWorldComponent
 implementation.java class=org.eranda.sca.HelloWorldImpl/
service name=HelloWorld
tuscany:binding.rest uri=http://localhost:8085/HelloWorld;
tuscany:wireFormat.json /
tuscany:operationSelector.jaxrs /
/tuscany:binding.rest
/service
/component
/composite


Re: HelloWorld REST service

2011-07-19 Thread Raymond Feng
Hi, 

You can take a look at the HelloWorld interface for the Jax-rs annotations, 
especially @Path and @GET. This way, you can use the browser to try a GET.

Raymond Feng
Sent from my iPhone

On Jul 19, 2011, at 8:41 PM, Eranda Sooriyabandara 0704...@gmail.com wrote:

 Hi devs,
 I tested a sample HelloWorld REST service and need to ask some questions 
 related to it.
 
 When I start the service I got the following warning.
 WARNING: The application Config Location property was not defined.
 But I think it works properly because I cannot see 404 in 
 http://localhost:8085/HelloWorld.
 
 I want to see whether this sample works or not how can I do that? You can see 
 my helloworld.composite below.
 
 thanks
 Eranda
 
 helloworld.composite
 ?xml version=1.0 encoding=UTF-8?
 composite xmlns=http://docs.oasis-open.org/ns/opencsa/sca/200912;
xmlns:tuscany=http://tuscany.apache.org/xmlns/sca/1.1;
targetNamespace=http://sample;
name=helloworld-contribution  
   component name=HelloWorldComponent
   implementation.java class=org.eranda.sca.HelloWorldImpl/
   service name=HelloWorld
   tuscany:binding.rest 
 uri=http://localhost:8085/HelloWorld;
 tuscany:wireFormat.json /
 tuscany:operationSelector.jaxrs /
 /tuscany:binding.rest
   /service
 /component   
 /composite