Sample READMEs have mistakes
----------------------------

                 Key: TUSCANY-2826
                 URL: https://issues.apache.org/jira/browse/TUSCANY-2826
             Project: Tuscany
          Issue Type: Bug
          Components: Java SCA Samples
    Affects Versions: Java-SCA-2.0
         Environment: All 
            Reporter: Dan Becker
            Priority: Minor


1) README in samples directory mentions lib directory rather than modules 
directory, and it does not match the README info in lower sample subdirs.

2) implementation-java-calculator does not run with instructions given in its 
README (on Windows XP, IBM JDK 1.6.0) From this launch:
java -jar ..\..\features\tuscany-sca-equinox-manifest.jar -composite 
Calculator.composite -config ..\..\features\configuration\ -ttl 0 
target\implementation-java-calculator.jar

I get:
SEVERE: SCA Node could not be created
Throwable occurred: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
 <...>
org.apache.tuscany.sca.node.equinox.launcher.NodeMain.main(NodeMain.java:59)
Caused by: org.oasisopen.sca.ServiceRuntimeException: 
org.apache.tuscany.sca.contribution.processor.ContributionReadException: 
java.io.FileNotFoundException: 
E:\t\tuscany-sca-2.0-M1\samples\implementation-java-calculator\target\implementati
on-java-calculator.jar (The system cannot find the file specified.)
  <...>

The file is named "sample-implementation-java-calculator.jar" and not 
implementation-java-calculator.jar


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to