helloworld-bpel fails when using 1.2, RC1
-----------------------------------------

                 Key: TUSCANY-2126
                 URL: https://issues.apache.org/jira/browse/TUSCANY-2126
             Project: Tuscany
          Issue Type: Bug
          Components: Java SCA Samples
    Affects Versions: Java-SCA-1.2
         Environment: Windows xp, 
set JAVA_HOME=C:\Program Files\Java\jdk1.5.0_11
set PATH=%PATH%;C:\tuscany\maven-2.0.4\bin
set PATH=%PATH%;C:\tuscany\apache-ant-1.6.5\bin
set PATH=%PATH%;C:\tuscany\svn-win32-1.3.0\bin

            Reporter: haleh mahbod
             Fix For: Java-SCA-1.2


C:\tuscany\sca\tuscany-sca-1.2-incubating-SNAPSHOT\samples\helloworld-bpel>ant c
lean compile run
Buildfile: build.xml

clean:
   [delete] Deleting 128 files from C:\tuscany\sca\tuscany-sca-1.2-incubating-SN
APSHOT\samples\helloworld-bpel\target
   [delete] Deleted 7 directories from C:\tuscany\sca\tuscany-sca-1.2-incubating
-SNAPSHOT\samples\helloworld-bpel\target

init:
    [mkdir] Created dir: C:\tuscany\sca\tuscany-sca-1.2-incubating-SNAPSHOT\samp
les\helloworld-bpel\target\classes
    [mkdir] Created dir: C:\tuscany\sca\tuscany-sca-1.2-incubating-SNAPSHOT\samp
les\helloworld-bpel\target\wsdl2java-source

generate-wsdl:
     [java] Exception in thread "main" java.lang.NoClassDefFoundError: org/apach
e/tuscany/sdo/util/DataObjectUtil
     [java]     at org.apache.tuscany.sdo.generate.XSD2JavaGenerator.getSchemaNa
mespace(XSD2JavaGenerator.java:235)
     [java]     at org.apache.tuscany.sdo.generate.XSD2JavaGenerator.run(XSD2Jav
aGenerator.java:145)
     [java]     at org.apache.tuscany.sdo.generate.XSD2JavaGenerator.main(XSD2Ja
vaGenerator.java:97)
     [java] Java Result: 1
     [java] Exception in thread "main" java.lang.NoClassDefFoundError: org/apach
e/tuscany/sdo/util/DataObjectUtil
     [java]     at org.apache.tuscany.sdo.generate.XSD2JavaGenerator.getSchemaNa
mespace(XSD2JavaGenerator.java:235)
     [java]     at org.apache.tuscany.sdo.generate.XSD2JavaGenerator.generateFro
mXMLSchema(XSD2JavaGenerator.java:273)
     [java]     at org.apache.tuscany.tools.wsdl2java.generate.WSDL2JavaGenerato
r.generateFromWSDL(WSDL2JavaGenerator.java:204)
     [java]     at org.apache.tuscany.tools.wsdl2java.generate.WSDL2JavaGenerato
r.main(WSDL2JavaGenerator.java:154)
     [java] Java Result: 1

unzip-ode-db:
    [unzip] Expanding: C:\tuscany\sca\tuscany-sca-1.2-incubating-SNAPSHOT\lib\od
e-dao-jpa-ojpa-derby-1.1.zip into C:\tuscany\sca\tuscany-sca-1.2-incubating-SNAP
SHOT\samples\helloworld-bpel\target\database

compile:
    [javac] Compiling 1 source file to C:\tuscany\sca\tuscany-sca-1.2-incubating
-SNAPSHOT\samples\helloworld-bpel\target\classes
    [javac] C:\tuscany\sca\tuscany-sca-1.2-incubating-SNAPSHOT\samples\helloworl
d-bpel\src\main\java\helloworld\BPELClient.java:22: package org.apache.tuscany.i
mplementation.bpel.example.helloworld does not exist
    [javac] import org.apache.tuscany.implementation.bpel.example.helloworld.Hel
loPortType;
    [javac]                                                                  ^
    [javac] C:\tuscany\sca\tuscany-sca-1.2-incubating-SNAPSHOT\samples\helloworl
d-bpel\src\main\java\helloworld\BPELClient.java:34: cannot find symbol
    [javac] symbol  : class HelloPortType
    [javac] location: class helloworld.BPELClient
    [javac]         HelloPortType bpelService = scaDomain.getService(HelloPortTy
pe.class, "BPELHelloWorldComponent");
    [javac]         ^
    [javac] C:\tuscany\sca\tuscany-sca-1.2-incubating-SNAPSHOT\samples\helloworl
d-bpel\src\main\java\helloworld\BPELClient.java:34: cannot find symbol
    [javac] symbol  : class HelloPortType
    [javac] location: class helloworld.BPELClient
    [javac]         HelloPortType bpelService = scaDomain.getService(HelloPortTy
pe.class, "BPELHelloWorldComponent");
    [javac]                                                          ^
    [javac] 3 errors

BUILD FAILED
C:\tuscany\sca\tuscany-sca-1.2-incubating-SNAPSHOT\samples\helloworld-bpel\build
.xml:60: Compile failed; see the compiler error output for details.

Total time: 5 seconds
C:\tuscany\sca\tuscany-sca-1.2-incubating-SNAPSHOT\samples\helloworld-bpel>


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to