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

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

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: jBPM 4.x
    • Fix Version/s: jBPM 4.4
    • Component/s: None
    • Labels:
      None
    • Environment:

      osX 10.4.11, intel x86, macbook

    • Estimated Difficulty:
      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.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                jbarrez Joram Barrez
                Reporter:
                eschabell Eric D. Schabell
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: