You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by Valerio Schiavoni <va...@gmail.com> on 2007/02/09 16:09:28 UTC

sca-extensions which code to checkout

hello everyone,
i'm willing to contribute a new container type. so I checkout the sources,
following instructions for the whole procedure (SDO, and the the rest)...

the problem is that the project is definetly huge for me, and for me it
would be sufficient to checkout the sca-extensions module, get it built,
have its sources in eclipse, and be able to contribute a patch with the new
container.

So, anyone can somehow provide guidance on this ? Once successful, I could
contribute to the wiki with the required steps.

thanks a lot,
valerio

-- 
http://jroller.com/page/vschiavoni

Re: fractal module, was: sca-extensions which code to checkout

Posted by Valerio Schiavoni <va...@gmail.com>.
thanks Jeremy, just checked out, I'll work on it later today and tomorrow,
to see how it goes.

Thanks!

On 2/9/07, Jeremy Boynes <jb...@apache.org> wrote:
>
> On Feb 9, 2007, at 9:10 AM, Jeremy Boynes wrote:
> > I'll add a module in the sandbox for fractal.
>
> https://svn.apache.org/repos/asf/incubator/tuscany/sandbox/fractal
>



-- 
http://valerioschiavoni.blogspot.com
http://jroller.com/page/vschiavoni

fractal module, was: sca-extensions which code to checkout

Posted by Jeremy Boynes <jb...@apache.org>.
On Feb 9, 2007, at 9:10 AM, Jeremy Boynes wrote:
> I'll add a module in the sandbox for fractal.

https://svn.apache.org/repos/asf/incubator/tuscany/sandbox/fractal

Have at it :-)
--
Jeremy

---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


Re: sca-extensions which code to checkout

Posted by Valerio Schiavoni <va...@gmail.com>.
Hi Jeremy,
thanks for your support.

I was able to build both modules. I also passed the eclipse-related
file generation, but can't get eclipse to recognize it as a whole
project. At this moment I don't care that too much, I'll be interested
more in the SPI module..

As soon as I have some /almost/ working prototype for the fractal
sandbox, i'll attach a patch for that.


Thanks for now !

On 2/12/07, Jeremy Boynes <jb...@apache.org> wrote:


-- 
http://valerioschiavoni.blogspot.com
http://jroller.com/page/vschiavoni

---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


Re: sca-extensions which code to checkout

Posted by Jeremy Boynes <jb...@apache.org>.
On Feb 12, 2007, at 4:48 AM, Valerio Schiavoni wrote:

> On 2/9/07, Jeremy Boynes <jb...@apache.org> wrote:
>> Fractal would be great :-)
>
> Yes!
>
>> The tag for M2 is here:
>> http://svn.apache.org/repos/asf/incubator/tuscany/tags/java/sca/1.0-
>> incubator-M2/
>
> i get this error when trying 'mvn -Peclipse eclipse:eclipse' on  
> this module:

I get that as well. If you run just 'mvn' first so all the artifacts  
are present locally then you can get past that.

However, I ran into another problem downloading the neethi pom which  
I think is due to the eclipse download site not returning 404 for  
files that aren't there (it does that occasionally) :-( I had to  
comment out the <repository> element for eclipse in tools/pom.xml to  
get it to work.

The monolithic build in M2 was plagued with stuff like this - we've  
moved to a more modular structure in trunk to avoid these types of  
problem.

--
Jeremy


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


Re: sca-extensions which code to checkout

Posted by Valerio Schiavoni <va...@gmail.com>.
On 2/9/07, Jeremy Boynes <jb...@apache.org> wrote:
> Fractal would be great :-)

Yes!

>The tag for M2 is here:
> http://svn.apache.org/repos/asf/incubator/tuscany/tags/java/sca/1.0-
> incubator-M2/

i get this error when trying 'mvn -Peclipse eclipse:eclipse' on this module:

Missing:
----------
1) org.apache.tuscany.sca.services.databinding:databinding-jaxb:jar:1.0-incubator-M2

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file
-DgroupId=org.apache.tuscany.sca.services.databinding
-DartifactId=databinding-jaxb \
          -Dversion=1.0-incubator-M2 -Dpackaging=jar -Dfile=/path/to/file

  Path to dependency:
        1) org.apache.tuscany.sca.services.databinding:databinding-test:jar:1.0-incubator-M2
        2) org.apache.tuscany.sca.services.databinding:databinding-jaxb:jar:1.0-incubator-M2

2) org.apache.tuscany.sca.services.databinding:databinding-xmlbeans:jar:1.0-incubator-M2

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file
-DgroupId=org.apache.tuscany.sca.services.databinding
-DartifactId=databinding-xmlbeans \
          -Dversion=1.0-incubator-M2 -Dpackaging=jar -Dfile=/path/to/file

  Path to dependency:
        1) org.apache.tuscany.sca.services.databinding:databinding-test:jar:1.0-incubator-M2
        2) org.apache.tuscany.sca.services.databinding:databinding-xmlbeans:jar:1.0-incubator-M2

----------
2 required artifacts are missing.

for artifact:
  org.apache.tuscany.sca.services.databinding:databinding-test:jar:1.0-incubator-M2

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  apache.m1 (http://people.apache.org/repository),
  apache.incubator (http://people.apache.org/repo/m2-incubating-repository/),
  java.net (https://maven-repository.dev.java.net/nonav/repository),
  apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository)


[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 12 seconds
[INFO] Finished at: Mon Feb 12 11:36:40 CET 2007
[INFO] Final Memory: 12M/23M
[INFO] ------------------------------------------------------------------------


any idea ?

-- 
http://jroller.com/page/vschiavoni

---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


Re: sca-extensions which code to checkout

Posted by Jeremy Boynes <jb...@apache.org>.
Fractal would be great :-) There are a lot of similarities with SCA  
and it would be cool to bring the two architectures together.

As a starting point, yes I think the Spring container would be the  
closest. As you've figured, it does two things:
1) it allows a Spring application context to act as the  
implementation of an SCA component - this allows users to bring  
existing Spring applications into an SCA assembly
2) it allows SCA components to act as Spring beans so that users can  
use services over SCA from their applications
which sounds like it matches your two options as well.

trunk is in a bit of a churn at this moment as we are migrating from  
the SCA 0.95 to 1.0 level so I would suggest starting from a M2  
baseline. There's enough to do figuring out the integration without  
tracking HEAD :-) The tag for M2 is here:
http://svn.apache.org/repos/asf/incubator/tuscany/tags/java/sca/1.0- 
incubator-M2/
and the Spring module is here:
http://svn.apache.org/repos/asf/incubator/tuscany/tags/java/sca/1.0- 
incubator-M2/services/containers/container.spring/

To build either of these should build, just check it out and run "mvn"
To bring into Eclipse, try "mvn -Peclipse eclipse:eclipse" but YMMV

I'll add a module in the sandbox for fractal.
--
Jeremy

On Feb 9, 2007, at 8:27 AM, Valerio Schiavoni wrote:

> Hello Jeremy,
> thanks for your quick answer.
>
> On 2/9/07, Jeremy Boynes <jb...@apache.org> wrote:
>>
>>
>> What language are you looking to support?
>
>
> i'm looking to provide support to fractal
> <http://fractal.objectweb.org>architectures.
>
> It should be straightoward to provide a new container type (a fractal
> namespace, loader, builders, and so on), as demonstrated with the JS
> example..once I get the sca-extension module compiling.
>
> Then, i'm willing to contribute a new binding mechanism to  
> 'fractalize' sca
> components  ..but I have to discuss still this with my team.
>
> If I had to say which of the already available extensions look more  
> similar
> to the one I'm working on, i'd say that Spring is the most  
> promising one: i
> imagine that extension let a spring context to be sca-compliant,  
> 'wrapping'
> it with sca composites.
>
> So my work is in 2 directions at same time: embed fractal into sca/ 
> tuscany,
> and be able to bind (in a general sense) sca-composites through
> fractal-binding extension..
>
> Here any suggestion is very welcome,
>
> ciao,
> Valerio
>
> -- 
> http://jroller.com/page/vschiavoni


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


Re: sca-extensions which code to checkout

Posted by Valerio Schiavoni <va...@gmail.com>.
Hello Jeremy,
thanks for your quick answer.

On 2/9/07, Jeremy Boynes <jb...@apache.org> wrote:
>
>
> What language are you looking to support?


i'm looking to provide support to fractal
<http://fractal.objectweb.org>architectures.

It should be straightoward to provide a new container type (a fractal
namespace, loader, builders, and so on), as demonstrated with the JS
example..once I get the sca-extension module compiling.

Then, i'm willing to contribute a new binding mechanism to 'fractalize' sca
components  ..but I have to discuss still this with my team.

If I had to say which of the already available extensions look more similar
to the one I'm working on, i'd say that Spring is the most promising one: i
imagine that extension let a spring context to be sca-compliant, 'wrapping'
it with sca composites.

So my work is in 2 directions at same time: embed fractal into sca/tuscany,
and be able to bind (in a general sense) sca-composites through
fractal-binding extension..

Here any suggestion is very welcome,

ciao,
Valerio

-- 
http://jroller.com/page/vschiavoni

Re: sca-extensions which code to checkout

Posted by Jeremy Boynes <jb...@apache.org>.
Welcome to the project!

You don't even need to do all the extensions. Adding a container is  
like adding a Maven plugin - a self contained module that uses  
interfaces from the kernel. You can ignore all the other extensions  
and focus on yours.

What language are you looking to support? If it's similar to one of  
the ones we have already (e.g. Java, JS, Ruby) then it might be  
simple to start by copying that module. If not, I'd be happy to  
create an archetype project in the sandbox for you to start on.

Let's get this going :-)
--
Jeremy

On Feb 9, 2007, at 7:09 AM, Valerio Schiavoni wrote:

> hello everyone,
> i'm willing to contribute a new container type. so I checkout the  
> sources,
> following instructions for the whole procedure (SDO, and the the  
> rest)...
>
> the problem is that the project is definetly huge for me, and for  
> me it
> would be sufficient to checkout the sca-extensions module, get it  
> built,
> have its sources in eclipse, and be able to contribute a patch with  
> the new
> container.
>
> So, anyone can somehow provide guidance on this ? Once successful,  
> I could
> contribute to the wiki with the required steps.
>
> thanks a lot,
> valerio
>
> -- 
> http://jroller.com/page/vschiavoni


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org