[Gvsig_english] gvSIG and Java on Mac OS X
Mijail
hmijail at gmail.com
Fri Oct 24 00:00:21 CEST 2008
>
>
> I can't seem to figure out how to set up a simple Info.plist
> in the package so it will start my shell script. All works fine
> from the command line. But there seems to be now way Mac OS X
> accepts a shell script in the package's "MacOS" folder as an
> executable. It simply won't start. Did I miss something?
> Is it necessary to install some helper application on Mac OS X
> to launch a shell script from the desktop or out of a .app package?
>
You don't need to install anything. We use a shell script in such a
way since gvSIG 1.1 I think; you can see it at gvSIG.app/Contents/
MacOS/preJava . As the name suggests, it is a script which is run
before calling the original JavaStub, so we have the chance to set the
needed environment variable for PROJ4.
Without more details, I can't imagine what can be wrong with your
script. Maybe the .sh extension? (strange). Take a look at said
preJava script and its corresponding Info.plist; if it still doesn't
work, please let me see that part of your bundle.
More information about the Gvsig_internacional
mailing list