You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by ant elder <an...@gmail.com> on 2007/09/14 18:46:59 UTC

SCA 1.0 RC1 artifacts available for review

The 1.0 RC1 tag has been taken and is available for checking out and
building: https://svn.apache.org/repos/asf/incubator/tuscany/tags/java/sca/1.0-incubating/


If you don't want to build it yourself the distributions are up loading to:
http://people.apache.org/~antelder/tuscany/1.0-RC1/<http://people.apache.org/%7Eantelder/tuscany/1.0-RC1/>

And the maven artifacts will be uploaded to:
http://people.apache.org/~antelder/tuscany/1.0-RC1/maven/<http://people.apache.org/%7Eantelder/tuscany/1.0-RC1/maven/>

The Windows distribution is up, at the current speed it will be another
couple of hours till everything is up including all the maven artifacts.

I wont call a vote on this RC as we know its not quite perfect yet, please
review and fix any issues or raises jira's for problems you find. I'll
create an RC2 late Monday morning GMT and call a vote on releasing that
unless there are critical or blocker defects still open against 1.0. At that
time any non critical or blocker JIRA's still open will be deferred to
Java-SCA-Next.

   ...ant

Re: Using Node/Domain API, was: SCA 1.0 RC1 artifacts available for review

Posted by Jean-Sebastien Delfino <js...@apache.org>.
Jean-Sebastien Delfino wrote:
> Simon Laws wrote:
>> On 9/16/07, ant elder <an...@apache.org> wrote:
>>  
>>> On 9/16/07, Simon Laws <si...@googlemail.com> wrote:
>>>
>>> <snip>
>>>
>>> A question though is should we flip the samples over to use NodeImpl
>>> instead
>>>    
>>>> of SCAdomain?
>>>>       
>>> To save digging around in the code / ML, what is the new way exactly?
>>> Currently things do:
>>>
>>>    org.apache.tuscany.sca.host.embedded.SCADomain.newInstance("
>>> helloworldws.composite");
>>>
>>> what is the new replacement approach?
>>>
>>>    ...ant
>>>     
>>
>>
>>
>>  org.apache.tuscany.sca.node.impl.NodeImpl node = new SCANodeImpl();
>>  node.start();
>>  node.getContributionManager().startContribution(The URL to your
>> contribution);
>>
>> For example, for test purposes the URL could be:
>>
>> SCANodeUtil.findContributionFromComposite(???.class.getClassLoader(),"
>> helloworldws.composite"));
>>
>> So it's more lines but removes some of the mystery about where the
>> contributions are found.
>>
>> Simon
>>
>>   
>
> I'm reviewing the API, and have a few comments:
>
> * +1 to use the new API, with a few minor changes.
>
> * The new API shouldn't expose implementation classes like NodeImpl or 
> cause the samples to have to a compile dependency on module node-impl. 
> I'd like to change "new NodeImpl()" to "SCANode.newInstance()".
>
> * I'd prefer a convenient API to an inconvenient API forcing 90% of 
> the samples to use an SCANodeUtil side class to give that API what it 
> wants. I'd suggest to move findContributionFromComposite() to SCANode 
> and not expose an SCANodeUtil which will quickly become a mixed bag of 
> things.
>
> * Cosmetic, getUri should be changed to getURI to be consistent with 
> the osoa.sca API. I can take care of this minor change :)
>
> I'm going to try to use the API in some of the samples and will try to 
> come up with more comments soon today.
> -- 
> Jean-Sebastien
>

I tried the API and would like to propose something simpler, and closer 
to the SCADomain API currently used everywhere in samples and tests.

I committed it there so that people can take a look:
http://svn.apache.org/repos/asf/incubator/tuscany/branches/sca-java-1.0/modules/node-api/src/main/java/org/apache/tuscany/sca/node/smaller

I'd like to do the following:
- keep the samples and test cases that use oat.host.embedded.SCADomain 
unchanged, as it's really too late to change them now, if RC2 is going 
to be cut tomorrow
- use the node API, in it's simpler/smaller form in the 
calculator-distributed sample
- move the rest out of node-api as it's dragging dependencies on SPIs 
and the core runtime, and I think we should keep the strict minimum in 
an API module.

Thoughts?

-- 
Jean-Sebastien


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


Using Node/Domain API, was: SCA 1.0 RC1 artifacts available for review

Posted by Jean-Sebastien Delfino <js...@gmail.com>.
Simon Laws wrote:
> On 9/16/07, ant elder <an...@apache.org> wrote:
>   
>> On 9/16/07, Simon Laws <si...@googlemail.com> wrote:
>>
>> <snip>
>>
>> A question though is should we flip the samples over to use NodeImpl
>> instead
>>     
>>> of SCAdomain?
>>>       
>> To save digging around in the code / ML, what is the new way exactly?
>> Currently things do:
>>
>>    org.apache.tuscany.sca.host.embedded.SCADomain.newInstance("
>> helloworldws.composite");
>>
>> what is the new replacement approach?
>>
>>    ...ant
>>     
>
>
>
>  org.apache.tuscany.sca.node.impl.NodeImpl node = new SCANodeImpl();
>  node.start();
>  node.getContributionManager().startContribution(The URL to your
> contribution);
>
> For example, for test purposes the URL could be:
>
> SCANodeUtil.findContributionFromComposite(???.class.getClassLoader(),"
> helloworldws.composite"));
>
> So it's more lines but removes some of the mystery about where the
> contributions are found.
>
> Simon
>
>   

I'm reviewing the API, and have a few comments:

* +1 to use the new API, with a few minor changes.

* The new API shouldn't expose implementation classes like NodeImpl or 
cause the samples to have to a compile dependency on module node-impl. 
I'd like to change "new NodeImpl()" to "SCANode.newInstance()".

* I'd prefer a convenient API to an inconvenient API forcing 90% of the 
samples to use an SCANodeUtil side class to give that API what it wants. 
I'd suggest to move findContributionFromComposite() to SCANode and not 
expose an SCANodeUtil which will quickly become a mixed bag of things.

* Cosmetic, getUri should be changed to getURI to be consistent with the 
osoa.sca API. I can take care of this minor change :)

I'm going to try to use the API in some of the samples and will try to 
come up with more comments soon today.
--
Jean-Sebastien

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


Re: SCA 1.0 RC1 artifacts available for review

Posted by Simon Laws <si...@googlemail.com>.
On 9/16/07, Jean-Sebastien Delfino <js...@gmail.com> wrote:
>
> Simon Nash wrote:
> >
> > Simon Laws wrote:
> >
> >> On 9/16/07, ant elder <an...@apache.org> wrote:
> >>
> >>> On 9/16/07, Simon Laws <si...@googlemail.com> wrote:
> >>>
> >>> <snip>
> >>>
> >>> A question though is should we flip the samples over to use NodeImpl
> >>> instead
> >>>
> >>>> of SCAdomain?
> >>>
> >>>
> >>> To save digging around in the code / ML, what is the new way exactly?
> >>> Currently things do:
> >>>
> >>>   org.apache.tuscany.sca.host.embedded.SCADomain.newInstance("
> >>> helloworldws.composite");
> >>>
> >>> what is the new replacement approach?
> >>>
> >>>   ...ant
> >>
> >>
> >>
> >>
> >>  org.apache.tuscany.sca.node.impl.NodeImpl node = new SCANodeImpl();
> >>  node.start();
> >>  node.getContributionManager().startContribution(The URL to your
> >> contribution);
> >>
> >> For example, for test purposes the URL could be:
> >>
> >> SCANodeUtil.findContributionFromComposite(???.class.getClassLoader(),"
> >> helloworldws.composite"));
> >>
> >> So it's more lines but removes some of the mystery about where the
> >> contributions are found.
> >>
> >> Simon
> >>
> > I don't like this at all.  Is there a problem with staying with
> > what we currently have until we can design a clean replacement API?
> >
> >   Simon
> >
> >
>
> The non-distributed samples could stay with the current
> o.a.t.embedded.host.SCADomain.
>
> The distributed samples need to move to a cleaner API.
>
> I made a proposal for a smaller and cleaner API for use in the
> distributed samples there:
>
> http://svn.apache.org/repos/asf/incubator/tuscany/branches/sca-java-1.0/modules/node-api/src/main/java/org/apache/tuscany/sca/node/smaller/
>
> However, I'm not too happy about having two different APIs for
> non-distributed and distributed...
>
> Another option would be to port the distributed samples to the existing
> o.a.t.embedded.host.SCADomain, hook the existing SCADomain with the
> distributed Node support, and introduce the Node API only post 1.0.
>
> --
> Jean-Sebastien
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>
> I think moving everything underneath the current SCADomain API, you last
point,  is distinctly possible. I'll have a go and see how it looks.

Simon

Re: SCA 1.0 RC1 artifacts available for review

Posted by Simon Laws <si...@googlemail.com>.
On 9/17/07, Jean-Sebastien Delfino <js...@gmail.com> wrote:
>
> Jean-Sebastien Delfino wrote:
> > Simon Nash wrote:
> >>
> >> Simon Laws wrote:
> >>
> >>> On 9/16/07, ant elder <an...@apache.org> wrote:
> >>>
> >>>> On 9/16/07, Simon Laws <si...@googlemail.com> wrote:
> >>>>
> >>>> <snip>
> >>>>
> >>>> A question though is should we flip the samples over to use NodeImpl
> >>>> instead
> >>>>
> >>>>> of SCAdomain?
> >>>>
> >>>>
> >>>> To save digging around in the code / ML, what is the new way exactly?
> >>>> Currently things do:
> >>>>
> >>>>   org.apache.tuscany.sca.host.embedded.SCADomain.newInstance("
> >>>> helloworldws.composite");
> >>>>
> >>>> what is the new replacement approach?
> >>>>
> >>>>   ...ant
> >>>
> >>>
> >>>
> >>>
> >>>  org.apache.tuscany.sca.node.impl.NodeImpl node = new SCANodeImpl();
> >>>  node.start();
> >>>  node.getContributionManager().startContribution(The URL to your
> >>> contribution);
> >>>
> >>> For example, for test purposes the URL could be:
> >>>
> >>> SCANodeUtil.findContributionFromComposite(???.class.getClassLoader(),"
> >>> helloworldws.composite"));
> >>>
> >>> So it's more lines but removes some of the mystery about where the
> >>> contributions are found.
> >>>
> >>> Simon
> >>>
> >> I don't like this at all.  Is there a problem with staying with
> >> what we currently have until we can design a clean replacement API?
> >>
> >>   Simon
> >>
> >>
> >
> > The non-distributed samples could stay with the current
> > o.a.t.embedded.host.SCADomain.
> >
> > The distributed samples need to move to a cleaner API.
> >
> > I made a proposal for a smaller and cleaner API for use in the
> > distributed samples there:
> >
> http://svn.apache.org/repos/asf/incubator/tuscany/branches/sca-java-1.0/modules/node-api/src/main/java/org/apache/tuscany/sca/node/smaller/
> >
> >
> > However, I'm not too happy about having two different APIs for
> > non-distributed and distributed...
> >
> > Another option would be to port the distributed samples to the
> > existing o.a.t.embedded.host.SCADomain, hook the existing SCADomain
> > with the distributed Node support, and introduce the Node API only
> > post 1.0.
> >
> > --
> > Jean-Sebastien
> >
>
> More thoughts, trying to cleanup the calculator-distributed API usage
> while minimizing changes and impact on everything else as time to cut
> 1.0 RC2 is approaching :)
>
> We could do the following:
>
> - Keep o.a.t.sca.host.embedded.SCADomain unchanged.
>
> - Copy it into a new o.a.t.sca.domain.SCADomain, in a small domain-api
> module which will only contains that class and only depend on the
> sca-api module. This becomes the API to use to leverage the distributed
> domain support.
>
> - Add one parameter to one of the
> o.a.t.sca.domain.SCADomain.newInstance() methods to take an additional
> nodeURI parameter (as it's needed by nodes to tell the distributed
> domain where they are).
>
> - Move the SCANode interface and its friends to module node and we can
> probably remove the node-api for now.
>
> - Port the calculator-distributed sample to o.a.t.sca.domain.SCADomain.
>
> Thoughts?
>
> --
> Jean-Sebastien
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>
> sounds ok to me

Assuming this works we then flip o.a.t.s.host.embedded.SCADomain to the
o.a.t.s.domain-api where ever it appears

Simon

Re: SCA 1.0 RC1 artifacts available for review

Posted by Jean-Sebastien Delfino <js...@gmail.com>.
Jean-Sebastien Delfino wrote:
> Simon Nash wrote:
>>
>> Simon Laws wrote:
>>
>>> On 9/16/07, ant elder <an...@apache.org> wrote:
>>>
>>>> On 9/16/07, Simon Laws <si...@googlemail.com> wrote:
>>>>
>>>> <snip>
>>>>
>>>> A question though is should we flip the samples over to use NodeImpl
>>>> instead
>>>>
>>>>> of SCAdomain?
>>>>
>>>>
>>>> To save digging around in the code / ML, what is the new way exactly?
>>>> Currently things do:
>>>>
>>>>   org.apache.tuscany.sca.host.embedded.SCADomain.newInstance("
>>>> helloworldws.composite");
>>>>
>>>> what is the new replacement approach?
>>>>
>>>>   ...ant
>>>
>>>
>>>
>>>
>>>  org.apache.tuscany.sca.node.impl.NodeImpl node = new SCANodeImpl();
>>>  node.start();
>>>  node.getContributionManager().startContribution(The URL to your
>>> contribution);
>>>
>>> For example, for test purposes the URL could be:
>>>
>>> SCANodeUtil.findContributionFromComposite(???.class.getClassLoader(),"
>>> helloworldws.composite"));
>>>
>>> So it's more lines but removes some of the mystery about where the
>>> contributions are found.
>>>
>>> Simon
>>>
>> I don't like this at all.  Is there a problem with staying with
>> what we currently have until we can design a clean replacement API?
>>
>>   Simon
>>
>>
>
> The non-distributed samples could stay with the current 
> o.a.t.embedded.host.SCADomain.
>
> The distributed samples need to move to a cleaner API.
>
> I made a proposal for a smaller and cleaner API for use in the 
> distributed samples there:
> http://svn.apache.org/repos/asf/incubator/tuscany/branches/sca-java-1.0/modules/node-api/src/main/java/org/apache/tuscany/sca/node/smaller/ 
>
>
> However, I'm not too happy about having two different APIs for 
> non-distributed and distributed...
>
> Another option would be to port the distributed samples to the 
> existing o.a.t.embedded.host.SCADomain, hook the existing SCADomain 
> with the distributed Node support, and introduce the Node API only 
> post 1.0.
>
> -- 
> Jean-Sebastien
>

More thoughts, trying to cleanup the calculator-distributed API usage 
while minimizing changes and impact on everything else as time to cut 
1.0 RC2 is approaching :)

We could do the following:

- Keep o.a.t.sca.host.embedded.SCADomain unchanged.

- Copy it into a new o.a.t.sca.domain.SCADomain, in a small domain-api 
module which will only contains that class and only depend on the 
sca-api module. This becomes the API to use to leverage the distributed 
domain support.

- Add one parameter to one of the 
o.a.t.sca.domain.SCADomain.newInstance() methods to take an additional 
nodeURI parameter (as it's needed by nodes to tell the distributed 
domain where they are).

- Move the SCANode interface and its friends to module node and we can 
probably remove the node-api for now.

- Port the calculator-distributed sample to o.a.t.sca.domain.SCADomain.

Thoughts?

--
Jean-Sebastien


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


Re: SCA 1.0 RC1 artifacts available for review

Posted by Jean-Sebastien Delfino <js...@gmail.com>.
Simon Nash wrote:
>
> Simon Laws wrote:
>
>> On 9/16/07, ant elder <an...@apache.org> wrote:
>>
>>> On 9/16/07, Simon Laws <si...@googlemail.com> wrote:
>>>
>>> <snip>
>>>
>>> A question though is should we flip the samples over to use NodeImpl
>>> instead
>>>
>>>> of SCAdomain?
>>>
>>>
>>> To save digging around in the code / ML, what is the new way exactly?
>>> Currently things do:
>>>
>>>   org.apache.tuscany.sca.host.embedded.SCADomain.newInstance("
>>> helloworldws.composite");
>>>
>>> what is the new replacement approach?
>>>
>>>   ...ant
>>
>>
>>
>>
>>  org.apache.tuscany.sca.node.impl.NodeImpl node = new SCANodeImpl();
>>  node.start();
>>  node.getContributionManager().startContribution(The URL to your
>> contribution);
>>
>> For example, for test purposes the URL could be:
>>
>> SCANodeUtil.findContributionFromComposite(???.class.getClassLoader(),"
>> helloworldws.composite"));
>>
>> So it's more lines but removes some of the mystery about where the
>> contributions are found.
>>
>> Simon
>>
> I don't like this at all.  Is there a problem with staying with
> what we currently have until we can design a clean replacement API?
>
>   Simon
>
>

The non-distributed samples could stay with the current 
o.a.t.embedded.host.SCADomain.

The distributed samples need to move to a cleaner API.

I made a proposal for a smaller and cleaner API for use in the 
distributed samples there:
http://svn.apache.org/repos/asf/incubator/tuscany/branches/sca-java-1.0/modules/node-api/src/main/java/org/apache/tuscany/sca/node/smaller/

However, I'm not too happy about having two different APIs for 
non-distributed and distributed...

Another option would be to port the distributed samples to the existing 
o.a.t.embedded.host.SCADomain, hook the existing SCADomain with the 
distributed Node support, and introduce the Node API only post 1.0.

--
Jean-Sebastien


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


Re: SCA 1.0 RC1 artifacts available for review

Posted by Simon Nash <na...@hursley.ibm.com>.
Simon Laws wrote:

> On 9/16/07, ant elder <an...@apache.org> wrote:
> 
>>On 9/16/07, Simon Laws <si...@googlemail.com> wrote:
>>
>><snip>
>>
>>A question though is should we flip the samples over to use NodeImpl
>>instead
>>
>>>of SCAdomain?
>>
>>
>>To save digging around in the code / ML, what is the new way exactly?
>>Currently things do:
>>
>>   org.apache.tuscany.sca.host.embedded.SCADomain.newInstance("
>>helloworldws.composite");
>>
>>what is the new replacement approach?
>>
>>   ...ant
> 
> 
> 
> 
>  org.apache.tuscany.sca.node.impl.NodeImpl node = new SCANodeImpl();
>  node.start();
>  node.getContributionManager().startContribution(The URL to your
> contribution);
> 
> For example, for test purposes the URL could be:
> 
> SCANodeUtil.findContributionFromComposite(???.class.getClassLoader(),"
> helloworldws.composite"));
> 
> So it's more lines but removes some of the mystery about where the
> contributions are found.
> 
> Simon
> 
I don't like this at all.  Is there a problem with staying with
what we currently have until we can design a clean replacement API?

   Simon


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


Re: SCA 1.0 RC1 artifacts available for review

Posted by Simon Laws <si...@googlemail.com>.
On 9/16/07, ant elder <an...@apache.org> wrote:
>
> On 9/16/07, Simon Laws <si...@googlemail.com> wrote:
>
> <snip>
>
> A question though is should we flip the samples over to use NodeImpl
> instead
> > of SCAdomain?
>
>
> To save digging around in the code / ML, what is the new way exactly?
> Currently things do:
>
>    org.apache.tuscany.sca.host.embedded.SCADomain.newInstance("
> helloworldws.composite");
>
> what is the new replacement approach?
>
>    ...ant



 org.apache.tuscany.sca.node.impl.NodeImpl node = new SCANodeImpl();
 node.start();
 node.getContributionManager().startContribution(The URL to your
contribution);

For example, for test purposes the URL could be:

SCANodeUtil.findContributionFromComposite(???.class.getClassLoader(),"
helloworldws.composite"));

So it's more lines but removes some of the mystery about where the
contributions are found.

Simon

Re: SCA 1.0 RC1 artifacts available for review

Posted by ant elder <an...@apache.org>.
On 9/16/07, Simon Laws <si...@googlemail.com> wrote:

<snip>

A question though is should we flip the samples over to use NodeImpl instead
> of SCAdomain?


To save digging around in the code / ML, what is the new way exactly?
Currently things do:

   org.apache.tuscany.sca.host.embedded.SCADomain.newInstance("
helloworldws.composite");

what is the new replacement approach?

   ...ant

Re: SCA 1.0 RC1 artifacts available for review

Posted by Simon Laws <si...@googlemail.com>.
On 9/16/07, Simon Laws <si...@googlemail.com> wrote:
>
>
>
> On 9/16/07, Simon Laws <si...@googlemail.com> wrote:
> >
> >
> >
> > On 9/16/07, ant elder < antelder@apache.org> wrote:
> > >
> > > On 9/16/07, Simon Laws <si...@googlemail.com> wrote:
> > >
> > > <snip>
> > >
> > > I'm also still getting BPEL and OSGi failures in the branch build.
> > >
> > >
> > > Could you paste in the log of the OSGi failures you get?
> > >
> > >    ...ant
> > >
> >
> > yep, will do. Just building again now
> >
> > Simon
> >
> Here's a flavour of what I see...
>
>
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running supplychain.properties.Properties2TestCase
> ERROR: org.apache.felix.framework.cache.BundleCache: Error creating
> archive. (ja
> va.io.FileNotFoundException: C:\simon\tuscany\sca-
> java-1.0\itest\osgi-implementa
> tion\.felix\bundle1\version0.0\revision.location (The system cannot find
> the fil
> e specified.))
> java.io.FileNotFoundException: C:\simon\tuscany\sca-
> java-1.0\itest\osgi-implemen
> tation\.felix\bundle1\version0.0\revision.location (The system cannot find
> the f
> ile specified.)
>         at java.io.FileInputStream .<init>(FileInputStream.java:135)
>         at org.apache.felix.framework.util.SecureAction.getFileInputStream
> (Secur
> eAction.java:338)
>         at
> org.apache.felix.framework.cache.BundleArchive.getRevisionLocation (Bu
> ndleArchive.java:775)
>         at org.apache.felix.framework.cache.BundleArchive.<init>(
> BundleArchive.j
> ava:201)
>         at org.apache.felix.framework.cache.BundleCache.initialize(
> BundleCache.j
> ava:332)
>         at org.apache.felix.framework.cache.BundleCache.<init>(
> BundleCache.java:
> 95)
>         at org.apache.felix.framework.Felix.start(Felix.java:582)
>         at
> org.apache.tuscany.sca.implementation.osgi.runtime.FelixRuntime.start
> Runtime(FelixRuntime.java:101)
>         at
> org.apache.tuscany.sca.implementation.osgi.runtime.FelixRuntime.getIn
> stance(FelixRuntime.java:45)
>         at
> org.apache.tuscany.sca.implementation.osgi.runtime.OSGiRuntime.getRun
> time(OSGiRuntime.java:70)
>         at
> org.apache.tuscany.sca.implementation.osgi.invocation.OSGiImplementat
> ionProvider.getBundleContext(OSGiImplementationProvider.java:177)
>
> Simon
>
I just rebooted my box. This has got rid of the FileNotFoundException and
leaves my with another problem (see below). The first part is a little
worrying as it would seem that file handles are being held open (or maybe it
was just the state of my box not having rebooted for a week or so). The
remaining error, rather annoyingly, doesn't appear when the test is run from
Eclipse.

Simon

Running helloworld.HelloWorldTestCase
16-Sep-2007 16:45:19 org.apache.tuscany.sca.http.jetty.JettyServeraddServletMap
ping
INFO: Added Servlet mapping:
http://localhost:8080/services/HelloWorldWebService

-> Started OsgiHelloWorldImpl bundle
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 12.485 sec
<<< F
AILURE!
testHelloWorld(helloworld.HelloWorldTestCase)  Time elapsed: 12.469 sec  <<<
ERR
OR!
java.lang.reflect.UndeclaredThrowableException
        at $Proxy41.getGreetings(Unknown Source)
        at helloworld.OSGiHelloWorldImpl.getGreetings(
OSGiHelloWorldImpl.java:39
)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.
java:64)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAcces
sorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:615)
        at
org.apache.tuscany.sca.implementation.osgi.invocation.OSGiTargetInvok
er.invokeMethod(OSGiTargetInvoker.java:130)
        at
org.apache.tuscany.sca.implementation.osgi.invocation.OSGiRemotableIn
voker.invokeMethod(OSGiRemotableInvoker.java:75)
        at
org.apache.tuscany.sca.implementation.osgi.invocation.OSGiTargetInvok
er.invokeTarget(OSGiTargetInvoker.java:106)
        at
org.apache.tuscany.sca.implementation.osgi.invocation.OSGiTargetInvok
er.invoke(OSGiTargetInvoker.java:147)
        at
org.apache.tuscany.sca.core.databinding.wire.PassByValueInteceptor.in
voke(PassByValueInteceptor.java:49)
        at
org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JD
KInvocationHandler.java:233)
        at
org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JD
KInvocationHandler.java:130)
        at $Proxy40.getGreetings(Unknown Source)
        at helloworld.HelloWorldTestCase.testHelloWorld(
HelloWorldTestCase.java:
49)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.
java:64)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAcces
sorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:615)
        at junit.framework.TestCase.runTest(TestCase.java:168)
        at junit.framework.TestCase.runBare(TestCase.java:134)
        at junit.framework.TestResult$1.protect(TestResult.java:110)
        at junit.framework.TestResult.runProtected(TestResult.java:128)
        at junit.framework.TestResult.run(TestResult.java:113)
        at junit.framework.TestCase.run(TestCase.java:124)
        at junit.framework.TestSuite.runTest(TestSuite.java:232)
        at junit.framework.TestSuite.run(TestSuite.java:227)
        at org.junit.internal.runners.OldTestClassRunner.run
(OldTestClassRunner.
java:35)
        at org.apache.maven.surefire.junit4.JUnit4TestSet.execute
(JUnit4TestSet.
java:62)
        at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTes
tSet(AbstractDirectoryTestSuite.java:138)
        at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(Ab
stractDirectoryTestSuite.java:125)
        at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.
java:64)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAcces
sorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:615)
        at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Su
refireBooter.java:290)
        at org.apache.maven.surefire.booter.SurefireBooter.main(
SurefireBooter.j
ava:818)
Caused by: org.apache.axis2.AxisFault: The input stream for an incoming
message
is null.
        at org.apache.axis2.transport.TransportUtils.createSOAPMessage
(Transport
Utils.java:71)
        at
org.apache.axis2.description.OutInAxisOperationClient.handleResponse(
OutInAxisOperation.java:326)
        at org.apache.axis2.description.OutInAxisOperationClient.send
(OutInAxisO
peration.java:389)
        at org.apache.axis2.description.OutInAxisOperationClient.executeImpl
(Out
InAxisOperation.java:211)
        at org.apache.axis2.client.OperationClient.execute(
OperationClient.java:
163)
        at
org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invokeTar
get(Axis2BindingInvoker.java:101)
        at
org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invoke(Ax
is2BindingInvoker.java:76)
        at
org.apache.tuscany.sca.core.databinding.wire.DataTransformationIntece
ptor.invoke(DataTransformationInteceptor.java:73)
        at
org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JD
KInvocationHandler.java:233)
        at
org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JD
KInvocationHandler.java:130)
        ... 38 more

Re: SCA 1.0 RC1 artifacts available for review

Posted by Simon Laws <si...@googlemail.com>.
On 9/16/07, Simon Laws <si...@googlemail.com> wrote:
>
>
>
> On 9/16/07, ant elder <an...@apache.org> wrote:
> >
> > On 9/16/07, Simon Laws <si...@googlemail.com> wrote:
> >
> > <snip>
> >
> > I'm also still getting BPEL and OSGi failures in the branch build.
> >
> >
> > Could you paste in the log of the OSGi failures you get?
> >
> >    ...ant
> >
>
> yep, will do. Just building again now
>
> Simon
>
Here's a flavour of what I see...


-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running supplychain.properties.Properties2TestCase
ERROR: org.apache.felix.framework.cache.BundleCache: Error creating archive.
(ja
va.io.FileNotFoundException: C:\simon\tuscany\sca-
java-1.0\itest\osgi-implementa
tion\.felix\bundle1\version0.0\revision.location (The system cannot find the
fil
e specified.))
java.io.FileNotFoundException: C:\simon\tuscany\sca-
java-1.0\itest\osgi-implemen
tation\.felix\bundle1\version0.0\revision.location (The system cannot find
the f
ile specified.)
        at java.io.FileInputStream.<init>(FileInputStream.java:135)
        at org.apache.felix.framework.util.SecureAction.getFileInputStream
(Secur
eAction.java:338)
        at
org.apache.felix.framework.cache.BundleArchive.getRevisionLocation(Bu
ndleArchive.java:775)
        at org.apache.felix.framework.cache.BundleArchive.<init>(
BundleArchive.j
ava:201)
        at org.apache.felix.framework.cache.BundleCache.initialize(
BundleCache.j
ava:332)
        at org.apache.felix.framework.cache.BundleCache.<init>(
BundleCache.java:
95)
        at org.apache.felix.framework.Felix.start(Felix.java:582)
        at
org.apache.tuscany.sca.implementation.osgi.runtime.FelixRuntime.start
Runtime(FelixRuntime.java:101)
        at
org.apache.tuscany.sca.implementation.osgi.runtime.FelixRuntime.getIn
stance(FelixRuntime.java:45)
        at
org.apache.tuscany.sca.implementation.osgi.runtime.OSGiRuntime.getRun
time(OSGiRuntime.java:70)
        at
org.apache.tuscany.sca.implementation.osgi.invocation.OSGiImplementat
ionProvider.getBundleContext(OSGiImplementationProvider.java:177)

Simon

Re: SCA 1.0 RC1 artifacts available for review

Posted by Simon Laws <si...@googlemail.com>.
On 9/16/07, ant elder <an...@apache.org> wrote:
>
> On 9/16/07, Simon Laws <si...@googlemail.com> wrote:
>
> <snip>
>
> I'm also still getting BPEL and OSGi failures in the branch build.
>
>
> Could you paste in the log of the OSGi failures you get?
>
>    ...ant
>

yep, will do. Just building again now

Simon

Re: SCA 1.0 RC1 artifacts available for review

Posted by ant elder <an...@apache.org>.
On 9/16/07, Simon Laws <si...@googlemail.com> wrote:

<snip>

I'm also still getting BPEL and OSGi failures in the branch build.


Could you paste in the log of the OSGi failures you get?

   ...ant

Re: SCA 1.0 RC1 artifacts available for review

Posted by Simon Laws <si...@googlemail.com>.
On 9/16/07, ant elder <an...@gmail.com> wrote:
>
> Guys, there's a *lot* of development and code changes still going on in
> the
> 1.0 branch but hardly any sample and doc fixes happening . I know everyone
> wants to get their last minute fixes in but there will be other releases
> after 1.0 . If we don't review and fix the samples, build scripts and doc
> then the RC2 on Monday is just going to be a duff one and we'll slip the
> release another 3 days.
>
>    ...ant
>
> On 9/15/07, ant elder <an...@gmail.com> wrote:
> >
> > There's also now an RC1a with the changes since yesterday at:
> > http://people.apache.org/~antelder/tuscany/1.0-RC1a/<
> http://people.apache.org/%7Eantelder/tuscany/1.0-RC1/>
> >
> >    ...ant
> >
> > On 9/14/07, ant elder < ant.elder@gmail.com > wrote:
> > >
> > > The 1.0 RC1 tag has been taken and is available for checking out and
> > > building:
> https://svn.apache.org/repos/asf/incubator/tuscany/tags/java/sca/1.0-incubating/
> > >
> > >
> > > If you don't want to build it yourself the distributions are up
> loading
> > > to: http://people.apache.org/~antelder/tuscany/1.0-RC1/<
> http://people.apache.org/%7Eantelder/tuscany/1.0-RC1/>
> > >
> > > And the maven artifacts will be uploaded to:
> > > http://people.apache.org/~antelder/tuscany/1.0-RC1/maven/<
> http://people.apache.org/%7Eantelder/tuscany/1.0-RC1/maven/>
> > >
> > > The Windows distribution is up, at the current speed it will be
> another
> > > couple of hours till everything is up including all the maven
> artifacts.
> > >
> > > I wont call a vote on this RC as we know its not quite perfect yet,
> > > please review and fix any issues or raises jira's for problems you
> find.
> > > I'll create an RC2 late Monday morning GMT and call a vote on
> releasing that
> > > unless there are critical or blocker defects still open against 1.0.
> At
> > > that time any non critical or blocker JIRA's still open will be
> deferred to
> > > Java-SCA-Next.
> > >
> > >    ...ant
> > >
> >
> >
>
Ant, I've still got a couple of fixes to make before I start going through
all the samples and fixing things etc.

A question though is should we flip the samples over to use NodeImpl instead
of SCAdomain?

I was looking earlier today at flipping the web apps over. I have the code
but I've bottled out as it's that much harder to test that any changes to
webapp samples have worked.

I'm also still getting BPEL and OSGi failures in the branch build.

Simon

Re: SCA 1.0 RC1 artifacts available for review

Posted by ant elder <an...@gmail.com>.
Guys, there's a *lot* of development and code changes still going on in the
1.0 branch but hardly any sample and doc fixes happening . I know everyone
wants to get their last minute fixes in but there will be other releases
after 1.0 . If we don't review and fix the samples, build scripts and doc
then the RC2 on Monday is just going to be a duff one and we'll slip the
release another 3 days.

   ...ant

On 9/15/07, ant elder <an...@gmail.com> wrote:
>
> There's also now an RC1a with the changes since yesterday at:
> http://people.apache.org/~antelder/tuscany/1.0-RC1a/<http://people.apache.org/%7Eantelder/tuscany/1.0-RC1/>
>
>    ...ant
>
> On 9/14/07, ant elder < ant.elder@gmail.com > wrote:
> >
> > The 1.0 RC1 tag has been taken and is available for checking out and
> > building: https://svn.apache.org/repos/asf/incubator/tuscany/tags/java/sca/1.0-incubating/
> >
> >
> > If you don't want to build it yourself the distributions are up loading
> > to: http://people.apache.org/~antelder/tuscany/1.0-RC1/<http://people.apache.org/%7Eantelder/tuscany/1.0-RC1/>
> >
> > And the maven artifacts will be uploaded to:
> > http://people.apache.org/~antelder/tuscany/1.0-RC1/maven/<http://people.apache.org/%7Eantelder/tuscany/1.0-RC1/maven/>
> >
> > The Windows distribution is up, at the current speed it will be another
> > couple of hours till everything is up including all the maven artifacts.
> >
> > I wont call a vote on this RC as we know its not quite perfect yet,
> > please review and fix any issues or raises jira's for problems you find.
> > I'll create an RC2 late Monday morning GMT and call a vote on releasing that
> > unless there are critical or blocker defects still open against 1.0. At
> > that time any non critical or blocker JIRA's still open will be deferred to
> > Java-SCA-Next.
> >
> >    ...ant
> >
>
>

Re: SCA 1.0 RC1 artifacts available for review

Posted by ant elder <an...@gmail.com>.
And now a 1.0 RC1b at:
http://people.apache.org/~antelder/tuscany/1.0-RC1b<http://people.apache.org/%7Eantelder/tuscany/1.0-RC1/>

(thats still uploading)

And a tag if you want to try checking out and building yourself:
https://svn.apache.org/repos/asf/incubator/tuscany/tags/java/sca/1.0-RC1b/

This should now be fairly close to what the final 1.0 release will be,
please review and raise JIRAs for issues here:
http://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=true&mode=hide&sorter/order=DESC&sorter/field=priority&resolution=-1&pid=12310210&fixfor=12312698

Thanks,

   ...ant

On 9/15/07, ant elder <an...@gmail.com> wrote:
>
> There's also now an RC1a with the changes since yesterday at:
> http://people.apache.org/~antelder/tuscany/1.0-RC1a/<http://people.apache.org/%7Eantelder/tuscany/1.0-RC1/>
>
>    ...ant
>
> On 9/14/07, ant elder <ant.elder@gmail.com > wrote:
> >
> > The 1.0 RC1 tag has been taken and is available for checking out and
> > building: https://svn.apache.org/repos/asf/incubator/tuscany/tags/java/sca/1.0-incubating/
> >
> >
> > If you don't want to build it yourself the distributions are up loading
> > to: http://people.apache.org/~antelder/tuscany/1.0-RC1/<http://people.apache.org/%7Eantelder/tuscany/1.0-RC1/>
> >
> > And the maven artifacts will be uploaded to:
> > http://people.apache.org/~antelder/tuscany/1.0-RC1/maven/<http://people.apache.org/%7Eantelder/tuscany/1.0-RC1/maven/>
> >
> > The Windows distribution is up, at the current speed it will be another
> > couple of hours till everything is up including all the maven artifacts.
> >
> > I wont call a vote on this RC as we know its not quite perfect yet,
> > please review and fix any issues or raises jira's for problems you find.
> > I'll create an RC2 late Monday morning GMT and call a vote on releasing that
> > unless there are critical or blocker defects still open against 1.0. At
> > that time any non critical or blocker JIRA's still open will be deferred to
> > Java-SCA-Next.
> >
> >    ...ant
> >
>
>

Re: SCA 1.0 RC1 artifacts available for review

Posted by ant elder <an...@gmail.com>.
There's also now an RC1a with the changes since yesterday at:
http://people.apache.org/~antelder/tuscany/1.0-RC1a/<http://people.apache.org/%7Eantelder/tuscany/1.0-RC1/>

   ...ant

On 9/14/07, ant elder <an...@gmail.com> wrote:
>
> The 1.0 RC1 tag has been taken and is available for checking out and
> building: https://svn.apache.org/repos/asf/incubator/tuscany/tags/java/sca/1.0-incubating/
>
>
> If you don't want to build it yourself the distributions are up loading
> to: http://people.apache.org/~antelder/tuscany/1.0-RC1/<http://people.apache.org/%7Eantelder/tuscany/1.0-RC1/>
>
> And the maven artifacts will be uploaded to:
> http://people.apache.org/~antelder/tuscany/1.0-RC1/maven/<http://people.apache.org/%7Eantelder/tuscany/1.0-RC1/maven/>
>
> The Windows distribution is up, at the current speed it will be another
> couple of hours till everything is up including all the maven artifacts.
>
> I wont call a vote on this RC as we know its not quite perfect yet, please
> review and fix any issues or raises jira's for problems you find. I'll
> create an RC2 late Monday morning GMT and call a vote on releasing that
> unless there are critical or blocker defects still open against 1.0. At
> that time any non critical or blocker JIRA's still open will be deferred to
> Java-SCA-Next.
>
>    ...ant
>

Re: SCA 1.0 RC1 artifacts available for review

Posted by ant elder <an...@apache.org>.
Not yet, but there's a blocking JIRA so it will get done:
http://issues.apache.org/jira/browse/TUSCANY-1709. If you'd like to run it
that would be great.

   ...ant

On 9/15/07, Matthieu Riou <ma...@offthelip.org> wrote:
>
> Did anybody try RAT [1] (the tool the IPMC usually use to check releases)
> on
> it? Otherwise I can give it a try.
>
> Matthieu
>
> [1] http://code.google.com/p/arat/
>
> On 9/14/07, ant elder <an...@gmail.com> wrote:
> >
> > The 1.0 RC1 tag has been taken and is available for checking out and
> > building:
> >
> https://svn.apache.org/repos/asf/incubator/tuscany/tags/java/sca/1.0-incubating/
> >
> >
> > If you don't want to build it yourself the distributions are up loading
> > to:
> > http://people.apache.org/~antelder/tuscany/1.0-RC1/<
> > http://people.apache.org/%7Eantelder/tuscany/1.0-RC1/>
> >
> > And the maven artifacts will be uploaded to:
> > http://people.apache.org/~antelder/tuscany/1.0-RC1/maven/<
> > http://people.apache.org/%7Eantelder/tuscany/1.0-RC1/maven/>
> >
> > The Windows distribution is up, at the current speed it will be another
> > couple of hours till everything is up including all the maven artifacts.
> >
> > I wont call a vote on this RC as we know its not quite perfect yet,
> please
> > review and fix any issues or raises jira's for problems you find. I'll
> > create an RC2 late Monday morning GMT and call a vote on releasing that
> > unless there are critical or blocker defects still open against 1.0. At
> > that
> > time any non critical or blocker JIRA's still open will be deferred to
> > Java-SCA-Next.
> >
> >    ...ant
> >
>

Re: SCA 1.0 RC1 artifacts available for review

Posted by Matthieu Riou <ma...@offthelip.org>.
Did anybody try RAT [1] (the tool the IPMC usually use to check releases) on
it? Otherwise I can give it a try.

Matthieu

[1] http://code.google.com/p/arat/

On 9/14/07, ant elder <an...@gmail.com> wrote:
>
> The 1.0 RC1 tag has been taken and is available for checking out and
> building:
> https://svn.apache.org/repos/asf/incubator/tuscany/tags/java/sca/1.0-incubating/
>
>
> If you don't want to build it yourself the distributions are up loading
> to:
> http://people.apache.org/~antelder/tuscany/1.0-RC1/<
> http://people.apache.org/%7Eantelder/tuscany/1.0-RC1/>
>
> And the maven artifacts will be uploaded to:
> http://people.apache.org/~antelder/tuscany/1.0-RC1/maven/<
> http://people.apache.org/%7Eantelder/tuscany/1.0-RC1/maven/>
>
> The Windows distribution is up, at the current speed it will be another
> couple of hours till everything is up including all the maven artifacts.
>
> I wont call a vote on this RC as we know its not quite perfect yet, please
> review and fix any issues or raises jira's for problems you find. I'll
> create an RC2 late Monday morning GMT and call a vote on releasing that
> unless there are critical or blocker defects still open against 1.0. At
> that
> time any non critical or blocker JIRA's still open will be deferred to
> Java-SCA-Next.
>
>    ...ant
>

Re: SCA 1.0 RC1 artifacts available for review

Posted by ant elder <an...@gmail.com>.
On 9/14/07, ant elder <an...@gmail.com> wrote:
>
> The 1.0 RC1 tag has been taken and is available for checking out and
> building: https://svn.apache.org/repos/asf/incubator/tuscany/tags/java/sca/1.0-incubating/
>
>
> If you don't want to build it yourself the distributions are up loading
> to: http://people.apache.org/~antelder/tuscany/1.0-RC1/<http://people.apache.org/%7Eantelder/tuscany/1.0-RC1/>
>
> And the maven artifacts will be uploaded to:
> http://people.apache.org/~antelder/tuscany/1.0-RC1/maven/<http://people.apache.org/%7Eantelder/tuscany/1.0-RC1/maven/>
>
> The Windows distribution is up, at the current speed it will be another
> couple of hours till everything is up including all the maven artifacts.
>
> I wont call a vote on this RC as we know its not quite perfect yet, please
> review and fix any issues or raises jira's for problems you find. I'll
> create an RC2 late Monday morning GMT and call a vote on releasing that
> unless there are critical or blocker defects still open against 1.0. At
> that time any non critical or blocker JIRA's still open will be deferred to
> Java-SCA-Next.


I'd like to delay cutting RC2 till tomorrow morning now. There's been so
many changes over the last couple of days i think we need a bit of time to
review everything otherwise RC2 is just going to end up with issues and
we'll definitely need an RC3. I'll put up an RC1b now with the current state
of things now and hope people can review that and fix any last minute
issues. Please try to keep changes to a minimum with mainly doco and readme
type fixes. For significant code changes please ask first.

   ...ant

Re: SCA 1.0 RC1 artifacts available for review

Posted by haleh mahbod <hm...@gmail.com>.
a quick update before I stop for today..
I ran the following samples and demos and they work fine with my
configuration: Windows xp, JDK 1.5, mvn 2.04, tomcat 6.0.14
Samples:
- calculator
- calculator-script
- calculator-webapp
- calculator-ws-webapp
demos:
-mortgage-account
-bigbank

Cheers,
Haleh

On 9/15/07, haleh mahbod <hm...@gmail.com> wrote:
>
> Thanks. that fixed it.
>
> On 9/15/07, ant elder <an...@apache.org> wrote:
> >
> > The samples in the binary distribution wont build with mvn till we
> > actually
> > release and the artifacts get published to the live maven repository. To
> > test things now you can bypass this by setting up a mirror pointing to
> > the
> > release candidate maven repository. You do that by adding the following
> > to
> > your maven settings.xml file:
> >
> >    <mirrors>
> >     <mirror>
> >       <id>ant.staging</id>
> >       <url> http://people.apache.org/~antelder/tuscany/1.0-RC1a/maven<http://people.apache.org/%7Eantelder/tuscany/1.0-RC1a/maven>
> > </url>
> >       <mirrorOf>apache.incubator</mirrorOf>
> >     </mirror>
> >
> > The settings.xml is in a .m2 folder in your home directory, eg mines at:
> > "C:\Documents and Settings\Administrator\.m2". If you don't have one
> > then
> > we've an example at:
> > https://svn.apache.org/repos/asf/incubator/tuscany/java/etc/settings.xml
> >
> >   ...ant
> >
> > On 9/15/07, haleh mahbod <hm...@gmail.com> wrote:
> > >
> > > I am using mvn 2.04.
> > > I ran calculator sample and ant works fine. I get a fatal error with
> > mvn
> > > build. This used to work before for me.
> > >
> > > C:\tuscany-new\sca-dist\tuscany-sca-1.0-incubating\samples\calculator>mvn
> >
> > > [INFO] Scanning for projects...
> > > Downloading:
> > > http://people.apache.org/repo/m2-incubating-repository/org/apache/t
> > > uscany/sca/tuscany-sca/1.0-incubating/tuscany-sca-1.0-incubating.pom
> > > [WARNING] Unable to get resource from repository apache.incubator (
> > > http://people
> > > .apache.org/repo/m2-incubating-repository)
> > > Downloading:
> > > http://www.ibiblio.net/pub/packages/maven2/org/apache/tuscany/sca/t
> > > uscany-sca/1.0-incubating/tuscany- sca-1.0-incubating.pom
> > > [WARNING] Unable to get resource from repository central (
> > > http://repo1.maven.org
> > > /maven2)
> > > [INFO]
> > >
> > ------------------------------------------------------------------------
> > > [ERROR] FATAL ERROR
> > > [INFO]
> > >
> > ------------------------------------------------------------------------
> > > [INFO] Failed to resolve artifact.
> > >
> > > GroupId: org.apache.tuscany.sca
> > > ArtifactId: tuscany-sca
> > > Version: 1.0-incubating
> > >
> > > Reason: Unable to download the artifact from any repository
> > >
> > >   org.apache.tuscany.sca:tuscany-sca:pom:1.0-incubating
> > >
> > > from the specified remote repositories:
> > >   central (http://repo1.maven.org/maven2),
> > >   apache.incubator (http://people.apache.org/repo/m2-incubating-repository
> >
> > > )
> > >
> > >
> > > [INFO]
> > >
> > ------------------------------------------------------------------------
> > > [INFO] Trace
> > > org.apache.maven.reactor.MavenExecutionException: Cannot find parent:
> > > org.apache
> > > .tuscany.sca:tuscany-sca for project: null:sample-calculator:jar:null
> > >         at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java
> > > :365)
> > >         at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java
> > :278)
> > >         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java
> > :115)
> > >         at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
> > >         at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native
> > Method)
> > >         at sun.reflect.NativeMethodAccessorImpl.invoke
> > > (NativeMethodAccessorImpl.
> > > java:39)
> > >         at sun.reflect.DelegatingMethodAccessorImpl.invoke
> > > (DelegatingMethodAcces
> > > sorImpl.java:25)
> > >         at java.lang.reflect.Method.invoke(Method.java:585)
> > >         at org.codehaus.classworlds.Launcher.launchEnhanced(
> > Launcher.java
> > > :315)
> > >         at org.codehaus.classworlds.Launcher.launch (Launcher.java
> > :255)
> > >         at org.codehaus.classworlds.Launcher.mainWithExitCode(
> > > Launcher.java
> > > :430)
> > >
> > >         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> > > Caused by: org.apache.maven.project.ProjectBuildingException: Cannot
> > find
> > > parent
> > > : org.apache.tuscany.sca:tuscany-sca for project:
> > > null:sample-calculator:jar:nul
> > > l
> > >         at
> > > org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage (D
> > > efaultMavenProjectBuilder.java:1161)
> > >         at
> > > org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal
> > > (Def
> > > aultMavenProjectBuilder.java:674)
> > >         at
> > > org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFi
> > > leInternal(DefaultMavenProjectBuilder.java:416)
> > >         at org.apache.maven.project.DefaultMavenProjectBuilder.build
> > > (DefaultMave
> > > nProjectBuilder.java:192)
> > >         at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java
> > :515)
> > >         at org.apache.maven.DefaultMaven.collectProjects(
> > DefaultMaven.java
> > > :447)
> > >         at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java
> > > :351)
> > >         ... 11 more
> > > Caused by: org.apache.maven.project.ProjectBuildingException: POM '
> > > org.apache.tu
> > > scany.sca:tuscany-sca ' not found in repository: Unable to download
> > the
> > > artifact
> > > from any repository
> > >
> > >   org.apache.tuscany.sca:tuscany-sca:pom:1.0-incubating
> > >
> > > from the specified remote repositories:
> > >   central (http://repo1.maven.org/maven2),
> > >   apache.incubator (http://people.apache.org/repo/m2-incubating-repository
> >
> > > )
> > >
> > >         at
> > > org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepo
> > > sitory(DefaultMavenProjectBuilder.java:513)
> > >         at
> > > org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage (D
> > > efaultMavenProjectBuilder.java:1157)
> > >         ... 17 more
> > > Caused by:
> > org.apache.maven.artifact.resolver.ArtifactNotFoundException:
> > > Unable
> > > to download the artifact from any repository
> > >
> > >   org.apache.tuscany.sca:tuscany-sca:pom:1.0-incubating
> > >
> > > from the specified remote repositories:
> > >   central (http://repo1.maven.org/maven2 ),
> > >   apache.incubator (
> > http://people.apache.org/repo/m2-incubating-repository
> > > )
> > >
> > >         at
> > > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve (De
> > > faultArtifactResolver.java:136)
> > >         at
> > > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De
> > > faultArtifactResolver.java:63)
> > >         at
> > > org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepo
> > > sitory(DefaultMavenProjectBuilder.java:467)
> > >         ... 18 more
> > > Caused by: org.apache.maven.wagon.ResourceDoesNotExistException:
> > Unable to
> > > downl
> > > oad the artifact from any repository
> > >         at
> > > org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact
> > > (Def
> > > aultWagonManager.java:260)
> > >         at
> > > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve (De
> > > faultArtifactResolver.java:124)
> > >         ... 20 more
> > > [INFO]
> > >
> > ------------------------------------------------------------------------
> > > [INFO] Total time: 26 seconds
> > > [INFO] Finished at: Sat Sep 15 14:33:16 PDT 2007
> > > [INFO] Final Memory: 1M/2M
> > > [INFO]
> > >
> > ------------------------------------------------------------------------
> > >
> > > C:\tuscany-new\sca-dist\tuscany-sca-1.0-incubating\samples\calculator>
> > mvn
> > > -ver
> > > Maven version: 2.0.4
> > >
> > > C:\tuscany-new\sca-dist\tuscany-sca-1.0-incubating\samples\calculator>
> > >
> > > On 9/15/07, ant elder <ant.elder@gmail.com > wrote:
> > > >
> > > > On 9/15/07, Giorgio Zoppi <gi...@gmail.com> wrote:
> > > > >
> > > > > ant elder ha scritto:
> > > > > > Thanks for noticing. Not sure how that happened as as i used a
> > tool
> > > to
> > > > > do
> > > > > > the global change.
> > > > > >
> > > > > >    ...ant
> > > > > >
> > > > > >
> > > > > ant, i've tried to compile it on Linux/JDK1.5 but when it starts
> > > > > Calculator sample test,
> > > > > i got a NPE.
> > > >
> > > >
> > > > Thanks for testing, could you try again with the latest RC1a at
> > > > http://people.apache.org/~antelder/tuscany/1.0-RC1a/<http://people.apache.org/%7Eantelder/tuscany/1.0-RC1a/>
> > <
> > > > http://people.apache.org/%7Eantelder/tuscany/1.0-RC1/>?
> > > >
> > > >    ...ant
> > > >
> > >
> >
>
>

Re: SCA 1.0 RC1 artifacts available for review

Posted by haleh mahbod <hm...@gmail.com>.
Thanks. that fixed it.

On 9/15/07, ant elder <an...@apache.org> wrote:
>
> The samples in the binary distribution wont build with mvn till we
> actually
> release and the artifacts get published to the live maven repository. To
> test things now you can bypass this by setting up a mirror pointing to the
> release candidate maven repository. You do that by adding the following to
> your maven settings.xml file:
>
>    <mirrors>
>     <mirror>
>       <id>ant.staging</id>
>       <url>http://people.apache.org/~antelder/tuscany/1.0-RC1a/maven</url>
>       <mirrorOf>apache.incubator</mirrorOf>
>     </mirror>
>
> The settings.xml is in a .m2 folder in your home directory, eg mines at:
> "C:\Documents and Settings\Administrator\.m2". If you don't have one then
> we've an example at:
> https://svn.apache.org/repos/asf/incubator/tuscany/java/etc/settings.xml
>
>   ...ant
>
> On 9/15/07, haleh mahbod <hm...@gmail.com> wrote:
> >
> > I am using mvn 2.04.
> > I ran calculator sample and ant works fine. I get a fatal error with mvn
> > build. This used to work before for me.
> >
> > C:\tuscany-new\sca-dist\tuscany-sca-1.0-incubating\samples\calculator
> >mvn
> > [INFO] Scanning for projects...
> > Downloading:
> > http://people.apache.org/repo/m2-incubating-repository/org/apache/t
> > uscany/sca/tuscany-sca/1.0-incubating/tuscany-sca-1.0-incubating.pom
> > [WARNING] Unable to get resource from repository apache.incubator (
> > http://people
> > .apache.org/repo/m2-incubating-repository)
> > Downloading:
> > http://www.ibiblio.net/pub/packages/maven2/org/apache/tuscany/sca/t
> > uscany-sca/1.0-incubating/tuscany-sca-1.0-incubating.pom
> > [WARNING] Unable to get resource from repository central (
> > http://repo1.maven.org
> > /maven2)
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] FATAL ERROR
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Failed to resolve artifact.
> >
> > GroupId: org.apache.tuscany.sca
> > ArtifactId: tuscany-sca
> > Version: 1.0-incubating
> >
> > Reason: Unable to download the artifact from any repository
> >
> >   org.apache.tuscany.sca:tuscany-sca:pom:1.0-incubating
> >
> > from the specified remote repositories:
> >   central (http://repo1.maven.org/maven2),
> >   apache.incubator (
> http://people.apache.org/repo/m2-incubating-repository
> > )
> >
> >
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Trace
> > org.apache.maven.reactor.MavenExecutionException: Cannot find parent:
> > org.apache
> > .tuscany.sca:tuscany-sca for project: null:sample-calculator:jar:null
> >         at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java
> > :365)
> >         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java
> :278)
> >         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
> >         at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
> >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >         at sun.reflect.NativeMethodAccessorImpl.invoke
> > (NativeMethodAccessorImpl.
> > java:39)
> >         at sun.reflect.DelegatingMethodAccessorImpl.invoke
> > (DelegatingMethodAcces
> > sorImpl.java:25)
> >         at java.lang.reflect.Method.invoke(Method.java:585)
> >         at org.codehaus.classworlds.Launcher.launchEnhanced(
> Launcher.java
> > :315)
> >         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> >         at org.codehaus.classworlds.Launcher.mainWithExitCode(
> > Launcher.java
> > :430)
> >
> >         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> > Caused by: org.apache.maven.project.ProjectBuildingException: Cannot
> find
> > parent
> > : org.apache.tuscany.sca:tuscany-sca for project:
> > null:sample-calculator:jar:nul
> > l
> >         at
> > org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(D
> > efaultMavenProjectBuilder.java:1161)
> >         at
> > org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal
> > (Def
> > aultMavenProjectBuilder.java:674)
> >         at
> > org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFi
> > leInternal(DefaultMavenProjectBuilder.java:416)
> >         at org.apache.maven.project.DefaultMavenProjectBuilder.build
> > (DefaultMave
> > nProjectBuilder.java:192)
> >         at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java
> :515)
> >         at org.apache.maven.DefaultMaven.collectProjects(
> DefaultMaven.java
> > :447)
> >         at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java
> > :351)
> >         ... 11 more
> > Caused by: org.apache.maven.project.ProjectBuildingException: POM '
> > org.apache.tu
> > scany.sca:tuscany-sca' not found in repository: Unable to download the
> > artifact
> > from any repository
> >
> >   org.apache.tuscany.sca:tuscany-sca:pom:1.0-incubating
> >
> > from the specified remote repositories:
> >   central (http://repo1.maven.org/maven2),
> >   apache.incubator (
> http://people.apache.org/repo/m2-incubating-repository
> > )
> >
> >         at
> > org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepo
> > sitory(DefaultMavenProjectBuilder.java:513)
> >         at
> > org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(D
> > efaultMavenProjectBuilder.java:1157)
> >         ... 17 more
> > Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException:
> > Unable
> > to download the artifact from any repository
> >
> >   org.apache.tuscany.sca:tuscany-sca:pom:1.0-incubating
> >
> > from the specified remote repositories:
> >   central (http://repo1.maven.org/maven2),
> >   apache.incubator (
> http://people.apache.org/repo/m2-incubating-repository
> > )
> >
> >         at
> > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De
> > faultArtifactResolver.java:136)
> >         at
> > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De
> > faultArtifactResolver.java:63)
> >         at
> > org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepo
> > sitory(DefaultMavenProjectBuilder.java:467)
> >         ... 18 more
> > Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable
> to
> > downl
> > oad the artifact from any repository
> >         at
> > org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact
> > (Def
> > aultWagonManager.java:260)
> >         at
> > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De
> > faultArtifactResolver.java:124)
> >         ... 20 more
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 26 seconds
> > [INFO] Finished at: Sat Sep 15 14:33:16 PDT 2007
> > [INFO] Final Memory: 1M/2M
> > [INFO]
> > ------------------------------------------------------------------------
> >
> > C:\tuscany-new\sca-dist\tuscany-sca-1.0-incubating\samples\calculator>
> mvn
> > -ver
> > Maven version: 2.0.4
> >
> > C:\tuscany-new\sca-dist\tuscany-sca-1.0-incubating\samples\calculator>
> >
> > On 9/15/07, ant elder <an...@gmail.com> wrote:
> > >
> > > On 9/15/07, Giorgio Zoppi <gi...@gmail.com> wrote:
> > > >
> > > > ant elder ha scritto:
> > > > > Thanks for noticing. Not sure how that happened as as i used a
> tool
> > to
> > > > do
> > > > > the global change.
> > > > >
> > > > >    ...ant
> > > > >
> > > > >
> > > > ant, i've tried to compile it on Linux/JDK1.5 but when it starts
> > > > Calculator sample test,
> > > > i got a NPE.
> > >
> > >
> > > Thanks for testing, could you try again with the latest RC1a at
> > > http://people.apache.org/~antelder/tuscany/1.0-RC1a/<
> > > http://people.apache.org/%7Eantelder/tuscany/1.0-RC1/>?
> > >
> > >    ...ant
> > >
> >
>

Re: SCA 1.0 RC1 artifacts available for review

Posted by ant elder <an...@apache.org>.
The samples in the binary distribution wont build with mvn till we actually
release and the artifacts get published to the live maven repository. To
test things now you can bypass this by setting up a mirror pointing to the
release candidate maven repository. You do that by adding the following to
your maven settings.xml file:

   <mirrors>
    <mirror>
      <id>ant.staging</id>
      <url>http://people.apache.org/~antelder/tuscany/1.0-RC1a/maven</url>
      <mirrorOf>apache.incubator</mirrorOf>
    </mirror>

The settings.xml is in a .m2 folder in your home directory, eg mines at:
"C:\Documents and Settings\Administrator\.m2". If you don't have one then
we've an example at:
https://svn.apache.org/repos/asf/incubator/tuscany/java/etc/settings.xml

  ...ant

On 9/15/07, haleh mahbod <hm...@gmail.com> wrote:
>
> I am using mvn 2.04.
> I ran calculator sample and ant works fine. I get a fatal error with mvn
> build. This used to work before for me.
>
> C:\tuscany-new\sca-dist\tuscany-sca-1.0-incubating\samples\calculator>mvn
> [INFO] Scanning for projects...
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/apache/t
> uscany/sca/tuscany-sca/1.0-incubating/tuscany-sca-1.0-incubating.pom
> [WARNING] Unable to get resource from repository apache.incubator (
> http://people
> .apache.org/repo/m2-incubating-repository)
> Downloading:
> http://www.ibiblio.net/pub/packages/maven2/org/apache/tuscany/sca/t
> uscany-sca/1.0-incubating/tuscany-sca-1.0-incubating.pom
> [WARNING] Unable to get resource from repository central (
> http://repo1.maven.org
> /maven2)
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> GroupId: org.apache.tuscany.sca
> ArtifactId: tuscany-sca
> Version: 1.0-incubating
>
> Reason: Unable to download the artifact from any repository
>
>   org.apache.tuscany.sca:tuscany-sca:pom:1.0-incubating
>
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2),
>   apache.incubator (http://people.apache.org/repo/m2-incubating-repository
> )
>
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.reactor.MavenExecutionException: Cannot find parent:
> org.apache
> .tuscany.sca:tuscany-sca for project: null:sample-calculator:jar:null
>         at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java
> :365)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:278)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke
> (NativeMethodAccessorImpl.
> java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke
> (DelegatingMethodAcces
> sorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java
> :315)
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>         at org.codehaus.classworlds.Launcher.mainWithExitCode(
> Launcher.java
> :430)
>
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.maven.project.ProjectBuildingException: Cannot find
> parent
> : org.apache.tuscany.sca:tuscany-sca for project:
> null:sample-calculator:jar:nul
> l
>         at
> org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(D
> efaultMavenProjectBuilder.java:1161)
>         at
> org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal
> (Def
> aultMavenProjectBuilder.java:674)
>         at
> org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFi
> leInternal(DefaultMavenProjectBuilder.java:416)
>         at org.apache.maven.project.DefaultMavenProjectBuilder.build
> (DefaultMave
> nProjectBuilder.java:192)
>         at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:515)
>         at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java
> :447)
>         at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java
> :351)
>         ... 11 more
> Caused by: org.apache.maven.project.ProjectBuildingException: POM '
> org.apache.tu
> scany.sca:tuscany-sca' not found in repository: Unable to download the
> artifact
> from any repository
>
>   org.apache.tuscany.sca:tuscany-sca:pom:1.0-incubating
>
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2),
>   apache.incubator (http://people.apache.org/repo/m2-incubating-repository
> )
>
>         at
> org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepo
> sitory(DefaultMavenProjectBuilder.java:513)
>         at
> org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(D
> efaultMavenProjectBuilder.java:1157)
>         ... 17 more
> Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException:
> Unable
> to download the artifact from any repository
>
>   org.apache.tuscany.sca:tuscany-sca:pom:1.0-incubating
>
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2),
>   apache.incubator (http://people.apache.org/repo/m2-incubating-repository
> )
>
>         at
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De
> faultArtifactResolver.java:136)
>         at
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De
> faultArtifactResolver.java:63)
>         at
> org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepo
> sitory(DefaultMavenProjectBuilder.java:467)
>         ... 18 more
> Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to
> downl
> oad the artifact from any repository
>         at
> org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact
> (Def
> aultWagonManager.java:260)
>         at
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De
> faultArtifactResolver.java:124)
>         ... 20 more
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 26 seconds
> [INFO] Finished at: Sat Sep 15 14:33:16 PDT 2007
> [INFO] Final Memory: 1M/2M
> [INFO]
> ------------------------------------------------------------------------
>
> C:\tuscany-new\sca-dist\tuscany-sca-1.0-incubating\samples\calculator> mvn
> -ver
> Maven version: 2.0.4
>
> C:\tuscany-new\sca-dist\tuscany-sca-1.0-incubating\samples\calculator>
>
> On 9/15/07, ant elder <an...@gmail.com> wrote:
> >
> > On 9/15/07, Giorgio Zoppi <gi...@gmail.com> wrote:
> > >
> > > ant elder ha scritto:
> > > > Thanks for noticing. Not sure how that happened as as i used a tool
> to
> > > do
> > > > the global change.
> > > >
> > > >    ...ant
> > > >
> > > >
> > > ant, i've tried to compile it on Linux/JDK1.5 but when it starts
> > > Calculator sample test,
> > > i got a NPE.
> >
> >
> > Thanks for testing, could you try again with the latest RC1a at
> > http://people.apache.org/~antelder/tuscany/1.0-RC1a/<
> > http://people.apache.org/%7Eantelder/tuscany/1.0-RC1/>?
> >
> >    ...ant
> >
>

Re: SCA 1.0 RC1 artifacts available for review

Posted by haleh mahbod <hm...@gmail.com>.
I am using mvn 2.04.
I ran calculator sample and ant works fine. I get a fatal error with mvn
build. This used to work before for me.

C:\tuscany-new\sca-dist\tuscany-sca-1.0-incubating\samples\calculator>mvn
[INFO] Scanning for projects...
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/t
uscany/sca/tuscany-sca/1.0-incubating/tuscany-sca-1.0-incubating.pom
[WARNING] Unable to get resource from repository apache.incubator (
http://people
.apache.org/repo/m2-incubating-repository)
Downloading:
http://www.ibiblio.net/pub/packages/maven2/org/apache/tuscany/sca/t
uscany-sca/1.0-incubating/tuscany-sca-1.0-incubating.pom
[WARNING] Unable to get resource from repository central (
http://repo1.maven.org
/maven2)
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

GroupId: org.apache.tuscany.sca
ArtifactId: tuscany-sca
Version: 1.0-incubating

Reason: Unable to download the artifact from any repository

  org.apache.tuscany.sca:tuscany-sca:pom:1.0-incubating

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  apache.incubator (http://people.apache.org/repo/m2-incubating-repository)


[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Cannot find parent:
org.apache
.tuscany.sca:tuscany-sca for project: null:sample-calculator:jar:null
        at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:365)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:278)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java
:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java
:430)

        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.project.ProjectBuildingException: Cannot find
parent
: org.apache.tuscany.sca:tuscany-sca for project:
null:sample-calculator:jar:nul
l
        at
org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(D
efaultMavenProjectBuilder.java:1161)
        at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal
(Def
aultMavenProjectBuilder.java:674)
        at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFi
leInternal(DefaultMavenProjectBuilder.java:416)
        at org.apache.maven.project.DefaultMavenProjectBuilder.build
(DefaultMave
nProjectBuilder.java:192)
        at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:515)
        at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java
:447)
        at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:351)
        ... 11 more
Caused by: org.apache.maven.project.ProjectBuildingException: POM '
org.apache.tu
scany.sca:tuscany-sca' not found in repository: Unable to download the
artifact
from any repository

  org.apache.tuscany.sca:tuscany-sca:pom:1.0-incubating

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  apache.incubator (http://people.apache.org/repo/m2-incubating-repository)

        at
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepo
sitory(DefaultMavenProjectBuilder.java:513)
        at
org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(D
efaultMavenProjectBuilder.java:1157)
        ... 17 more
Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException:
Unable
to download the artifact from any repository

  org.apache.tuscany.sca:tuscany-sca:pom:1.0-incubating

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  apache.incubator (http://people.apache.org/repo/m2-incubating-repository)

        at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De
faultArtifactResolver.java:136)
        at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De
faultArtifactResolver.java:63)
        at
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepo
sitory(DefaultMavenProjectBuilder.java:467)
        ... 18 more
Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to
downl
oad the artifact from any repository
        at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact
(Def
aultWagonManager.java:260)
        at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De
faultArtifactResolver.java:124)
        ... 20 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 26 seconds
[INFO] Finished at: Sat Sep 15 14:33:16 PDT 2007
[INFO] Final Memory: 1M/2M
[INFO]
------------------------------------------------------------------------

C:\tuscany-new\sca-dist\tuscany-sca-1.0-incubating\samples\calculator> mvn
-ver
Maven version: 2.0.4

C:\tuscany-new\sca-dist\tuscany-sca-1.0-incubating\samples\calculator>

On 9/15/07, ant elder <an...@gmail.com> wrote:
>
> On 9/15/07, Giorgio Zoppi <gi...@gmail.com> wrote:
> >
> > ant elder ha scritto:
> > > Thanks for noticing. Not sure how that happened as as i used a tool to
> > do
> > > the global change.
> > >
> > >    ...ant
> > >
> > >
> > ant, i've tried to compile it on Linux/JDK1.5 but when it starts
> > Calculator sample test,
> > i got a NPE.
>
>
> Thanks for testing, could you try again with the latest RC1a at
> http://people.apache.org/~antelder/tuscany/1.0-RC1a/<
> http://people.apache.org/%7Eantelder/tuscany/1.0-RC1/>?
>
>    ...ant
>

Re: SCA 1.0 RC1 artifacts available for review

Posted by ant elder <an...@gmail.com>.
On 9/15/07, Giorgio Zoppi <gi...@gmail.com> wrote:
>
> ant elder ha scritto:
> > Thanks for noticing. Not sure how that happened as as i used a tool to
> do
> > the global change.
> >
> >    ...ant
> >
> >
> ant, i've tried to compile it on Linux/JDK1.5 but when it starts
> Calculator sample test,
> i got a NPE.


Thanks for testing, could you try again with the latest RC1a at
http://people.apache.org/~antelder/tuscany/1.0-RC1a/<http://people.apache.org/%7Eantelder/tuscany/1.0-RC1/>?

   ...ant

Re: SCA 1.0 RC1 artifacts available for review

Posted by Giorgio Zoppi <gi...@gmail.com>.
ant elder ha scritto:
> Thanks for noticing. Not sure how that happened as as i used a tool to do
> the global change.
>
>    ...ant
>
>   
ant, i've tried to compile it on Linux/JDK1.5 but when it starts 
Calculator sample test,
i got a NPE.
giorgio@petrus:~/tuscany-1.0RC/1.0-incubating$ mvn
....

[INFO] 
----------------------------------------------------------------------------
[INFO] Building Apache Tuscany SCA Component Type Integration Tests
[INFO]    task-segment: [install]
[INFO] 
----------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 11 source files to 
/home/giorgio/tuscany-1.0RC/1.0-incubating/itest/component-type/target/classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Compiling 1 source file to 
/home/giorgio/tuscany-1.0RC/1.0-incubating/itest/component-type/target/test-classes
[INFO] [surefire:test]
[INFO] Surefire report directory: 
/home/giorgio/tuscany-1.0RC/1.0-incubating/itest/component-type/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running calculator.CalculatorTestCase
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.962 
sec <<< FAILURE!
testCalculator(calculator.CalculatorTestCase)  Time elapsed: 0.916 sec  
<<< ERROR!
java.lang.NullPointerException
        at 
calculator.CalculatorServiceImpl.add(CalculatorServiceImpl.java:50)

giorgio@petrus:~/tuscany-1.0RC/1.0-incubating$ svn update
Alla revisione 575895.

So I compiled with the skip test option.

Cheers,
Jo.


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


Re: SCA 1.0 RC1 artifacts available for review

Posted by ant elder <an...@gmail.com>.
Thanks for noticing. Not sure how that happened as as i used a tool to do
the global change.

   ...ant

On 9/15/07, Simon Nash <na...@hursley.ibm.com> wrote:
>
> The pom for implementation-java-runtime in the tag has
> 1.0-incubating-SNAPSHOT
> instead of 1.0-incubating.  The other poms seem OK.
>
>    Simon
>
> ant elder wrote:
> > The 1.0 RC1 tag has been taken and is available for checking out and
> > building:
> https://svn.apache.org/repos/asf/incubator/tuscany/tags/java/sca/1.0-incubating/
> >
> >
> > If you don't want to build it yourself the distributions are up loading
> to:
> > http://people.apache.org/~antelder/tuscany/1.0-RC1/<
> http://people.apache.org/%7Eantelder/tuscany/1.0-RC1/>
> >
> > And the maven artifacts will be uploaded to:
> > http://people.apache.org/~antelder/tuscany/1.0-RC1/maven/<
> http://people.apache.org/%7Eantelder/tuscany/1.0-RC1/maven/>
> >
> > The Windows distribution is up, at the current speed it will be another
> > couple of hours till everything is up including all the maven artifacts.
> >
> > I wont call a vote on this RC as we know its not quite perfect yet,
> please
> > review and fix any issues or raises jira's for problems you find. I'll
> > create an RC2 late Monday morning GMT and call a vote on releasing that
> > unless there are critical or blocker defects still open against 1.0. At
> that
> > time any non critical or blocker JIRA's still open will be deferred to
> > Java-SCA-Next.
> >
> >    ...ant
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>
>

Re: SCA 1.0 RC1 artifacts available for review

Posted by Simon Nash <na...@hursley.ibm.com>.
The pom for implementation-java-runtime in the tag has 1.0-incubating-SNAPSHOT
instead of 1.0-incubating.  The other poms seem OK.

   Simon

ant elder wrote:
> The 1.0 RC1 tag has been taken and is available for checking out and
> building: https://svn.apache.org/repos/asf/incubator/tuscany/tags/java/sca/1.0-incubating/
> 
> 
> If you don't want to build it yourself the distributions are up loading to:
> http://people.apache.org/~antelder/tuscany/1.0-RC1/<http://people.apache.org/%7Eantelder/tuscany/1.0-RC1/>
> 
> And the maven artifacts will be uploaded to:
> http://people.apache.org/~antelder/tuscany/1.0-RC1/maven/<http://people.apache.org/%7Eantelder/tuscany/1.0-RC1/maven/>
> 
> The Windows distribution is up, at the current speed it will be another
> couple of hours till everything is up including all the maven artifacts.
> 
> I wont call a vote on this RC as we know its not quite perfect yet, please
> review and fix any issues or raises jira's for problems you find. I'll
> create an RC2 late Monday morning GMT and call a vote on releasing that
> unless there are critical or blocker defects still open against 1.0. At that
> time any non critical or blocker JIRA's still open will be deferred to
> Java-SCA-Next.
> 
>    ...ant
> 


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