Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Java-SCA-2.0-M4
-
None
Description
The build script is still pointing to 2.0-SNAPSHOT jar,
<target name="compile" depends="init">
<javac srcdir="src/main/java"
destdir="target/classes"
debug="on"
source="1.5"
target="1.5"
failonerror="true">
<classpath>
<pathelement location="../../modules/tuscany-sca-api-2.0-SNAPSHOT.jar"/>
</classpath>
which causes the stack trace below:
init:
[mkdir] Created dir: /Users/lresende/opensource/apache/tuscany/java-sca-2.0-M4/samples/implementation-java-calculator/target/classes
compile:
[javac] Compiling 11 source files to /Users/lresende/opensource/apache/tuscany/java-sca-2.0-M4/samples/implementation-java-calculator/target/classes
[javac] /Users/lresende/opensource/apache/tuscany/java-sca-2.0-M4/samples/implementation-java-calculator/src/main/java/calculator/CalculatorClient.java:22: package org.oasisopen.sca.annotation does not exist
[javac] import org.oasisopen.sca.annotation.EagerInit;
[javac] ^
[javac] /Users/lresende/opensource/apache/tuscany/java-sca-2.0-M4/samples/implementation-java-calculator/src/main/java/calculator/CalculatorClient.java:23: package org.oasisopen.sca.annotation does not exist
[javac] import org.oasisopen.sca.annotation.Init;
[javac] ^
[javac] /Users/lresende/opensource/apache/tuscany/java-sca-2.0-M4/samples/implementation-java-calculator/src/main/java/calculator/CalculatorClient.java:24: package org.oasisopen.sca.annotation does not exist
[javac] import org.oasisopen.sca.annotation.Reference;
[javac] ^
[javac] /Users/lresende/opensource/apache/tuscany/java-sca-2.0-M4/samples/implementation-java-calculator/src/main/java/calculator/CalculatorClient.java:25: package org.oasisopen.sca.annotation does not exist
[javac] import org.oasisopen.sca.annotation.Scope;
[javac] ^
[javac] /Users/lresende/opensource/apache/tuscany/java-sca-2.0-M4/samples/implementation-java-calculator/src/main/java/calculator/CalculatorClient.java:31: cannot find symbol
[javac] symbol: class Scope
[javac] @Scope("COMPOSITE") @EagerInit
[javac] ^
[javac] /Users/lresende/opensource/apache/tuscany/java-sca-2.0-M4/samples/implementation-java-calculator/src/main/java/calculator/CalculatorClient.java:31: cannot find symbol
[javac] symbol: class EagerInit
[javac] @Scope("COMPOSITE") @EagerInit
[javac] ^
[javac] /Users/lresende/opensource/apache/tuscany/java-sca-2.0-M4/samples/implementation-java-calculator/src/main/java/calculator/CalculatorServiceImpl.java:21: package org.oasisopen.sca.annotation does not exist
[javac] import org.oasisopen.sca.annotation.Reference;
[javac] ^
[javac] /Users/lresende/opensource/apache/tuscany/java-sca-2.0-M4/samples/implementation-java-calculator/src/main/java/calculator/CalculatorClient.java:36: cannot find symbol
[javac] symbol : class Reference
[javac] location: class calculator.CalculatorClient
[javac] @Reference
[javac] ^
[javac] /Users/lresende/opensource/apache/tuscany/java-sca-2.0-M4/samples/implementation-java-calculator/src/main/java/calculator/CalculatorClient.java:41: cannot find symbol
[javac] symbol : class Init
[javac] location: class calculator.CalculatorClient
[javac] @Init
[javac] ^
[javac] /Users/lresende/opensource/apache/tuscany/java-sca-2.0-M4/samples/implementation-java-calculator/src/main/java/calculator/CalculatorServiceImpl.java:34: cannot find symbol
[javac] symbol : class Reference
[javac] location: class calculator.CalculatorServiceImpl
[javac] @Reference
[javac] ^
[javac] /Users/lresende/opensource/apache/tuscany/java-sca-2.0-M4/samples/implementation-java-calculator/src/main/java/calculator/CalculatorServiceImpl.java:39: cannot find symbol
[javac] symbol : class Reference
[javac] location: class calculator.CalculatorServiceImpl
[javac] @Reference
[javac] ^
[javac] /Users/lresende/opensource/apache/tuscany/java-sca-2.0-M4/samples/implementation-java-calculator/src/main/java/calculator/CalculatorServiceImpl.java:44: cannot find symbol
[javac] symbol : class Reference
[javac] location: class calculator.CalculatorServiceImpl
[javac] @Reference
[javac] ^
[javac] /Users/lresende/opensource/apache/tuscany/java-sca-2.0-M4/samples/implementation-java-calculator/src/main/java/calculator/CalculatorServiceImpl.java:49: cannot find symbol
[javac] symbol : class Reference
[javac] location: class calculator.CalculatorServiceImpl
[javac] @Reference
[javac] ^
[javac] /Users/lresende/opensource/apache/tuscany/java-sca-2.0-M4/samples/implementation-java-calculator/src/main/java/calculator/CalculatorClient.java:45: cannot find symbol
[javac] symbol : class Reference
[javac] location: class calculator.CalculatorClient
[javac] System.out.println("SCA API ClassLoader: " + print(Reference.class.getClassLoader()));
[javac] ^
[javac] 14 errors
BUILD FAILED
/Users/lresende/opensource/apache/tuscany/java-sca-2.0-M4/samples/implementation-java-calculator/build.xml:37: Compile failed; see the compiler error output for details.