incubator-stonehenge-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Hauenstein <ni...@quicklearn.com>
Subject Metro Build Errors
Date Mon, 26 Apr 2010 21:16:20 GMT
I was just running through the Metro install process (sans OpenSSO), but when I got to the
point of building the code that is currently in the trunk (by executing: ant STS deploy),
I hit quite a few errors during compilation [1]. Is the code that is checked in expected to
build right now, or is there still some work pending?

Thanks in advance!

- Nick

[1] Build output:
Buildfile: C:\stonehenge\stocktrader\metro\build.xml
STS:
     [echo] copy sts web file
     [copy] Copying 1 file to C:\stonehenge\stocktrader\metro\trader_client\web\WEB-INF
deploy:
clean:
   [delete] Deleting directory C:\stonehenge\stocktrader\metro\business_service\build
setup:
    [mkdir] Created dir: C:\stonehenge\stocktrader\metro\business_service\build
    [mkdir] Created dir: C:\stonehenge\stocktrader\metro\business_service\build\classes
    [mkdir] Created dir: C:\stonehenge\stocktrader\metro\business_service\build\war
generate-order-processor-client:
 [wsimport] Consider using <depends>/<produces> so that wsimport won't do unnecessary
compilation
 [wsimport] parsing WSDL...
 [wsimport]
 [wsimport]
 [wsimport] [WARNING] SOAP port "WSHttpBinding_OrderProcessorService": uses a non-standard
SOAP 1.2 binding.
 [wsimport]   line 402 of file:/C:/stonehenge/stocktrader/metro/etc/order_processor/OrderProcessor.wsdl
 [wsimport]
 [wsimport] [WARNING] SOAP port "CustomBinding_OrderProcessorService": uses a non-standard
SOAP 1.2 binding.
 [wsimport]   line 409 of file:/C:/stonehenge/stocktrader/metro/etc/order_processor/OrderProcessor.wsdl
 [wsimport]
 [wsimport] [WARNING] SOAP port "SecureConversationBinding_OrderProcessorService": uses a
non-standard SOAP 1.2 binding.
 [wsimport]   line 416 of file:/C:/stonehenge/stocktrader/metro/etc/order_processor/OrderProcessor.wsdl
 [wsimport]
 [wsimport] generating code...
 [wsimport]
 [wsimport]
 [wsimport] compiling code...
 [wsimport]
generate-cs-client:
 [wsimport] Consider using <depends>/<produces> so that wsimport won't do unnecessary
compilation
 [wsimport] parsing WSDL...
 [wsimport]
 [wsimport]
 [wsimport] generating code...
 [wsimport]
 [wsimport]
 [wsimport] compiling code...
 [wsimport]
build:
 [wsimport] Consider using <depends>/<produces> so that wsimport won't do unnecessary
compilation
 [wsimport] parsing WSDL...
 [wsimport]
 [wsimport]
 [wsimport] [WARNING] SOAP port "BasicHttpBinding_ITradeServices": uses a non-standard SOAP
1.2 binding.
 [wsimport]   line 507 of file:/C:/stonehenge/stocktrader/metro/etc/business_service/TradeServiceWsas.wsdl
 [wsimport]
 [wsimport] [WARNING] SOAP port "CustomBinding_ITradeServices": uses a non-standard SOAP 1.2
binding.
 [wsimport]   line 510 of file:/C:/stonehenge/stocktrader/metro/etc/business_service/TradeServiceWsas.wsdl
 [wsimport]
 [wsimport] generating code...
 [wsimport]
 [wsimport]
 [wsimport] compiling code...
 [wsimport]
     [copy] Copying 2 files to C:\stonehenge\stocktrader\metro\business_service\build\classes
     [copy] Copying 1 file to C:\stonehenge\stocktrader\metro\business_service\build\classes
     [copy] Copying 1 file to C:\stonehenge\stocktrader\metro\business_service\build\classes
    [javac] C:\stonehenge\stocktrader\metro\business_service\build.xml:104: warning: 'includeantruntime'
was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 23 source files to C:\stonehenge\stocktrader\metro\business_service\build\classes
    [javac] C:\stonehenge\stocktrader\metro\business_service\build.xml:108: warning: 'includeantruntime'
was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 6 source files to C:\stonehenge\stocktrader\metro\business_service\build\classes
    [javac] C:\stonehenge\stocktrader\metro\business_service\build.xml:112: warning: 'includeantruntime'
was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 6 source files to C:\stonehenge\stocktrader\metro\business_service\build\classes
war:
      [war] Building war: C:\stonehenge\stocktrader\metro\business_service\build\war\business_service.war
deploy-keystore:
deploy:
     [copy] Copying 1 file to C:\Sun\SDK\domains\domain2\autodeploy
clean:
   [delete] Deleting directory C:\stonehenge\stocktrader\metro\order_processor\build
setup:
    [mkdir] Created dir: C:\stonehenge\stocktrader\metro\order_processor\build
    [mkdir] Created dir: C:\stonehenge\stocktrader\metro\order_processor\build\classes
    [mkdir] Created dir: C:\stonehenge\stocktrader\metro\order_processor\build\war
import-ws:
 [wsimport] Consider using <depends>/<produces> so that wsimport won't do unnecessary
compilation
 [wsimport] parsing WSDL...
 [wsimport]
 [wsimport]
 [wsimport] [WARNING] SOAP port "WSHttpBinding_OrderProcessorService": uses a non-standard
SOAP 1.2 binding.
 [wsimport]   line 402 of file:/C:/stonehenge/stocktrader/metro/etc/order_processor/OrderProcessor.wsdl
 [wsimport]
 [wsimport] [WARNING] SOAP port "CustomBinding_OrderProcessorService": uses a non-standard
SOAP 1.2 binding.
 [wsimport]   line 409 of file:/C:/stonehenge/stocktrader/metro/etc/order_processor/OrderProcessor.wsdl
 [wsimport]
 [wsimport] [WARNING] SOAP port "SecureConversationBinding_OrderProcessorService": uses a
non-standard SOAP 1.2 binding.
 [wsimport]   line 416 of file:/C:/stonehenge/stocktrader/metro/etc/order_processor/OrderProcessor.wsdl
 [wsimport]
 [wsimport] generating code...
 [wsimport]
 [wsimport]
 [wsimport] compiling code...
 [wsimport]
build:
     [copy] Copying 2 files to C:\stonehenge\stocktrader\metro\order_processor\build\classes
    [javac] C:\stonehenge\stocktrader\metro\order_processor\build.xml:84: warning: 'includeantruntime'
was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 23 source files to C:\stonehenge\stocktrader\metro\order_processor\build\classes
    [javac] C:\stonehenge\stocktrader\metro\order_processor\build.xml:91: warning: 'includeantruntime'
was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 5 source files to C:\stonehenge\stocktrader\metro\order_processor\build\classes
war:
      [war] Building war: C:\stonehenge\stocktrader\metro\order_processor\build\war\order_processor.war
deploy-keystore:
deploy:
     [copy] Copying 1 file to C:\Sun\SDK\domains\domain2\autodeploy
clean:
   [delete] Deleting directory C:\stonehenge\stocktrader\metro\trader_client\build
setup:
    [mkdir] Created dir: C:\stonehenge\stocktrader\metro\trader_client\build
    [mkdir] Created dir: C:\stonehenge\stocktrader\metro\trader_client\build\classes
    [mkdir] Created dir: C:\stonehenge\stocktrader\metro\trader_client\build\war
generate-bs-client:
 [wsimport] Consider using <depends>/<produces> so that wsimport won't do unnecessary
compilation
 [wsimport] parsing WSDL...
 [wsimport]
 [wsimport]
 [wsimport] [WARNING] SOAP port "BasicHttpBinding_ITradeServices": uses a non-standard SOAP
1.2 binding.
 [wsimport]   line 507 of file:/C:/stonehenge/stocktrader/metro/etc/business_service/TradeServiceWsas.wsdl
 [wsimport]
 [wsimport] [WARNING] SOAP port "CustomBinding_ITradeServices": uses a non-standard SOAP 1.2
binding.
 [wsimport]   line 510 of file:/C:/stonehenge/stocktrader/metro/etc/business_service/TradeServiceWsas.wsdl
 [wsimport]
 [wsimport] generating code...
 [wsimport]
 [wsimport]
 [wsimport] compiling code...
 [wsimport]
generate-cs-client:
 [wsimport] Consider using <depends>/<produces> so that wsimport won't do unnecessary
compilation
 [wsimport] parsing WSDL...
 [wsimport]
 [wsimport]
 [wsimport] generating code...
 [wsimport]
 [wsimport]
 [wsimport] compiling code...
 [wsimport]
build:
     [copy] Copying 2 files to C:\stonehenge\stocktrader\metro\trader_client\build\classes
     [copy] Copying 1 file to C:\stonehenge\stocktrader\metro\trader_client\build\classes
     [copy] Copying 1 file to C:\stonehenge\stocktrader\metro\trader_client\build\classes
    [javac] C:\stonehenge\stocktrader\metro\trader_client\build.xml:110: warning: 'includeantruntime'
was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 6 source files to C:\stonehenge\stocktrader\metro\trader_client\build\classes
    [javac] C:\stonehenge\stocktrader\metro\trader_client\build.xml:113: warning: 'includeantruntime'
was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 20 source files to C:\stonehenge\stocktrader\metro\trader_client\build\classes
    [javac] C:\stonehenge\stocktrader\metro\trader_client\src\org\apache\stonehenge\stocktrader\service\CookieManager.java:24:
package com.sun.identity.wsfederation.client does not exist
    [javac] import com.sun.identity.wsfederation.client.WSFederationClient;
    [javac]                                            ^
    [javac] C:\stonehenge\stocktrader\metro\trader_client\src\org\apache\stonehenge\stocktrader\filter\STSFilter.java:20:
package com.iplanet.sso does not exist
    [javac] import com.iplanet.sso.SSOException;
    [javac]                       ^
    [javac] C:\stonehenge\stocktrader\metro\trader_client\src\org\apache\stonehenge\stocktrader\filter\STSFilter.java:21:
package com.iplanet.sso does not exist
    [javac] import com.iplanet.sso.SSOToken;
    [javac]                       ^
    [javac] C:\stonehenge\stocktrader\metro\trader_client\src\org\apache\stonehenge\stocktrader\filter\STSFilter.java:22:
package com.iplanet.sso does not exist
    [javac] import com.iplanet.sso.SSOTokenManager;
    [javac]                       ^
    [javac] C:\stonehenge\stocktrader\metro\trader_client\src\org\apache\stonehenge\stocktrader\filter\STSFilter.java:58:
cannot find symbol
    [javac] symbol  : class SSOException
    [javac] location: class org.apache.stonehenge.stocktrader.filter.STSFilter
    [javac]                           FilterChain filterChain) throws SSOException, IOException,
ServletException {
    [javac]                                                           ^
    [javac] C:\stonehenge\stocktrader\metro\trader_client\src\org\apache\stonehenge\stocktrader\service\SamlAssertionRequest.java:20:
package com.iplanet.sso does not exist
    [javac] import com.iplanet.sso.SSOException;
    [javac]                       ^
    [javac] C:\stonehenge\stocktrader\metro\trader_client\src\org\apache\stonehenge\stocktrader\service\SamlAssertionRequest.java:21:
package com.iplanet.sso does not exist
    [javac] import com.iplanet.sso.SSOToken;
    [javac]                       ^
    [javac] C:\stonehenge\stocktrader\metro\trader_client\src\org\apache\stonehenge\stocktrader\service\SamlAssertionRequest.java:22:
package com.iplanet.sso does not exist
    [javac] import com.iplanet.sso.SSOTokenManager;
    [javac]                       ^
    [javac] C:\stonehenge\stocktrader\metro\trader_client\src\org\apache\stonehenge\stocktrader\service\CookieManager.java:68:
cannot find symbol
    [javac] symbol  : variable WSFederationClient
    [javac] location: class org.apache.stonehenge.stocktrader.service.CookieManager
    [javac]             String samlAssertion = WSFederationClient.getUserSAMLAssertion(java.net.URLEncoder.encode(assertionId),
url, null, null);
    [javac]                                    ^
    [javac] C:\stonehenge\stocktrader\metro\trader_client\src\org\apache\stonehenge\stocktrader\service\CookieManager.java:72:
package com.sun.identity.wsfederation.common does not exist
    [javac]           catch(com.sun.identity.wsfederation.common.WSFederationException ex)
    [javac]                                                     ^
    [javac] C:\stonehenge\stocktrader\metro\trader_client\src\org\apache\stonehenge\stocktrader\filter\STSFilter.java:52:
cannot find symbol
    [javac] symbol  : class SSOException
    [javac] location: class org.apache.stonehenge.stocktrader.filter.STSFilter
    [javac]         } catch (SSOException e) {
    [javac]                  ^
    [javac] C:\stonehenge\stocktrader\metro\trader_client\src\org\apache\stonehenge\stocktrader\filter\STSFilter.java:61:
cannot find symbol
    [javac] symbol  : class SSOTokenManager
    [javac] location: class org.apache.stonehenge.stocktrader.filter.STSFilter
    [javac]             SSOTokenManager manager = SSOTokenManager.getInstance();
    [javac]             ^
    [javac] C:\stonehenge\stocktrader\metro\trader_client\src\org\apache\stonehenge\stocktrader\filter\STSFilter.java:61:
cannot find symbol
    [javac] symbol  : variable SSOTokenManager
    [javac] location: class org.apache.stonehenge.stocktrader.filter.STSFilter
    [javac]             SSOTokenManager manager = SSOTokenManager.getInstance();
    [javac]                                       ^
    [javac] C:\stonehenge\stocktrader\metro\trader_client\src\org\apache\stonehenge\stocktrader\filter\STSFilter.java:62:
cannot find symbol
    [javac] symbol  : class SSOToken
    [javac] location: class org.apache.stonehenge.stocktrader.filter.STSFilter
    [javac]             SSOToken ssoToken = manager.createSSOToken(httpServletRequest);
    [javac]             ^
    [javac] C:\stonehenge\stocktrader\metro\trader_client\src\org\apache\stonehenge\stocktrader\service\SamlAssertionRequest.java:38:
cannot find symbol
    [javac] symbol  : class SSOTokenManager
    [javac] location: class org.apache.stonehenge.stocktrader.service.SamlAssertionRequest
    [javac]             SSOTokenManager manager = SSOTokenManager.getInstance();
    [javac]             ^
    [javac] C:\stonehenge\stocktrader\metro\trader_client\src\org\apache\stonehenge\stocktrader\service\SamlAssertionRequest.java:38:
cannot find symbol
    [javac] symbol  : variable SSOTokenManager
    [javac] location: class org.apache.stonehenge.stocktrader.service.SamlAssertionRequest
    [javac]             SSOTokenManager manager = SSOTokenManager.getInstance();
    [javac]                                       ^
    [javac] C:\stonehenge\stocktrader\metro\trader_client\src\org\apache\stonehenge\stocktrader\service\SamlAssertionRequest.java:39:
cannot find symbol
    [javac] symbol  : class SSOToken
    [javac] location: class org.apache.stonehenge.stocktrader.service.SamlAssertionRequest
    [javac]             SSOToken token = manager.createSSOToken(httpServletRequest);
    [javac]             ^
    [javac] C:\stonehenge\stocktrader\metro\trader_client\src\org\apache\stonehenge\stocktrader\service\SamlAssertionRequest.java:53:
cannot find symbol
    [javac] symbol  : class SSOException
    [javac] location: class org.apache.stonehenge.stocktrader.service.SamlAssertionRequest
    [javac]         } catch (SSOException e) {
    [javac]                  ^
    [javac] Note: C:\stonehenge\stocktrader\metro\trader_client\src\org\apache\stonehenge\stocktrader\service\CookieManager.java
uses or overrides a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: C:\stonehenge\stocktrader\metro\trader_client\src\org\apache\stonehenge\stocktrader\bean\ConfigServiceBean.java
uses unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 18 errors
BUILD FAILED
C:\stonehenge\stocktrader\metro\build.xml:37: The following error occurred while
 executing this line:
C:\stonehenge\stocktrader\metro\trader_client\build.xml:113: Compile failed; see
 the compiler error output for details.
Total time: 1 minute 7 seconds

Mime
View raw message