On Wed, Apr 25, 2012 at 9:32 PM, Simon Laws <simonsl...@googlemail.com> wrote:
> snip...
>>
>> Simon, It looks like you've not included the staging repo, the samples
>> aren't finding the 2.0 pom's in Maven central because the release
>> hasn't been published yet.
>>
>
> I've put the staging repo configuration in and am still having
> problems. Can you paste you settings.xml configuration.
>
>
> Simon
>
> --
> Apache Tuscany committer: tuscany.apache.org
> Co-author of a book about Tuscany and SCA: tuscanyinaction.com

I find an old version of settings.xml on a backup disc I have. I have
the config of the mirrors tag correct now and have made more progress.
Not quite done but here's what I've found in case someone has some
time....

tuscany--distribution-all-2.0-src.zip - Fail - see [6]

tuscany-distribution-all-2.0.zip - TODO

tuscany-samples-2.0.zip
  README                    - empty
  CHANGES & RELEASE_NOTES   - should they be samples specific?
  applications
    store                   - Fail - see [3]
  getting-started
    getting-started.pdf     - OK
    helloworld              - OK
    helloworld-ant          - README same as helloworld. Not sure what
it's supposed to do
    helloworld-bpel         - README talks about this being a Spring example.
    helloworld-jaxrs        - OK
    helloworld-jsonp        - OK
    helloworld-jsonrpc      - OK
    helloworld-scaclient    - Fail - see [1]
    helloworld-spring       - OK
    helloworld-webapp       - OK
    helloworld-webservice   - OK
    helloworld-withdeps     - Fail - see [2]
  learning-more             - No doc at this level
    async-invocation        - No doc. Fails when run - see [4]
    binding-comet
    binding-websocket
    contribution-osgi
    distributed-osgi-dynamic
    distributed-osgi-static
  running-tuscany
    running-tuscany.html    - Should be PDF for match getting started
    ant                     - Fail - see [5]
       README.html          - PDF or text file?
    command-line            - OK
       README.html          - PDF or text file?
    eclipse                 - OK
       README.html          - PDF or text file?
    jse
    junit
    osgi
       README.html          - PDF or text file?

tuscany-war-2.0.war        - TODO

Maven staging repo         - OK

RAT                        - TODO

Signatures                 - TODO


[1]

C:\simon\sca\release\tuscany-samples-2.0\tuscany-samples-2.0\getting-started\hel
loworld-scaclient>mvn tuscany:run
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Tuscany SCA Samples Helloworld SCAClient
[INFO]    task-segment: [tuscany:run]
[INFO] ------------------------------------------------------------------------
[INFO] Preparing tuscany:run
[INFO] [enforcer:enforce {execution: enforce-plugin-versions}]
[INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus
.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 2 source files to C:\simon\sca\release\tuscany-samples-2.0\tusc
any-samples-2.0\getting-started\helloworld-scaclient\target\classes
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory C:\simon\sca\release\tuscany-samples-
2.0\tuscany-samples-2.0\getting-started\helloworld-scaclient\src\test\resources
[INFO] Copying 3 resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Compiling 1 source file to C:\simon\sca\release\tuscany-samples-2.0\tusca
ny-samples-2.0\getting-started\helloworld-scaclient\target\test-classes
[INFO] [tuscany:run {execution: default-cli}]
[INFO] Invoking sample.HelloworldSCAClient class main method...
HelloworldSCAClient, using domainURI uri:default
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] exception invoking main method

org.apache.tuscany.sca.client.impl.SCAClientFactoryImpl.<init>(java.net.URI, jav
a.util.Properties)
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5 seconds
[INFO] Finished at: Thu Apr 26 21:33:26 BST 2012
[INFO] Final Memory: 25M/981M
[INFO] ------------------------------------------------------------------------


[2]

default> start helloworld-withdeps META-INF/helloworld.composite
org.apache.tuscany.sca.contribution.processor.ContributionReadException: java.io
.FileNotFoundException: C:\simon\sca\release\tuscany-samples-2.0\tuscany-samples
-2.0\getting-started\helloworld-withdeps\target\helloworld-withdeps-2.0-SNAPSHOT
.zip (The system cannot find the file specified)
        at org.apache.tuscany.sca.contribution.scanner.impl.JarContributionScann
er.scan(JarContributionScanner.java:118)
        at org.apache.tuscany.sca.contribution.processor.impl.ContributionConten
tProcessor.read(ContributionContentProcessor.java:141)
        at org.apache.tuscany.sca.contribution.processor.impl.ContributionConten
tProcessor.read(ContributionContentProcessor.java:65)
        at org.apache.tuscany.sca.contribution.processor.DefaultURLArtifactProce
ssorExtensionPoint$LazyURLArtifactProcessor.read(DefaultURLArtifactProcessorExte
nsionPoint.java:287)
        at org.apache.tuscany.sca.deployment.impl.DeployerImpl.loadContribution(
DeployerImpl.java:762)
        at org.apache.tuscany.sca.impl.NodeImpl.loadContribution(NodeImpl.java:5
00)
        at org.apache.tuscany.sca.impl.NodeImpl.startComposite(NodeImpl.java:395
)
        at org.apache.tuscany.sca.shell.commands.Start.invoke(Start.java:74)
        at org.apache.tuscany.sca.shell.Shell$1.call(Shell.java:495)
        at org.apache.tuscany.sca.shell.Shell$1.call(Shell.java:493)
        at org.apache.tuscany.sca.shell.Shell.apply(Shell.java:605)
        at org.apache.tuscany.sca.shell.Shell.run(Shell.java:619)

[3]

C:\simon\sca\release\tuscany-samples-2.0\tuscany-samples-2.0\applications\store>
ant compile
Buildfile: C:\simon\sca\release\tuscany-samples-2.0\tuscany-samples-2.0\applicat
ions\store\build.xml

BUILD FAILED
C:\simon\sca\release\tuscany-samples-2.0\tuscany-samples-2.0\applications\store\
build.xml:24: Cannot find C:\simon\sca\release\tuscany-samples-2.0\features\tusc
any-base-runtime-pom\build-path.xml imported from C:\simon\sca\release\tuscany-s
amples-2.0\tuscany-samples-2.0\applications\store\build.xml

Total time: 0 seconds

[4] - looks like it hasn't been tested in standalone sample distro

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running calculator.CalculatorTestCase
26-Apr-2012 21:49:28 org.apache.tuscany.sca.impl.NodeImpl <init>
INFO: domain: default
26-Apr-2012 21:49:29 org.apache.tuscany.sca.impl.NodeImpl installContribution
INFO: installContribution: AsyncSample
26-Apr-2012 21:49:30 org.apache.tuscany.sca.binding.ws.wsdlgen.BindingWSDLGenera
tor [] (WsdlGenException)
WARNING: Exception while generating WSDL for CalculatorAsync/CalculatorServiceAs
ync
26-Apr-2012 21:49:30 org.apache.tuscany.sca.binding.ws.wsdlgen.BindingWSDLGenera
tor [] (WsdlGenException2)
SEVERE: [JCA90040] Exception while generating WSDL for CalculatorAsync/Calculato
rServiceAsync exception was: java.lang.ClassCastException: com.sun.xml.internal.
bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl$26 cannot be cast to com.sun.xml.i
nternal.bind.v2.model.core.EnumLeafInfo
org.apache.tuscany.sca.monitor.ValidationException: [] - [JCA90040] Exception wh
ile generating WSDL for CalculatorAsync/CalculatorServiceAsync exception was: ja
va.lang.ClassCastException: com.sun.xml.internal.bind.v2.model.impl.RuntimeBuilt
inLeafInfoImpl$26 cannot be cast to com.sun.xml.internal.bind.v2.model.core.Enum
LeafInfo
        at org.apache.tuscany.sca.monitor.Monitor.analyzeProblems(Monitor.java:3

[5] - looks like it hasn't been tested in standalone sample distro

C:\simon\sca\release\tuscany-samples-2.0\tuscany-samples-2.0\running-tuscany\ant
>ant
Buildfile: C:\simon\sca\release\tuscany-samples-2.0\tuscany-samples-2.0\running-
tuscany\ant\build.xml

BUILD FAILED
C:\simon\sca\release\tuscany-samples-2.0\tuscany-samples-2.0\running-tuscany\ant
\build.xml:23: Cannot find C:\simon\sca\release\tuscany-samples-2.0\features\tus
cany-base-runtime-pom\build-path.xml imported from C:\simon\sca\release\tuscany-
samples-2.0\tuscany-samples-2.0\running-tuscany\ant\build.xml

Total time: 0 seconds

[6] - As per previous post

[INFO] ------------------------------------------------------------------------
[INFO] Error for project: Apache Tuscany SCA Comet Binding Runtime (during insta
ll)
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: null:jersey-server:bundle:null

Simon

-- 
Apache Tuscany committer: tuscany.apache.org
Co-author of a book about Tuscany and SCA: tuscanyinaction.com

Reply via email to