sh releng/ gen-eclipse -d dest/eclipse works fine on the buildfarm, but not locally (both new-spoofax-plugin branch).

Locally it generates files in the wrong places:

dest/eclipse/Info.plist (should be inside
dest/eclipse/MacOS/eclipse (should be inside
dest/eclipse/Resources/Eclipse.icns (should be inside
dest/eclipse/ (should be in and triggers an error)

(and many other files in the app)

Resulting in the following error:

Traceback (most recent call last):
  File "/Users/daco/spoofax-deploy/releng/src/", line 6, in <module>
  File "/Users/daco/Library/Python/3.4/lib/python/site-packages/plumbum/cli/", line 352, in run
    inst, retcode =, exit = False)
  File "/Users/daco/Library/Python/3.4/lib/python/site-packages/plumbum/cli/", line 348, in run
    retcode = inst.main(*tailargs)
  File "/Users/daco/spoofax-deploy/releng/src/metaborg/releng/", line 525, in main
    generator.Facade(fixIni = True, addJre = self.addJre, archiveJreSeparately = self.archiveJreSeparately)
  File "/Users/daco/spoofax-deploy/releng/src/metaborg/util/", line 97, in Facade
  File "/Users/daco/spoofax-deploy/releng/src/metaborg/util/", line 174, in FixIni
    with open(iniLocation, "r") as iniFile:
FileNotFoundError: [Errno 2] No such file or directory: 'dest/eclipse/'

Because files are in the wrong place the .app is not executable on mac.

Submitted by Daco Harkes on 8 January 2016 at 23:39

On 9 January 2016 at 11:07 Gabriël Konat commented:

Try to delete ~/.spoofax-releng-eclipsegen and run eclipsegen again, think this is a caching issue.

On 9 January 2016 at 11:09 Gabriël Konat tagged macos

On 9 January 2016 at 11:25 Daco Harkes commented:

Yes, that did the trick!

On 9 January 2016 at 11:28 Gabriël Konat tagged releng

On 9 January 2016 at 11:28 Gabriël Konat tagged eclipse

On 10 January 2016 at 11:13 Gabriël Konat closed this issue.

Log in to post comments