Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-2709

Ant installer fails on start.eclipse with osx (mac) eclipse install

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • jBPM 4.4
    • jBPM 4.x
    • None
    • None
    • Low

    Description

      In jbpm-4.3/install, 'ant start.eclipse' fails with message:

      Buildfile: build.xml
      [echo] database......... hsqldb
      [echo] tx............... standalone
      [echo] mail.smtp.host... localhost

      start.eclipse:
      [exec] -data: line 1: ../../jbpm-4.3/eclipse/eclipse: No such file or directory
      [exec] Result: 127

      BUILD SUCCESSFUL
      Total time: 1 second

      Seems like you have two options:

      1) provide a symlink to the correct location: ln -s PATH_TO_INSTALL/jbpm-4.3/ecipse/Eclipse.app/Contents/MacOS/eclipse PATH_TO_INSTALL/jbpm-4.3/eclipse/eclipse

      2) start eclipse using correct path: ../../jbpm-4.3/ecipse/Eclipse.app/Contents/MacOS/eclipse

      I prefer the second so you need to update the jbpm-4.3/install/build.xml script as follows:

      — build.xml 2009-12-28 11:10:36.000000000 +0100
      +++ fixed-build.xml 2009-12-30 15:31:20.000000000 +0100
      @@ -759,7 +759,7 @@
      </fileset>
      </chmod>
      <exec executable="/bin/bash" os="Linux,Mac OS X">

      • <arg line="-c "${jbpm.home}/eclipse/eclipse" "-data" "${jbpm.home}/workspace"" />
        + <arg line="-c "${jbpm.home}/eclipse/jbpm-4.3/ecipse/Eclipse.app/Contents/MacOS/eclipse" "-data" "${jbpm.home}/workspace"" />
        </exec>
        </target>

      Will attach this diff file for you.

      Attachments

        1. build.xml.diff
          0.5 kB
          Eric D. Schabell
        2. build.xml.diff
          0.5 kB
          Eric D. Schabell

        Activity

          People

            jbarrez Joram Barrez (Inactive)
            eschabel Eric D. Schabell (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: