Ant installer fails on start.eclipse with osx (mac) eclipse install
-------------------------------------------------------------------
Key: JBPM-2709
URL:
https://jira.jboss.org/jira/browse/JBPM-2709
Project: jBPM
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: jBPM 4.x
Environment: osX 10.4.11, intel x86, macbook
Reporter: Eric D. Schabell
Priority: Minor
Fix For: jBPM 4.x
Attachments: build.xml.diff
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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira