Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Using GWT on Mac OS X: How To Guide
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Mike Aizatsky  
View profile  
 More options May 18 2006, 8:14 pm
From: "Mike Aizatsky" <mike.aizat...@gmail.com>
Date: Fri, 19 May 2006 00:14:39 -0000
Local: Thurs, May 18 2006 8:14 pm
Subject: Using GWT on Mac OS X: How To Guide
Hi!

I've made a substantial progress on using GWT browser on Mac OS X.
Here's the step by step guide to the things I've discovered so far:

1. Download the Mac OS X SWT from http://www.eclipse.org/swt/ . I've
used the 3.2RC2. Let me know if you try another version and get better
results

2. Download linux version of GWT

3. Add swt.jar to a classpath _BEFORE_ the gwt-dev jar

4. Add -Djava.library.path=<PATH_TO_SWT_LIBS> -XstartOnFirstThread VM
options

Start browser and have fun!

Remaining problems:

I didn't manage the embedded browser to do any sort of compilation. Let
me know if you master this.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Scott Blum  
View profile  
 More options May 18 2006, 11:58 pm
From: "Scott Blum" <sco...@google.com>
Date: Thu, 18 May 2006 23:58:35 -0400
Local: Thurs, May 18 2006 11:58 pm
Subject: Re: Using GWT on Mac OS X: How To Guide
Hi Mike,

I think it's great that you're experimenting with this, and I don't
want to throw cold water on the pioneering spirit.  But I also don't
want people to get frustrated banging on a problem that's a lot harder
than they may be expecting.

If it were simply a matter of getting the SWT Browser widget to run,
supporting Mac would have been a no brain decision.  We like Mac!  We
thought shipping with web mode support for Safari was really
important.

The problem in hosted mode is that there's a lot of magic going on
under hood.  Getting the hosted browsers to make calls from Java to
JavaScript (and vice-versa) requires a lot of browser-specific low
level mojo.  If you want to get an idea of just how much is going on,
you can setup a test like this (disclaimer- I'm typing this a text box
so it's probably not even syntactically correct):

void onModuleLoad() {
  bar();

}

native void foo() /*-{
  @your.class.Name::bar()();

}-*/;

void bar() {
  boolean stopHere = true;

}

Put a breakpoint on the "stopHere" line and you can check out the
trippy call stack from onModuleLoad() to baz().

All this being said, any Safari ninjas with expertise on Safari's
embedding APIs: send me an email, I'd like to talk to you!

Scott Blum
GWT Engineer

On 5/18/06, Mike Aizatsky <mike.aizat...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
walterc  
View profile  
 More options May 19 2006, 12:21 am
From: "walterc" <weih...@gmail.com>
Date: Fri, 19 May 2006 04:21:04 -0000
Local: Fri, May 19 2006 12:21 am
Subject: Re: Using GWT on Mac OS X: How To Guide
i got the hosted browser up, in eclipse debug mode no less.  my
application works great but i am not able to debug!  any pointers?

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mike Aizatsky  
View profile  
 More options May 19 2006, 5:19 am
From: "Mike Aizatsky" <mike.aizat...@gmail.com>
Date: Fri, 19 May 2006 09:19:21 -0000
Local: Fri, May 19 2006 5:19 am
Subject: Re: Using GWT on Mac OS X: How To Guide
Scott,

The Firefox is working flawlessly on Mac OS X. Why don't you use it too?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Scott Blum  
View profile  
 More options May 20 2006, 1:15 am
From: "Scott Blum" <sco...@google.com>
Date: Sat, 20 May 2006 01:15:05 -0400
Local: Sat, May 20 2006 1:15 am
Subject: Re: Using GWT on Mac OS X: How To Guide
On 5/19/06, Mike Aizatsky <mike.aizat...@gmail.com> wrote:

> Scott,

> The Firefox is working flawlessly on Mac OS X. Why don't you use it too?

That may be an option, but there's not a quick solution going this
route either.  We're using Eclipse's SWT Browser widget to handle much
of the embedding for us.  SWT Browser uses IE on Windows, Mozilla on
Linux, and Safari on Mac.  So to do Mozilla on Mac, we'd have to
abandon SWT Browser or reimplement it for Mozilla/Mac.  Either way
it'd be a fair amount of work.

Hosted mode for Mac is a priority, though I can't give a timeframe.

Scott Blum
GWT Engineer


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Exabrial  
View profile  
 More options May 21 2006, 7:11 pm
From: "Exabrial" <exabr...@gmail.com>
Date: Sun, 21 May 2006 23:11:37 -0000
Local: Sun, May 21 2006 7:11 pm
Subject: Re: Using GWT on Mac OS X: How To Guide
I was curious to exactly how you got the hosted browser running... Lend
me a hand?

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »