Chris Betts wrote:
> Hi Richard,
>
> sounds good!
>
> The Xdock thing is Mac OSX specific - do you have any idea how we can
> check for OSX in a shell script and include it if appropriate?
The uname command on *EVERY* unix system will return the OS.
I believe Mac will returns Darwin.
case `uname` in
Darwin)
JXOPTS="$JXOPTS -Xdock:name="JXplorer"
;;
# Add other specific OS options here
esac
>
> - Chris
>
> On Fri, Oct 10, 2008 at 9:07 AM, Richard Gomes <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
>
> Hi,
>
> I've done some changes in jxplorer.sh in order to:
>
> 1. Run it easily from any directory, doesnt matter where JXplorer is
> installed:
>
> basename=`basename $0`
> dirname=`dirname $0`
> cd ${dirname}
> dirname=`pwd`
>
> ....
>
> # OPTJX=/opt/jxplorer
> OPTJX=${dirname}
>
>
> 2. allow application start options to be easily changed and
> commented out because -Xdock:... was not working for some reason
> and I wasnt willing to invest too much time to discover why.
>
> # java options
> # JXOPTS=-Xdock:name="JXplorer"
> JXDEFS=-Dcom.apple.macos.useScreenMenuBar=true
>
> .....
>
> $JAVAV $JXOPTS $JXDEFS -cp blah blah blah
>
>
> Thanks
>
>
> Richard Gomes
> http://www.jquantlib.org/index.php/User:RichardGomes
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win
> great prizes
> Grand prize is a trip for two to an Open Source event anywhere in
> the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> <http://moblin-contest.org/redirect.php?banner_id=100&url=/>
> _______________________________________________
> Jxplorer-users mailing list
> [email protected]
> <mailto:[email protected]>
> https://lists.sourceforge.net/lists/listinfo/jxplorer-users
>
>
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Jxplorer-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jxplorer-users
--
Douglas E. Engert <[EMAIL PROTECTED]>
Argonne National Laboratory
9700 South Cass Avenue
Argonne, Illinois 60439
(630) 252-5444
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Jxplorer-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jxplorer-users