Re: MacOSX Leopard e

John Carlson <[email protected]>
Newsgroups gmane.comp.lang.e.general
Message-ID <[email protected]>
Here's what I see at the top:

#!/usr/bin/env rune

# Copyright 2005-2006 Kevin Reid, under the terms of the MIT X license
# found at http://www.opensource.org/licenses/mit- 
license.html ................

pragma.syntax("0.9")

# TODO:
#   bundle options like icons, name, specific bundle ID
#   option to invoke PATH's rune

Here's what I get when I rune it

./rune scripts/macify-swt.e
# problem: a 0 size list doesn't match a 2 size list pattern
#
#   - __main$main#run/4: </Users/johncarlson/dev/e/scripts/macify- 
swt.e#:span::73:8::73:8>
#   . <main>([], <file>, <an ESecureRandom>, "/Users/johncarlson/dev/ 
e/")
#   @ run/4: </Users/johncarlson/dev/e/scripts/macify-swt.e#:span:: 
96:4::96:4>
#   - EExpr#evalToPair(Scope)
#   .  
e 
` 
main 
.run(interp.getArgs(),...p.getProps().get("e.home"))`.evalToPair(<a  
Scope>)
#   @ evalToPair/1: <jar:file:/Users/johncarlson/dev/e/e.jar!/org/ 
erights/e/elang/cmd/cmdMakerMaker.emaker#:span::124:57::124:66>

# problem: a 0 size list doesn't match a 2 size list pattern
#
#   - __main$main#run/4: </Users/johncarlson/dev/e/scripts/macify- 
swt.e#:span::73:8::73:8>
#   . <main>([], <file>, <an ESecureRandom>, "/Users/johncarlson/dev/ 
e/")
#   @ run/4: </Users/johncarlson/dev/e/scripts/macify-swt.e#:span:: 
96:4::96:4>
#   - EExpr#evalToPair(Scope)
#   .  
e 
` 
main 
.run(interp.getArgs(),...p.getProps().get("e.home"))`.evalToPair(<a  
Scope>)
#   @ evalToPair/1: <jar:file:/Users/johncarlson/dev/e/e.jar!/org/ 
erights/e/elang/cmd/cmdMakerMaker.emaker#:span::124:57::124:66>
#   - static Ref#fulfillment(Object)
#   . <makeRef>.fulfillment(<ref broken by problem: a 0 size list  
doesn't match a 2 size list pattern>)
#   @ fulfillment/1

Here's what I get when I try to run a swt rune script:

Macintosh:e johncarlson$ ./rune scripts/capDesk.e-swt
# problem: <NoClassDefFoundError: org/eclipse/swt/internal/Library>
#
#   - static Vat#make(String, String)
#   . <makeVat>.make("swt", "evaling capDesk.e-swt")
#   @ make/2: <jar:file:/Users/johncarlson/dev/e/e.jar!/org/erights/e/ 
elang/launcher/eLauncherAuthor.emaker#:span::123:28::123:31>
#   - org.erights.e.elang.launcher.eLauncherAuthor$eLauncherAuthor 
$eLauncher#run/4: <jar:file:/Users/johncarlson/dev/e/e.jar!/org/ 
erights/e/elang/launcher/eLauncherAuthor.emaker#:span::80:15::80:17>
#   . <eLauncher>(["java.vendor" =...usr/bin/java"], ["--runner...>  
"swt"], "/Users/joh...sk.e-swt", [])
#   @ run/4: <jar:file:/Users/johncarlson/dev/e/e.jar!/org/erights/e/ 
elang/launcher/e_swtLauncherAuthor.emaker#:span::65:32::65:32>
#   - org.erights.e.elang.launcher.e_swtLauncherAuthor 
$e_swtLauncherAuthor$e_swtLauncher#run/4: <jar:file:/Users/johncarlson/ 
dev/e/e.jar!/org/erights/e/elang/launcher/ 
e_swtLauncherAuthor.emaker#:span::63:15::63:17>
#   . <e_swtLauncher>(["java.vendor"...r/bin/java"], [].asMap(), "/ 
Users/johncarl...capDesk.e-swt", [])
#   @ run/4: <jar:file:/Users/johncarlson/dev/e/e.jar!/org/erights/e/ 
elang/cmd/runeAuthor.emaker#:span::175:35::175:35>
#   - org.erights.e.elang.cmd.runeAuthor$runeAuthor$rune#run/2:  
<jar:file:/Users/johncarlson/dev/e/e.jar!/org/erights/e/elang/cmd/ 
runeAuthor.emaker#:span::118:15::118:17>
#   . <rune>(["java.vendor" => "Apple Inc.", "s... "e.javacmd" => "/ 
usr/bin/java"], ["scripts/capDesk.e-swt"])
#   @ run/2: <jar:file:/Users/johncarlson/dev/e/e.jar!/org/erights/e/ 
elang/cmd/runeAuthor.emaker#:span::105:27::105:27>
#   - org.erights.e.elang.cmd.runeAuthor$runeAuthor$rune#run/1:  
<jar:file:/Users/johncarlson/dev/e/e.jar!/org/erights/e/elang/cmd/ 
runeAuthor.emaker#:span::104:15::104:17>
#   . <rune>(["scripts/capDesk.e-swt"])

On Feb 29, 2008, at 2:31 PM, Kevin Reid wrote:

> On Feb 29, 2008, at 17:13, John Carlson wrote:
>
>> How do you use scripts/macify-swt.e?
>
> There is documentation and usage in the comments at the top. If that
> isn't sufficient, let me know what you're still wondering so I can
> improve it.
>
> That said, the consequences of not wrapping a SWT app are, in my
> experience, merely that its windows won't come to the front. I
> haven't tried it on Leopard though.
>
> -- 
> Kevin Reid                            <http://homepage.mac.com/ 
> kpreid/>
>
>
> _______________________________________________
> e-lang mailing list
> [email protected]
> http://www.eros-os.org/mailman/listinfo/e-lang
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.