You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Yang Sun (JIRA)" <de...@tuscany.apache.org> on 2008/07/06 10:12:35 UTC

[jira] Updated: (TUSCANY-2462) helloworld-ws-sdo-webapp cannot be built using ant

     [ https://issues.apache.org/jira/browse/TUSCANY-2462?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yang Sun updated TUSCANY-2462:
------------------------------

          Component/s: Java SCA Samples
    Affects Version/s: Java-SCA-1.3
              Summary: helloworld-ws-sdo-webapp cannot be built using ant  (was: helloworld-ws-sdo-webapp can be built using ant)

> helloworld-ws-sdo-webapp cannot be built using ant
> --------------------------------------------------
>
>                 Key: TUSCANY-2462
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2462
>             Project: Tuscany
>          Issue Type: Test
>          Components: Java SCA Samples
>    Affects Versions: Java-SCA-1.3
>            Reporter: Yang Sun
>            Priority: Minor
>         Attachments: build.xml
>
>
> Some classpath is missing in the script. The log is as below. (Sorry for the Chinese character. I don't know a easy way to set the locale on Windows platform). The error complains it cannot find some annotations.
> /-------------------------------------------
> Buildfile: build.xml
> init:
> generate-sdo:
>      [java] >>  Generating code
>      [java] >>  Generating packages
>      [java] >>  Generating package TypePackageImpl
>      [java] >>  Generating Java interface helloworld.type.TypeFactory
>      [java] >>  Generating /TargetProject/helloworld/type/TypeFactory.java
>      [java] >>  Examining old /TargetProject/helloworld/type/TypeFactory.java
>      [java] >>  Generating Java class helloworld.type.impl.TypeFactoryImpl
>      [java] >>  Generating /TargetProject/helloworld/type/impl/TypeFactoryImpl.java
>      [java] >>  Examining old /TargetProject/helloworld/type/impl/TypeFactoryImpl.java
>      [java] >>  Generating Person Base
>      [java] >>  Generating Java interface helloworld.type.Person_Base
>      [java] >>  Generating /TargetProject/helloworld/type/Person_Base.java
>      [java] >>  Examining old /TargetProject/helloworld/type/Person_Base.java
>      [java] >>  Generating Java class helloworld.type.impl.Person_BaseImpl
>      [java] >>  Generating /TargetProject/helloworld/type/impl/Person_BaseImpl.java
>      [java] >>  Examining old /TargetProject/helloworld/type/impl/Person_BaseImpl.java
>      [java] >>  Generating code
>      [java] >>  Generating packages
>      [java] >>  Generating package HelloworldPackageImpl
>      [java] >>  Generating Java interface helloworld.HelloworldFactory
>      [java] >>  Generating /TargetProject/helloworld/HelloworldFactory.java
>      [java] >>  Examining old /TargetProject/helloworld/HelloworldFactory.java
>      [java] >>  Generating Java class helloworld.impl.HelloworldFactoryImpl
>      [java] >>  Generating /TargetProject/helloworld/impl/HelloworldFactoryImpl.java
>      [java] >>  Examining old /TargetProject/helloworld/impl/HelloworldFactoryImpl.java
>      [java] >>  Generating get Greetings
>      [java] >>  Generating Java interface helloworld.getGreetings
>      [java] >>  Generating /TargetProject/helloworld/getGreetings.java
>      [java] >>  Examining old /TargetProject/helloworld/getGreetings.java
>      [java] >>  Generating Java class helloworld.impl.getGreetingsImpl
>      [java] >>  Generating /TargetProject/helloworld/impl/getGreetingsImpl.java
>      [java] >>  Examining old /TargetProject/helloworld/impl/getGreetingsImpl.java
>      [java] >>  Generating get Greetings Response
>      [java] >>  Generating Java interface helloworld.getGreetingsResponse
>      [java] >>  Generating /TargetProject/helloworld/getGreetingsResponse.java
>      [java] >>  Examining old /TargetProject/helloworld/getGreetingsResponse.java
>      [java] >>  Generating Java class helloworld.impl.getGreetingsResponseImpl
>      [java] >>  Generating /TargetProject/helloworld/impl/getGreetingsResponseImpl.java
>      [java] >>  Examining old /TargetProject/helloworld/impl/getGreetingsResponseImpl.java
>      [java] >>  Generating Party
>      [java] >>  Generating Java interface helloworld.Party
>      [java] >>  Generating /TargetProject/helloworld/Party.java
>      [java] >>  Examining old /TargetProject/helloworld/Party.java
>      [java] >>  Generating Java class helloworld.impl.PartyImpl
>      [java] >>  Generating /TargetProject/helloworld/impl/PartyImpl.java
>      [java] >>  Examining old /TargetProject/helloworld/impl/PartyImpl.java
>      [java] >>  Generating Person
>      [java] >>  Generating Java interface helloworld.Person
>      [java] >>  Generating /TargetProject/helloworld/Person.java
>      [java] >>  Examining old /TargetProject/helloworld/Person.java
>      [java] >>  Generating Java class helloworld.impl.PersonImpl
>      [java] >>  Generating /TargetProject/helloworld/impl/PersonImpl.java
>      [java] >>  Examining old /TargetProject/helloworld/impl/PersonImpl.java
> compile:
>     [javac] Compiling 17 source files to D:\apache-tuscany-sca-1.3\tuscany-sca-1.3\samples\helloworld-ws-sdo-webapp\target\classes
>     [javac] D:\apache-tuscany-sca-1.3\tuscany-sca-1.3\samples\helloworld-ws-sdo-webapp\src\main\java\helloworld\HelloWorld.java:28: 软件包 org.osoa.sca.annotations 不存在
>     [javac] import org.osoa.sca.annotations.Remotable;
>     [javac]                                 ^
>     [javac] D:\apache-tuscany-sca-1.3\tuscany-sca-1.3\samples\helloworld-ws-sdo-webapp\src\main\java\helloworld\HelloWorldImpl.java:23: 软件包 org.osoa.sca.annotations 不存在
>     [javac] import org.osoa.sca.annotations.Service;
>     [javac]                                 ^
>     [javac] D:\apache-tuscany-sca-1.3\tuscany-sca-1.3\samples\helloworld-ws-sdo-webapp\src\main\java\helloworld\HelloWorld.java:34: 找不到符号
>     [javac] 符号: 类 Remotable
>     [javac] @Remotable
>     [javac]  ^
>     [javac] D:\apache-tuscany-sca-1.3\tuscany-sca-1.3\samples\helloworld-ws-sdo-webapp\src\main\java\helloworld\HelloWorldImpl.java:25: 找不到符号
>     [javac] 符号: 类 Service
>     [javac] @Service(HelloWorld.class)
>     [javac]  ^
>     [javac] 注意:某些输入文件使用或覆盖了已过时的 API。
>     [javac] 注意:要了解详细信息,请使用 -Xlint:deprecation 重新编译。
>     [javac] 注意:某些输入文件使用了未经检查或不安全的操作。
>     [javac] 注意:要了解详细信息,请使用 -Xlint:unchecked 重新编译。
>     [javac] 4 错误

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