2 Replies Latest reply on Oct 2, 2014 9:05 AM by Travis Zimmerman

    How to run the jbpm installer from source?

    Travis Zimmerman Newbie

      I am trying to run the JBPM installer from source (version 6.1.0.Final).  Here are the steps I am doing:

       

      1. Clone the jbpm repository
      2. Open a command-line
      3. Go into the jbpm/jbpm-installer directory
      4. Run "ant install.demo"

       

      The build fails because it is trying to download certain files into the lib folder before it does the install.  In particular, it cannot perform these build targets, because the files do not exist on the internet:

       

      • ant download.jBPM.bin
      • ant download.dashboard

       

      The output from ant is below.

       

      If I download the full installer from Sourceforge, unzip it, and drop the required files into the lib folder, then I can run the install.  But I shouldn't have to unzip that full installer every time I want to install.  Ideally I should pull the required files from Jenkins or some repository on the internet.

       

      How can I pull the required files from the internet?  Or even better, how can I build them myself and put them in the lib folder?

       

      Thanks!

       

       

      ant output:

      ---------------

       

      [jbpm@localhost jbpm-installer]$ ant download.jBPM.bin

      Buildfile: /home/jbpm/jbpm/jbpm-installer/build.xml

       

      download.jBPM.bin.check:

           [echo] Checking jBPM binaries download ...

       

      download.jBPM.bin:

           [echo] Getting jBPM binaries ...

            [get] Getting: https://hudson.jboss.org/hudson/job/jBPM-6.1.x/lastSuccessfulBuild/artifact/jbpm-distribution/target/jbpm-6.1.0-SNAPSHOT-bin.zip

            [get] To: /home/jbpm/jbpm/jbpm-installer/lib/jbpm-6.1.0-SNAPSHOT-bin.zip

            [get] Error opening connection java.io.FileNotFoundException: https://hudson.jboss.org/hudson/job/jBPM-6.1.x/lastSuccessfulBuild/artifact/jbpm-distribution/target/jbpm-6.1.0-SNAPSHOT-bin.zip

            [get] Error opening connection java.io.FileNotFoundException: https://hudson.jboss.org/hudson/job/jBPM-6.1.x/lastSuccessfulBuild/artifact/jbpm-distribution/target/jbpm-6.1.0-SNAPSHOT-bin.zip

            [get] Error opening connection java.io.FileNotFoundException: https://hudson.jboss.org/hudson/job/jBPM-6.1.x/lastSuccessfulBuild/artifact/jbpm-distribution/target/jbpm-6.1.0-SNAPSHOT-bin.zip

            [get] Can't get https://hudson.jboss.org/hudson/job/jBPM-6.1.x/lastSuccessfulBuild/artifact/jbpm-distribution/target/jbpm-6.1.0-SNAPSHOT-bin.zip to /home/jbpm/jbpm/jbpm-installer/lib/jbpm-6.1.0-SNAPSHOT-bin.zip

       

      BUILD FAILED

      /home/jbpm/jbpm/jbpm-installer/build.xml:216: Can't get https://hudson.jboss.org/hudson/job/jBPM-6.1.x/lastSuccessfulBuild/artifact/jbpm-distribution/target/jbpm-6.1.0-SNAPSHOT-bin.zip to /home/jbpm/jbpm/jbpm-installer/lib/jbpm-6.1.0-SNAPSHOT-bin.zip

       

      Total time: 1 second

      [jbpm@localhost jbpm-installer]$

      [jbpm@localhost jbpm-installer]$ ant download.dashboard

      Buildfile: /home/jbpm/jbpm/jbpm-installer/build.xml

       

      download.dashboard.check:

           [echo] Checking Dashboard download ...

       

      download.dashboard:

           [echo] Getting Dashboard ...

            [get] Getting: https://hudson.jboss.org/hudson/job/jbpm-dashboard-6.1.x/lastSuccessfulBuild/artifact/jbpm-dashboard-distributions/target/jbpm-dashbuilder-6.1.0-SNAPSHOT-wildfly-8.war

            [get] To: /home/jbpm/jbpm/jbpm-installer/lib/dashboard-builder-6.1.0-SNAPSHOT.war

            [get] Error opening connection java.io.FileNotFoundException: https://hudson.jboss.org/hudson/job/jbpm-dashboard-6.1.x/lastSuccessfulBuild/artifact/jbpm-dashboard-distributions/target/jbpm-dashbuilder-6.1.0-SNAPSHOT-wildfly-8.war

            [get] Error opening connection java.io.FileNotFoundException: https://hudson.jboss.org/hudson/job/jbpm-dashboard-6.1.x/lastSuccessfulBuild/artifact/jbpm-dashboard-distributions/target/jbpm-dashbuilder-6.1.0-SNAPSHOT-wildfly-8.war

            [get] Error opening connection java.io.FileNotFoundException: https://hudson.jboss.org/hudson/job/jbpm-dashboard-6.1.x/lastSuccessfulBuild/artifact/jbpm-dashboard-distributions/target/jbpm-dashbuilder-6.1.0-SNAPSHOT-wildfly-8.war

            [get] Can't get https://hudson.jboss.org/hudson/job/jbpm-dashboard-6.1.x/lastSuccessfulBuild/artifact/jbpm-dashboard-distributions/target/jbpm-dashbuilder-6.1.0-SNAPSHOT-wildfly-8.war to /home/jbpm/jbpm/jbpm-installer/lib/dashboard-builder-6.1.0-SNAPSHOT.war

       

      BUILD FAILED

      /home/jbpm/jbpm/jbpm-installer/build.xml:231: Can't get https://hudson.jboss.org/hudson/job/jbpm-dashboard-6.1.x/lastSuccessfulBuild/artifact/jbpm-dashboard-distributions/target/jbpm-dashbuilder-6.1.0-SNAPSHOT-wildfly-8.war to /home/jbpm/jbpm/jbpm-installer/lib/dashboard-builder-6.1.0-SNAPSHOT.war

       

      Total time: 1 second

      [jbpm@localhost jbpm-installer]$