2 Replies Latest reply on Dec 15, 2006 2:07 PM by falazar

    Building from source

    Andrew Wong Newbie

      Hi everyone,

      I am facing problem when try to build from the source.

      1. I use Eclipse to import the jbpm.3 and build class path to the repository.
      2. When i run ant build in jbpm.3 \build folder, error occured.



      The error message is a bit shorter than the orginal. I couldnt paste all in here as it will be too long.

      Error message from the eclipse console
      ===================================================================

      BUILD FAILED
      C:\workspace\source\jbpm.3\build\build.xml:54: The following error occurred while executing this line:
      C:\workspace\source\jbpm.3\jboss\db\build.xml:38: java.io.FileNotFoundException: JAR entry org/jbpm/ant/jbpm.ant.tasks.properties not found in C:\workspace\source\jbpm.3\jpdl\jar\target\jbpm-jpdl.jar

      Total time: 1 minute 48 seconds

      ===================================================================


      3. So i try to use the Ant to build it again without closing the eclipse but another error message show.


      Error message from the eclipse console
      ===================================================================
      check.project.dirs:
      checkout.docs:
      [cvs] Caught exception: CreateProcess: cvs -d:pserver:anonymous:@anoncvs.forge.jboss.com:/cvsroot/jbpm checkout -d C:\workspace\source\jbpm.3\designer\jpdl\org.jbpm.gd.jpdl.build/target/projects/org.jbpm.gd.jpdl.docs -r jbpm_gpd_3_0_12_1 jbpm.3/designer/jpdl/org.jbpm.gd.jpdl.docs error=2
      checkout.site:
      [cvs] Caught exception: CreateProcess: cvs -d:pserver:anonymous:@anoncvs.forge.jboss.com:/cvsroot/jbpm checkout -d C:\workspace\source\jbpm.3\designer\jpdl\org.jbpm.gd.jpdl.build/target/projects/org.jbpm.gd.jpdl.site -r jbpm_gpd_3_0_12_1 jbpm.3/designer/jpdl/org.jbpm.gd.jpdl.site error=2
      checkout.feature:
      [cvs] Caught exception: CreateProcess: cvs -d:pserver:anonymous:@anoncvs.forge.jboss.com:/cvsroot/jbpm checkout -d C:\workspace\source\jbpm.3\designer\jpdl\org.jbpm.gd.jpdl.build/target/projects/org.jbpm.gd.jpdl.feature -r jbpm_gpd_3_0_12_1 jbpm.3/designer/jpdl/org.jbpm.gd.jpdl.feature error=2
      checkout.help:
      [cvs] Caught exception: CreateProcess: cvs -d:pserver:anonymous:@anoncvs.forge.jboss.com:/cvsroot/jbpm checkout -d C:\workspace\source\jbpm.3\designer\jpdl\org.jbpm.gd.jpdl.build/target/projects/org.jbpm.gd.jpdl.help -r jbpm_gpd_3_0_12_1 jbpm.3/designer/jpdl/org.jbpm.gd.jpdl.help error=2
      checkout.ui:
      [cvs] Caught exception: CreateProcess: cvs -d:pserver:anonymous:@anoncvs.forge.jboss.com:/cvsroot/jbpm checkout -d C:\workspace\source\jbpm.3\designer\jpdl\org.jbpm.gd.jpdl.build/target/projects/org.jbpm.gd.jpdl.ui -r jbpm_gpd_3_0_12_1 jbpm.3/designer/jpdl/org.jbpm.gd.jpdl.ui error=2
      checkout.core:
      [cvs] Caught exception: CreateProcess: cvs -d:pserver:anonymous:@anoncvs.forge.jboss.com:/cvsroot/jbpm checkout -d C:\workspace\source\jbpm.3\designer\jpdl\org.jbpm.gd.jpdl.build/target/projects/org.jbpm.gd.jpdl.core -r jbpm_gpd_3_0_12_1 jbpm.3/designer/jpdl/org.jbpm.gd.jpdl.core error=2
      get.projects:
      all:
      install.eclipse:
      [delete] Deleting directory C:\eclipse

      BUILD FAILED
      C:\workspace\source\jbpm.3\build\build.xml:56: The following error occurred while executing this line:
      C:\workspace\source\jbpm.3\designer\jpdl\org.jbpm.gd.jpdl.build\build.xml:57: The following error occurred while executing this line:
      C:\workspace\source\jbpm.3\designer\jpdl\org.jbpm.gd.jpdl.build\build.xml:73: Unable to delete file C:\eclipse\configuration\org.eclipse.core.runtime\.extraData.7

      Total time: 2 minutes 28 seconds

      =====================================================================


      4. After this error, i coudlnt open the eclipse again. The whole eclipse crashed.


      Error message from the Eclipse log

      =====================================================================


      !MESSAGE Missing required bundle org.eclipse.ui.editors_0.0.0.
      !SUBENTRY 2 org.jbpm.gd.jpdl.ui 2 0 2006-12-22 15:10:01.979
      !MESSAGE Missing required bundle org.eclipse.ui.forms_0.0.0.
      !SUBENTRY 2 org.jbpm.gd.jpdl.ui 2 0 2006-12-22 15:10:01.979
      !MESSAGE Missing required bundle org.eclipse.jface.text_0.0.0.
      !SUBENTRY 2 org.jbpm.gd.jpdl.ui 2 0 2006-12-22 15:10:01.979
      !MESSAGE Missing required bundle org.eclipse.wst.common.ui_0.0.0.
      !SUBENTRY 2 org.jbpm.gd.jpdl.ui 2 0 2006-12-22 15:10:01.979
      !MESSAGE Missing required bundle org.eclipse.jdt.debug.ui_0.0.0.
      !SUBENTRY 2 org.jbpm.gd.jpdl.ui 2 0 2006-12-22 15:10:01.979
      !MESSAGE Missing required bundle org.eclipse.debug.core_0.0.0.
      !SUBENTRY 2 org.jbpm.gd.jpdl.ui 2 0 2006-12-22 15:10:01.979
      !MESSAGE Missing required bundle org.eclipse.core.variables_0.0.0.

      ====================================================================

      Can anyone please tell me what is the problem behind this or provide any guide on how to overcome this.

      Thank you.


      Warmest regards,
      Andrew

        • 1. Re: Building from source
          Andrew Wong Newbie

          Hi everyone,

          By the way, i have modified the build properties files in the jbpm.3

          #########################################################################


          # INSTALLED SOFTWARE PROPERTIES

          # property software.installation.dir is used to define ant.home, jboss.home and
          # eclipse home. Apart from that, this property is only in the script that tests
          # a distribution.
          software.installation.dir=c:/software

          # ant.home is used in only target install.ant.libs in the build file in this directory.
          ant.home=${software.installation.dir}/apache-ant-1.6.5

          # jboss.home is used for deployment targets. the libraries and binaries dependencies
          # are resolved in the repo with the lib.jboss.version property specified below. that
          # property also is based on jboss.version to keep them in sync
          jboss.version=4.0.4.GA
          jboss.home=${software.installation.dir}/jboss-${jboss.version}

          # the eclipse home property has to end with 'eclipse' since the folders in the eclipse
          # distribution package start with eclipse and that package will be unzipped in
          # ${software.installation.dir}/eclipse/..
          # preferrably
          eclipse.home=${software.installation.dir}/eclipse

          # REPOSITORY LOCATION PROPERTIES
          local.repository=${user.home}/jbpm/repository
          remote.repository=http://repository.jboss.com
          remote.jboss.repository=http://superb-east.dl.sourceforge.net/sourceforge/jboss
          docbook.support.dir=${local.repository}

          # BROWSER PROPERTIES
          windows.browser=C:/Program Files/Internet Explorer/IEXPLORE.EXE
          macos.browser=/usr/bin/open
          linux.browser=mozilla

          # The remainder section of this configuration file should
          # typically not be customized.
          #########################################################################

          Why i run ant build in jbpm.3 \build folder, the build FAIL. Can anyone please please help.

          Thank you in advance.

          Regards,
          Andrew

          • 2. Re: Building from source
            falazar Novice

            We are having the same problem here:

            BUILD FAILED
            /v/applications/jbpm/jbpm-3.2.dec14/build/build.xml:54: The following error occurred while executing this line:
            /v/applications/jbpm/jbpm-3.2.dec14/jboss/db/build.xml:38: java.io.FileNotFoundException: JAR entry org/jbpm/ant/jbpm.ant.tasks.properties not found in /v/applications/jbpm/jbpm-3.2.dec14/jpdl/jar/target/jbpm-jpdl.jar


            But looking at the jar file we see:
            > jar tf ../jpdl/jar/target/jbpm-jpdl.jar | grep ant
            org/jbpm/ant/
            org/jbpm/ant/StartJBossTask.class
            org/jbpm/ant/jbpm.ant.tasks.properties

            It is in the jar file.

            Any thoughts appreciated.
            James Ratcliff