Version 2

    Check out jBPM 3 from CVS

    cvs -d :pserver:anonymous@anoncvs.forge.jboss.com:/cvsroot/jbpm co -r bpel_1_1_ga jbpm.3

     

    Set the build properties

     

     

    Examine the preset properties in jbpm.3/build/build.properties. If you need to change some values, avoid doing so in the aforementioned file. Instead, specify the new values in the following location:

    user.home/jbpm/build.properties

    Here, user.home is the current user's home directory, typically something like C:\Documents and Settings\aguizar on Windows and /home/aguizar on Unix. Here is a sample of the properties you might want to customize.

    # overrides
    software.installation.dir=c:/dev
    jboss.version=4.2.2.GA
    lib.jbpm.jpdl.version=3.2.GA
    
    # new entries
    jboss.server=default

    Notes:

    • jboss.version specifies your target JBoss AS version. The supported versions are 4.0.3.SP1, 4.0.5.GA, 4.2.0.GA and 4.2.2.GA.

     

    • jboss.server indicates the preferred server configuration.

     

    Start JBoss AS

    cd jboss.home
    bin/run.sh -c default

    Make sure to run the same server configuration you specified in build.properties

     

    Run the test suite

    cd jbpm.3/bpel/library
    ant install.jar
    ant test

    Verify the jar builds correctly before you run the tests.

     

    Deploy jBPM BPEL to JBoss AS

    cd jbpm.3/bpel/service
    ant deploy.jboss

     

    Run the examples

    cd jbpm.3/bpel/examples
    ant deploy-all
    ant run-test

    Wait for all modules to be fully deployed before running the tests.