1 Reply Latest reply on Nov 10, 2009 8:08 AM by jim.ma

    New dev: Problem building stack-native

      Hi,

      I've just successfully built JBossWS-CXF trunk and now need to build JBossWS-Native trunk. With exactly the same environment (WinXP-32 system, Sun JDK 1.6.0_16, Maven 2.2.1) I get an error while building the SAAJ module of Native. I've configured by JBoss AS 5.1.0 location and running "ant deploy-jboss510" fails, saying something about not being able to execute the java compiler:

      D:\cxf-dev\projects\jbossws-native-trunk>ant deploy-jboss510
      Buildfile: build.xml
      
      target-jboss510:
      
      os-init:
      
      mvn-settings:
       [mkdir] Created dir: D:\cxf-dev\projects\jbossws-native-trunk\target
       [exec] [INFO] Scanning for projects...
       [exec] [INFO] Reactor build order:
       [exec] [INFO] JBoss Web Services - Stack Native
       [exec] [INFO] JBoss Web Services - Stack Native SAAJ
       [exec] [INFO] JBoss Web Services - Stack Native JAX-RPC
       [exec] [INFO] JBoss Web Services - Stack Native JAX-WS
       [exec] [INFO] JBoss Web Services - Stack Native JAX-WS Ext
       [exec] [INFO] JBoss Web Services - Native Server
       [exec] [INFO] JBoss Web Services - Stack Native Client
       [exec] [INFO] JBoss Web Services - Stack Native Management
       [exec] [INFO] JBoss Web Services - Stack Native Resources
       [exec] [INFO] Searching repository for plugin with prefix: 'help'.
       [exec] [INFO] ------------------------------------------------------------------------
       [exec] [INFO] Building JBoss Web Services - Stack Native
       [exec] [INFO] task-segment: [help:effective-settings] (aggregator-style)
       [exec] [INFO] ------------------------------------------------------------------------
       [exec] [INFO] [help:effective-settings {execution: default-cli}]
       [exec] [INFO] Effective-settings written to: D:\cxf-dev\projects\jbossws-native-trunk\target\ef
      fective-settings.xml
       [exec] [INFO] ------------------------------------------------------------------------
       [exec] [INFO] BUILD SUCCESSFUL
       [exec] [INFO] ------------------------------------------------------------------------
       [exec] [INFO] Total time: 3 seconds
       [exec] [INFO] Finished at: Tue Nov 10 14:21:43 EET 2009
       [exec] [INFO] Final Memory: 10M/18M
       [exec] [INFO] ------------------------------------------------------------------------
       [echo]
       [echo] jboss500.home=${profiles.profile.properties.jboss500.home}
       [echo] jboss501.home=${profiles.profile.properties.jboss501.home}
       [echo] jboss510.home=D:\cxf-dev\runtime\jboss-5.1.0.GA
       [echo] jboss520.home=${profiles.profile.properties.jboss520.home}
       [echo] jboss600.home=${profiles.profile.properties.jboss600.home}
      
      prepare:
      
      init:
       [echo] java.version=1.6.0_16
       [echo] version.id=3.2.2-SNAPSHOT
       [echo] integration.target=jboss510
      
      undeploy-jboss510:
       [delete] Deleting directory D:\cxf-dev\runtime\jboss-5.1.0.GA\server\default\deploy\jbossws.sar
       [delete] Deleting directory D:\cxf-dev\runtime\jboss-5.1.0.GA\server\default\deploy\juddi-service
      .sar
      
      prepare-deploy:
       [echo]
       [echo] mvn.bat package assembly:directory
       [echo]
       [exec] [INFO] Scanning for projects...
       [exec] [INFO] Reactor build order:
       [exec] [INFO] JBoss Web Services - Stack Native
       [exec] [INFO] JBoss Web Services - Stack Native SAAJ
       [exec] [INFO] JBoss Web Services - Stack Native JAX-RPC
       [exec] [INFO] JBoss Web Services - Stack Native JAX-WS
       [exec] [INFO] JBoss Web Services - Stack Native JAX-WS Ext
       [exec] [INFO] JBoss Web Services - Native Server
       [exec] [INFO] JBoss Web Services - Stack Native Client
       [exec] [INFO] JBoss Web Services - Stack Native Management
       [exec] [INFO] JBoss Web Services - Stack Native Resources
       [exec] [INFO] ------------------------------------------------------------------------
       [exec] [INFO] Building JBoss Web Services - Stack Native
       [exec] [INFO] task-segment: [package]
       [exec] [INFO] ------------------------------------------------------------------------
       [exec] [INFO] [antrun:run {execution: validate-jboss-home}]
       [exec] [INFO] Executing tasks
       [exec] [echo]
       [exec] [echo] profile=${jbossws.integration.target}
       [exec] [echo] jboss.home=${jboss.home}
       [exec] [echo]
       [exec] [INFO] Executed tasks
       [exec] [INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
       [exec] [INFO] Preparing source:jar
       [exec] [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
       [exec] [INFO] [antrun:run {execution: validate-jboss-home}]
       [exec] [INFO] Executing tasks
       [exec] [echo]
       [exec] [echo] profile=${jbossws.integration.target}
       [exec] [echo] jboss.home=${jboss.home}
       [exec] [echo]
       [exec] [INFO] Executed tasks
       [exec] [INFO] [source:jar {execution: attach-sources}]
       [exec] [INFO] ------------------------------------------------------------------------
       [exec] [INFO] Building JBoss Web Services - Stack Native SAAJ
       [exec] [INFO] task-segment: [package]
       [exec] [INFO] ------------------------------------------------------------------------
       [exec] [INFO] [antrun:run {execution: validate-jboss-home}]
       [exec] [INFO] Executing tasks
       [exec] [echo]
       [exec] [echo] profile=${jbossws.integration.target}
       [exec] [echo] jboss.home=${jboss.home}
       [exec] [echo]
       [exec] [INFO] Executed tasks
       [exec] [INFO] [resources:resources {execution: default-resources}]
       [exec] [WARNING] Using platform encoding (Cp1253 actually) to copy filtered resources, i.e. bui
      ld is platform dependent!
       [exec] [INFO] Copying 3 resources
       [exec] [INFO] [compiler:compile {execution: default-compile}]
       [exec] [INFO] Compiling 28 source files to D:\cxf-dev\projects\jbossws-native-trunk\modules\saa
      j\target\classes
       [exec] [INFO] ------------------------------------------------------------------------
       [exec] [ERROR] BUILD FAILURE
       [exec] [INFO] ------------------------------------------------------------------------
       [exec] [INFO] Compilation failure
       [exec] Failure executing javac, but could not parse the error:
       [exec] The system cannot find the path specified.
       [exec]
       [exec]
       [exec] [INFO] ------------------------------------------------------------------------
       [exec] [INFO] For more information, run Maven with the -e switch
       [exec] [INFO] ------------------------------------------------------------------------
       [exec] [INFO] Total time: 3 seconds
       [exec] [INFO] Finished at: Tue Nov 10 14:21:48 EET 2009
       [exec] [INFO] Final Memory: 16M/29M
       [exec] [INFO] ------------------------------------------------------------------------
      
      BUILD FAILED