JBossWS - Building From Source Ant

    This page documents the Ant based build that we used before jbossws-3.0.2. The Maven based build of later versions, is documented here.

    Checkout and build JBossAS

       svn co https://svn.jboss.org/repos/jbossas/trunk
    

    For more information, see SVNRepository

    Build jboss with jdk-1.5
       cd trunk
       build/build.sh
    
    Run jboss

    Before you start jboss, you should follow the deploy steps for a supported stack (see below).

       cd trunk/build/output/jboss-5.0.0.Beta3
       bin/run.sh

    Checkout and build JBossWS-Native

       svn co https://svn.jboss.org/repos/jbossws/stack/native/trunk jbossws-native
    

    For more information, see JBossWS - Subversion

    Edit ant.properties
       jboss500.home=/svn/jbossas/trunk/build/output/jboss-5.0.0.Beta3
       jbossws.integration.target=jboss500
    
    Build/Deploy

    To deploy jbossws-native you run:

       cd jbossws-native
       ant deploy-jboss500
    

    When jboss starts you should see something like

    09:27:34,147 INFO  [ServerImpl] Starting JBoss (Microcontainer)...
    09:27:34,150 INFO  [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.Beta3 (build: SVNTag=JBoss_5_0_0_Beta3 date=200708221248)
    ...
    09:28:26,733 INFO  [NativeServerConfig] JBoss Web Services - Native
    09:28:26,734 INFO  [NativeServerConfig] jbossws-native-2.1.0.DEV (build=200708231225)
    ...
    09:28:36,502 INFO  [AjpProtocol] Starting Coyote AJP/1.3 on ajp-0.0.0.0-8009
    09:28:36,519 INFO  [ServerImpl] JBoss (Microcontainer) [5.0.0.Beta3 (build: SVNTag=JBoss_5_0_0_Beta3 date=200708221248)] Started in 1m:2s:360ms
    
    Run the smoke tests
       cd jbossws-native
       ant tests-main tests-smoke
    

    You should expect to see no test failures.  There might be a number of FIXME messages on the console. These are linked to open JIRA issues.

     

    Checkout and build JBossWS-Metro

       svn co https://svn.jboss.org/repos/jbossws/stack/metro/trunk jbossws-metro
    

    For more information, see JBossWS - Subversion

    Edit ant.properties
       jboss500.home=/svn/jbossas/trunk/build/output/jboss-5.0.0.Beta3
       jbossws.integration.target=jboss500
    
    Build/Deploy

    Tou deploy jbossws-metro you run:

       cd jbossws-metro
       ant deploy-jboss500
    

    When jboss starts you should see something like

    09:27:34,147 INFO  [ServerImpl] Starting JBoss (Microcontainer)...
    09:27:34,150 INFO  [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.Beta3 (build: SVNTag=JBoss_5_0_0_Beta3 date=200708221248)
    ...
    09:28:26,733 INFO  [MetroServerConfig] JBoss Web Services - Sun Metro
    09:28:26,734 INFO  [MetroServerConfig] jbossws-metro-2.1.0.DEV (build=200708231225)
    ...
    09:28:36,502 INFO  [AjpProtocol] Starting Coyote AJP/1.3 on ajp-0.0.0.0-8009
    09:28:36,519 INFO  [ServerImpl] JBoss (Microcontainer) [5.0.0.Beta3 (build: SVNTag=JBoss_5_0_0_Beta3 date=200708221248)] Started in 1m:2s:360ms
    
    Run the smoke tests
       cd jbossws-metro
       ant tests-main tests-smoke
    

    You should expect to see no test failures.  There might be a number of FIXME messages on the console. These are linked to open JIRA issues.

     

    Checkout and build JBossWS-CXF

       svn co https://svn.jboss.org/repos/jbossws/stack/cxf/trunk jbossws-cxf
    

    For more information, see JBossWS - Subversion

    Edit ant.properties

    This shows how to run against JBossAS trunk.

       jboss500.home=/svn/jbossas/trunk/build/output/jboss-5.0.0.Beta3
       jbossws.integration.target=jboss500
    
    Edit version.properties

    This step is required if you want to build and integrate a specific version from the Apache-CXF project

    # Apache CXF version
    cxf.svn.url=http://svn.apache.org/repos/asf/incubator/cxf/trunk
    cxf.svn.rev=HEAD
    
    # Apache CXF versions
    cxf.version=2.1-incubator-SNAPSHOT
    cxf.geronimo.javamail=1.4_spec-1.0-M1
    cxf.geronimo.ws.metadata=2.0_spec-1.1.1
    cxf.jaxws.api=2.0
    cxf.jdom=1.0
    cxf.neethi=2.0
    cxf.saaj=1.3
    cxf.spring=2.0.4
    cxf.xbean=2.2.0
    cxf.xml.resolver=1.2
    cxf.xmlschema=1.2
    
    Build/Deploy

    Tou deploy jbossws-cxf you run:

       cd jbossws-cxf
       ant deploy-jboss500
    

    When jboss starts you should see something like

    09:27:34,147 INFO  [ServerImpl] Starting JBoss (Microcontainer)...
    09:27:34,150 INFO  [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.Beta3 (build: SVNTag=JBoss_5_0_0_Beta3 date=200708221248)
    ...
    09:28:26,733 INFO  [CXFServerConfig] JBoss Web Services - Apache CXF
    09:28:26,734 INFO  [CXFServerConfig] jbossws-cxf-2.1.0.DEV (build=200708231225)
    ...
    09:28:36,502 INFO  [AjpProtocol] Starting Coyote AJP/1.3 on ajp-0.0.0.0-8009
    09:28:36,519 INFO  [ServerImpl] JBoss (Microcontainer) [5.0.0.Beta3 (build: SVNTag=JBoss_5_0_0_Beta3 date=200708221248)] Started in 1m:2s:360ms
    
    Run the smoke tests
       cd jbossws-cxf
       ant tests-main tests-smoke
    

    You should expect to see no test failures.  There might be a number of FIXME messages on the console. These are linked to open JIRA issues.

    Tests that are known to fail should be excluded in the container specific exclude file. Note, if a test is excluded it is not even compiled and hence will not run in any of the ant test targets.