Re: SWT seems to think I'm running on Linux and not a Mac ???

2009-04-22 Thread Jeff Chimene

On 04/22/2009 12:06 PM, Rob Tanner wrote:
> Hi,
>
> I've been going back and forth with Instantiations tech support over
> their GET Designer Eclipse plugin.  When I try and execute a GWT
> application in Eclipse that I built with the Designer, I get an
> Exception immediately.  The error is:  Exception in thread "main"
> java.lang.UnsatisfiedLinkError: no swt-pi-gtk-3062 in
> java.library.path.
>
> Instantiation's support says that for some reason, GWT's SWT really
> does think I'm running on Linux.
>
> I'm using gwt-mac-1.5.3 (the Designer on the Mac doesn't yet support
> 1.6.4 according to Instantiation support) and I also have the current
> Google plugin from Google's Eclipse update site installed.  My system
> is a MacBook Pro with 10.5.6 installed.  Does this problem at all
> sound familiar?
>
> Thanks,
> Rob
>

I'll stake a stab at this, maybe we can isolate the problem...

o Is this your first project w/ GWT in this environment?
   If so, please try establishing a baseline by installing and running 
the StockWatcher example

o Is SWT the Standard Widget Toolkit?
   The sentence "GWT's SWT really does think I'm running on Linux" 
implies ownership of SWT by GWT. Isn't SWT a separate library?

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: SWT seems to think I'm running on Linux and not a Mac ???

2009-04-22 Thread Rob Tanner



On Apr 22, 1:00 pm, Jeff Chimene  wrote:

> On 04/22/2009 12:06 PM, Rob Tanner wrote:
>
>
>
> > Hi,
>
> > I've been going back and forth with Instantiations tech support over
> > their GET Designer Eclipse plugin.  When I try and execute a GWT
> > application in Eclipse that I built with the Designer, I get an
> > Exception immediately.  The error is:  Exception in thread "main"
> > java.lang.UnsatisfiedLinkError: no swt-pi-gtk-3062 in
> > java.library.path.
>
> > Instantiation's support says that for some reason, GWT's SWT really
> > does think I'm running on Linux.
>
> > I'm using gwt-mac-1.5.3 (the Designer on the Mac doesn't yet support
> > 1.6.4 according to Instantiation support) and I also have the current
> > Google plugin from Google's Eclipse update site installed.  My system
> > is a MacBook Pro with 10.5.6 installed.  Does this problem at all
> > sound familiar?
>
> > Thanks,
> > Rob
>
> I'll stake a stab at this, maybe we can isolate the problem...
>
> o Is this your first project w/ GWT in this environment?
>    If so, please try establishing a baseline by installing and running
> the StockWatcher example
>
> o Is SWT the Standard Widget Toolkit?
>    The sentence "GWT's SWT really does think I'm running on Linux"
> implies ownership of SWT by GWT. Isn't SWT a separate library?

Yes.  This is my first project.

I went through the first step of of the project: Creating a GWT
application.  When I created it, a message popped up in the Eclipse
console:

Encountered a problem: Unexpected exception
Please see the logs [/tmp/enhance40780.log] for further information.

The contents of the log file:

java.lang.RuntimeException: Unexpected exception
at com.google.appengine.tools.enhancer.Enhancer.execute
(Enhancer.java:59)
at com.google.appengine.tools.enhancer.Enhance.
(Enhance.java:60)
at com.google.appengine.tools.enhancer.Enhance.main
(Enhance.java:41)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.google.appengine.tools.enhancer.Enhancer.execute
(Enhancer.java:57)
... 2 more
Caused by: javax.xml.parsers.FactoryConfigurationError: Provider
org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found
at javax.xml.parsers.DocumentBuilderFactory.newInstance
(DocumentBuilderFactory.java:104)
at org.datanucleus.plugin.PluginParser.parsePluginElements
(PluginParser.java:257)
at
org.datanucleus.plugin.NonManagedPluginRegistry.registerExtensions
(NonManagedPluginRegistry.java:233)
at
org.datanucleus.plugin.NonManagedPluginRegistry.registerExtensionPoints
(NonManagedPluginRegistry.java:159)
at org.datanucleus.plugin.PluginManager.registerExtensionPoints
(PluginManager.java:82)
at org.datanucleus.OMFContext.(OMFContext.java:164)
at org.datanucleus.enhancer.DataNucleusEnhancer.
(DataNucleusEnhancer.java:153)
at org.datanucleus.enhancer.DataNucleusEnhancer.main
(DataNucleusEnhancer.java:1138)
... 7 more


Step 2,  Testing the default project components, resulted in nothing
being displayed (although the Eclipse console flickered).  Assuming
that something got logged about the problem somewhere, do you know
where that somewhere would be?

With regard to SWT, I believe that's exactly correct.  There are 4
jnilibs in the toolkit with swt in their name and I presume they
implement at least part of the Software Widget Toolkit.  They are
clearly carbon and not gtk which makes sense because I'm running on a
Mac, not Linux.  But the error I get using the GWT Designer is no swt-
pi-gtk-3062 in java.library.path.  Also, I don't believe the Designer
even looks at the GWT Eclipse plugin.  The one must-be-set preference
in the Designer configuration is where in the file system to find the
toolkit.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: SWT seems to think I'm running on Linux and not a Mac ???

2009-04-22 Thread Jeff Chimene

On 04/22/2009 04:15 PM, Rob Tanner wrote:
>
> On Apr 22, 1:00�pm, Jeff Chimene  wrote:
>
>
>> On 04/22/2009 12:06 PM, Rob Tanner wrote:
>>
>>  
>>> Hi,
>>>
>>> I've been going back and forth with Instantiations tech support over
>>> their GET Designer Eclipse plugin. �When I try and execute a GWT
>>> application in Eclipse that I built with the Designer, I get an
>>> Exception immediately. �The error is: �Exception in thread "main"
>>> java.lang.UnsatisfiedLinkError: no swt-pi-gtk-3062 in
>>> java.library.path.
>>> Instantiation's support says that for some reason, GWT's SWT really
>>> does think I'm running on Linux.
>>>
>>> I'm using gwt-mac-1.5.3 (the Designer on the Mac doesn't yet support
>>> 1.6.4 according to Instantiation support) and I also have the current
>>> Google plugin from Google's Eclipse update site installed. �My system
>>> is a MacBook Pro with 10.5.6 installed. �Does this problem at all
>>> sound familiar?
>>>
>>> Thanks,
>>> Rob
>>>
>> I'll stake a stab at this, maybe we can isolate the problem...
>>
>> o Is this your first project w/ GWT in this environment?
>> � �If so, please try establishing a baseline by installing and running
>> the StockWatcher example
>>
>> o Is SWT the Standard Widget Toolkit?
>> � �The sentence "GWT's SWT really does think I'm running on Linux"
>> implies ownership of SWT by GWT. Isn't SWT a separate library?
>>  
>
> Yes.  This is my first project.
>
> I went through the first step of of the project: Creating a GWT
> application.  When I created it, a message popped up in the Eclipse
> console:
>
> Encountered a problem: Unexpected exception
> Please see the logs [/tmp/enhance40780.log] for further information.
>
What's "enhance"? I would have expected "StockWatcher"?

Either way, at this point I'd verify you have a good installation of 
GWT. Set Eclipse aside for the moment and try building the Showcase 
samples using the command line.

If you make your default directory something like 
"/path/to/com.google.gwt.eclipse.sdkbundle.linux_1.6.4.v200904062334/gwt-linux-1.6.4/samples"

You should find a file named "build.xml"

You may need to set root permissions to write into this directory, but 
try "ant build"

If that works, try running in Hosted mode "ant hosted"
> Step 2,  Testing the default project components, resulted in nothing
> being displayed (although the Eclipse console flickered).  Assuming
> that something got logged about the problem somewhere, do you know
> where that somewhere would be?
>
> With regard to SWT, I believe that's exactly correct.  There are 4
> jnilibs in the toolkit with swt in their name and I presume they
> implement at least part of the Software Widget Toolkit.  They are
> clearly carbon and not gtk which makes sense because I'm running on a
> Mac, not Linux.  But the error I get using the GWT Designer is no swt-
> pi-gtk-3062 in java.library.path.  Also, I don't believe the Designer
> even looks at the GWT Eclipse plugin.  The one must-be-set preference
> in the Designer configuration is where in the file system to find the
> toolkit.
>
Well, this got me interested to see what's on my system:

$ ls 
/usr/local/bin/eclipse/plugins/com.google.gwt.eclipse.sdkbundle.linux_1.6.4.v200904062334/gwt-linux-1.6.4/lib*
/usr/local/bin/eclipse/plugins/com.google.gwt.eclipse.sdkbundle.linux_1.6.4.v200904062334/gwt-linux-1.6.4/libgwt-ll.so
/usr/local/bin/eclipse/plugins/com.google.gwt.eclipse.sdkbundle.linux_1.6.4.v200904062334/gwt-linux-1.6.4/libswt-gtk-3235.so
/usr/local/bin/eclipse/plugins/com.google.gwt.eclipse.sdkbundle.linux_1.6.4.v200904062334/gwt-linux-1.6.4/libswt-mozilla17-profile-gcc3-gtk-3235.so
/usr/local/bin/eclipse/plugins/com.google.gwt.eclipse.sdkbundle.linux_1.6.4.v200904062334/gwt-linux-1.6.4/libswt-mozilla17-profile-gtk-3235.so
/usr/local/bin/eclipse/plugins/com.google.gwt.eclipse.sdkbundle.linux_1.6.4.v200904062334/gwt-linux-1.6.4/libswt-mozilla-gcc3-gtk-3235.so
/usr/local/bin/eclipse/plugins/com.google.gwt.eclipse.sdkbundle.linux_1.6.4.v200904062334/gwt-linux-1.6.4/libswt-mozilla-gtk-3235.so
/usr/local/bin/eclipse/plugins/com.google.gwt.eclipse.sdkbundle.linux_1.6.4.v200904062334/gwt-linux-1.6.4/libswt-pi-gtk-3235.so

So, let's check the libraries on your system?

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: SWT seems to think I'm running on Linux and not a Mac ???

2009-04-22 Thread Jeff Chimene

On 04/22/2009 04:15 PM, Rob Tanner wrote:
>
> On Apr 22, 1:00�pm, Jeff Chimene  wrote:
>
>
>> On 04/22/2009 12:06 PM, Rob Tanner wrote:
>>
>>
>>
>>  
>>> Hi,
>>>
>>> I've been going back and forth with Instantiations tech support over
>>> their GET Designer Eclipse plugin. �When I try and execute a GWT
>>> application in Eclipse that I built with the Designer, I get an
>>> Exception immediately. �The error is: �Exception in thread "main"
>>> java.lang.UnsatisfiedLinkError: no swt-pi-gtk-3062 in
>>> java.library.path.
>>>
>>> Instantiation's support says that for some reason, GWT's SWT really
>>> does think I'm running on Linux.
>>>
>>> I'm using gwt-mac-1.5.3 (the Designer on the Mac doesn't yet support
>>> 1.6.4 according to Instantiation support) and I also have the current
>>> Google plugin from Google's Eclipse update site installed. �My system
>>> is a MacBook Pro with 10.5.6 installed. �Does this problem at all
>>> sound familiar?
>>>
>>> Thanks,
>>> Rob
>>>
>> I'll stake a stab at this, maybe we can isolate the problem...
>>
>> o Is this your first project w/ GWT in this environment?
>> � �If so, please try establishing a baseline by installing and running
>> the StockWatcher example
>>
>> o Is SWT the Standard Widget Toolkit?
>> � �The sentence "GWT's SWT really does think I'm running on Linux"
>> implies ownership of SWT by GWT. Isn't SWT a separate library?
>>  
>
> Yes.  This is my first project.
>
> I went through the first step of of the project: Creating a GWT
> application.  When I created it, a message popped up in the Eclipse
> console:
>
> Encountered a problem: Unexpected exception
> Please see the logs [/tmp/enhance40780.log] for further information.
>

Sorry, my previous post (deleted) referenced GWT 1.6

Nevertheless, please set Eclipse aside for the moment and try compiling 
any of the samples/

For example, inside the samples/DynaTable/ you should find the 
DynaTable-compile and DynaTable-shell scripts. Please try one of the 
samples/* *-compile or the *-shell scripts.


> The contents of the log file:
>
> java.lang.RuntimeException: Unexpected exception
>  at com.google.appengine.tools.enhancer.Enhancer.execute
>
>


I have to admit that I don't understand the log. But, it reinforces my 
desire to verify the integrity of your GWT installation.

> Step 2,  Testing the default project components, resulted in nothing
> being displayed (although the Eclipse console flickered).  Assuming
> that something got logged about the problem somewhere, do you know
> where that somewhere would be?
>
> With regard to SWT, I believe that's exactly correct.  There are 4
> jnilibs in the toolkit with swt in their name and I presume they
> implement at least part of the Software Widget Toolkit.  They are
> clearly carbon and not gtk which makes sense because I'm running on a
> Mac, not Linux.  But the error I get using the GWT Designer is no swt-
> pi-gtk-3062 in java.library.path.  Also, I don't believe the Designer
> even looks at the GWT Eclipse plugin.  The one must-be-set preference
> in the Designer configuration is where in the file system to find the
> toolkit.
>
>
That is a problem. For example, a listing of my 1.5.3 directory shows:
/usr/local/lib/gwt-linux-1.5.3$ ls libswt* -c1
libswt-gtk-3235.so
libswt-mozilla17-profile-gcc3-gtk-3235.so
libswt-mozilla17-profile-gtk-3235.so
libswt-mozilla-gcc3-gtk-3235.so
libswt-mozilla-gtk-3235.so
libswt-pi-gtk-3235.so

So, I can see where Tech Support draws their conclusion. Can you check 
the corresponding GWT directory on your installation?



--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: SWT seems to think I'm running on Linux and not a Mac ???

2009-04-23 Thread Salvador Diaz

That stack trace is related to the app engine sdk, are you sure you
want to use it ?

To further explain the problem: I've seen the same exception in a post
a couple of days ago here, the poster eventually found out that he
needed a xerces jar in his classpath and that solved the issue (look
at the cause of the exception at the bottom of the snippet below)

Hope it helps,

Salvador

> java.lang.RuntimeException: Unexpected exception
>         at com.google.appengine.tools.enhancer.Enhancer.execute
> (Enhancer.java:59)
>         at com.google.appengine.tools.enhancer.Enhance.
> (Enhance.java:60)
>         at com.google.appengine.tools.enhancer.Enhance.main
> (Enhance.java:41)
> Caused by: java.lang.reflect.InvocationTargetException
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke
> (NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke
> (DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at com.google.appengine.tools.enhancer.Enhancer.execute
> (Enhancer.java:57)
>         ... 2 more
> Caused by: javax.xml.parsers.FactoryConfigurationError: Provider
> org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found
>         at javax.xml.parsers.DocumentBuilderFactory.newInstance
> (DocumentBuilderFactory.java:104)

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: SWT seems to think I'm running on Linux and not a Mac ???

2009-04-23 Thread Rob Tanner



On Apr 22, 5:35 pm, Jeff Chimene  wrote:
> On 04/22/2009 04:15 PM, Rob Tanner wrote:
>
>
>
>
>
> > On Apr 22, 1:00 pm, Jeff Chimene  wrote:
>
> >> On 04/22/2009 12:06 PM, Rob Tanner wrote:
>
> >>> Hi,
>
> >>> I've been going back and forth with Instantiations tech support over
> >>> their GET Designer Eclipse plugin. When I try and execute a GWT
> >>> application in Eclipse that I built with the Designer, I get an
> >>> Exception immediately. The error is: Exception in thread "main"
> >>> java.lang.UnsatisfiedLinkError: no swt-pi-gtk-3062 in
> >>> java.library.path.
>
> >>> Instantiation's support says that for some reason, GWT's SWT really
> >>> does think I'm running on Linux.
>
> >>> I'm using gwt-mac-1.5.3 (the Designer on the Mac doesn't yet support
> >>> 1.6.4 according to Instantiation support) and I also have the current
> >>> Google plugin from Google's Eclipse update site installed. My system
> >>> is a MacBook Pro with 10.5.6 installed. Does this problem at all
> >>> sound familiar?
>
> >>> Thanks,
> >>> Rob
>
> >> I'll stake a stab at this, maybe we can isolate the problem...
>
> >> o Is this your first project w/ GWT in this environment?
> >> If so, please try establishing a baseline by installing and running
> >> the StockWatcher example
>
> >> o Is SWT the Standard Widget Toolkit?
> >> The sentence "GWT's SWT really does think I'm running on Linux"
> >> implies ownership of SWT by GWT. Isn't SWT a separate library?
>
> > Yes.  This is my first project.
>
> > I went through the first step of of the project: Creating a GWT
> > application.  When I created it, a message popped up in the Eclipse
> > console:
>
> > Encountered a problem: Unexpected exception
> > Please see the logs [/tmp/enhance40780.log] for further information.
>
> Sorry, my previous post (deleted) referenced GWT 1.6
>
> Nevertheless, please set Eclipse aside for the moment and try compiling
> any of the samples/
>
> For example, inside the samples/DynaTable/ you should find the
> DynaTable-compile and DynaTable-shell scripts. Please try one of the
> samples/* *-compile or the *-shell scripts.
>
> > The contents of the log file:
>
> > java.lang.RuntimeException: Unexpected exception
> >          at com.google.appengine.tools.enhancer.Enhancer.execute
>
> 
>
> I have to admit that I don't understand the log. But, it reinforces my
> desire to verify the integrity of your GWT installation.
>
>
>
> > Step 2,  Testing the default project components, resulted in nothing
> > being displayed (although the Eclipse console flickered).  Assuming
> > that something got logged about the problem somewhere, do you know
> > where that somewhere would be?
>
> > With regard to SWT, I believe that's exactly correct.  There are 4
> > jnilibs in the toolkit with swt in their name and I presume they
> > implement at least part of the Software Widget Toolkit.  They are
> > clearly carbon and not gtk which makes sense because I'm running on a
> > Mac, not Linux.  But the error I get using the GWT Designer is no swt-
> > pi-gtk-3062 in java.library.path.  Also, I don't believe the Designer
> > even looks at the GWT Eclipse plugin.  The one must-be-set preference
> > in the Designer configuration is where in the file system to find the
> > toolkit.
>
> That is a problem. For example, a listing of my 1.5.3 directory shows:
> /usr/local/lib/gwt-linux-1.5.3$ ls libswt* -c1
> libswt-gtk-3235.so
> libswt-mozilla17-profile-gcc3-gtk-3235.so
> libswt-mozilla17-profile-gtk-3235.so
> libswt-mozilla-gcc3-gtk-3235.so
> libswt-mozilla-gtk-3235.so
> libswt-pi-gtk-3235.so
>
> So, I can see where Tech Support draws their conclusion. Can you check
> the corresponding GWT directory on your installation?

Just for grins, I decided to try building StockWatcher from the
command line (or did you suggest that -- I don't remember).  And guess
what, the output of ant build was:

Buildfile: build.xml

libs:

javac:
[mkdir] Created dir: /Users/rtanner/Java/StockWatcher/StockWatcher/
war/WEB-INF/classes
[javac] Compiling 4 source files to /Users/rtanner/Java/
StockWatcher/StockWatcher/war/WEB-INF/classes
 [copy] Copying 1 file to /Users/rtanner/Java/StockWatcher/
StockWatcher/war/WEB-INF/classes

hosted:
 [java] Exception in thread "main" java.lang.UnsatisfiedLinkError:
no swt-pi-gtk-3062 in java.library.path
 [java] at java.lang.ClassLoader.loadLibrary(ClassLoader.java:
1753)
 [java] at java.lang.Runtime.loadLibrary0(Runtime.java:822)
 [java] at java.lang.System.loadLibrary(System.java:993)
 [java] at org.eclipse.swt.internal.Library.loadLibrary
(Library.java:100)
 [java] at org.eclipse.swt.internal.gtk.OS.(OS.java:
19)
 [java] at org.eclipse.swt.internal.Converter.wcsToMbcs
(Converter.java:63)
 [java] at org.eclipse.swt.internal.Converter.wcsToMbcs
(Converter.java:54)
 [java] at org.eclipse.swt.widgets.Display.
(Display.java:118)
 [java] at com.google.gwt.dev.SwtHostedModeBase.
(SwtHostedM

Re: SWT seems to think I'm running on Linux and not a Mac ???

2009-04-23 Thread Rob Tanner



On Apr 23, 1:13 am, Salvador Diaz  wrote:
> That stack trace is related to the app engine sdk, are you sure you
> want to use it ?
>
> To further explain the problem: I've seen the same exception in a post
> a couple of days ago here, the poster eventually found out that he
> needed a xerces jar in his classpath and that solved the issue (look
> at the cause of the exception at the bottom of the snippet below)
>
> Hope it helps,
>
> Salvador
>
> > java.lang.RuntimeException: Unexpected exception
> >         at com.google.appengine.tools.enhancer.Enhancer.execute
> > (Enhancer.java:59)
> >         at com.google.appengine.tools.enhancer.Enhance.
> > (Enhance.java:60)
> >         at com.google.appengine.tools.enhancer.Enhance.main
> > (Enhance.java:41)
> > Caused by: java.lang.reflect.InvocationTargetException
> >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >         at sun.reflect.NativeMethodAccessorImpl.invoke
> > (NativeMethodAccessorImpl.java:39)
> >         at sun.reflect.DelegatingMethodAccessorImpl.invoke
> > (DelegatingMethodAccessorImpl.java:25)
> >         at java.lang.reflect.Method.invoke(Method.java:585)
> >         at com.google.appengine.tools.enhancer.Enhancer.execute
> > (Enhancer.java:57)
> >         ... 2 more
> > Caused by: javax.xml.parsers.FactoryConfigurationError: Provider
> > org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found
> >         at javax.xml.parsers.DocumentBuilderFactory.newInstance
> > (DocumentBuilderFactory.java:104)

No reason to use the app engine sdk one way or the other.  What I'm
really trying to figure out is why GWT for Macs appears to be trying
to use Linux GTK libraries instead of Mac Carbon libraries.

-- Rob

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: SWT seems to think I'm running on Linux and not a Mac ???

2009-04-23 Thread Rajeev Dayal
What version of the JDK are you using on your Mac? Are you using Java 1.6 or
Java 1.5?

On Thu, Apr 23, 2009 at 1:27 PM, Rob Tanner  wrote:

>
>
>
> On Apr 23, 1:13 am, Salvador Diaz  wrote:
> > That stack trace is related to the app engine sdk, are you sure you
> > want to use it ?
> >
> > To further explain the problem: I've seen the same exception in a post
> > a couple of days ago here, the poster eventually found out that he
> > needed a xerces jar in his classpath and that solved the issue (look
> > at the cause of the exception at the bottom of the snippet below)
> >
> > Hope it helps,
> >
> > Salvador
> >
> > > java.lang.RuntimeException: Unexpected exception
> > > at com.google.appengine.tools.enhancer.Enhancer.execute
> > > (Enhancer.java:59)
> > > at com.google.appengine.tools.enhancer.Enhance.
> > > (Enhance.java:60)
> > > at com.google.appengine.tools.enhancer.Enhance.main
> > > (Enhance.java:41)
> > > Caused by: java.lang.reflect.InvocationTargetException
> > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > at sun.reflect.NativeMethodAccessorImpl.invoke
> > > (NativeMethodAccessorImpl.java:39)
> > > at sun.reflect.DelegatingMethodAccessorImpl.invoke
> > > (DelegatingMethodAccessorImpl.java:25)
> > > at java.lang.reflect.Method.invoke(Method.java:585)
> > > at com.google.appengine.tools.enhancer.Enhancer.execute
> > > (Enhancer.java:57)
> > > ... 2 more
> > > Caused by: javax.xml.parsers.FactoryConfigurationError: Provider
> > > org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found
> > > at javax.xml.parsers.DocumentBuilderFactory.newInstance
> > > (DocumentBuilderFactory.java:104)
>
> No reason to use the app engine sdk one way or the other.  What I'm
> really trying to figure out is why GWT for Macs appears to be trying
> to use Linux GTK libraries instead of Mac Carbon libraries.
>
> -- Rob
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: SWT seems to think I'm running on Linux and not a Mac ???

2009-04-23 Thread Rob Tanner



On Apr 23, 10:36 am, Rajeev Dayal  wrote:
> What version of the JDK are you using on your Mac? Are you using Java 1.6 or
> Java 1.5?
>
> On Thu, Apr 23, 2009 at 1:27 PM, Rob Tanner  wrote:
>
> > On Apr 23, 1:13 am, Salvador Diaz  wrote:
> > > That stack trace is related to the app engine sdk, are you sure you
> > > want to use it ?
>
> > > To further explain the problem: I've seen the same exception in a post
> > > a couple of days ago here, the poster eventually found out that he
> > > needed a xerces jar in his classpath and that solved the issue (look
> > > at the cause of the exception at the bottom of the snippet below)
>
> > > Hope it helps,
>
> > > Salvador
>
> > > > java.lang.RuntimeException: Unexpected exception
> > > >         at com.google.appengine.tools.enhancer.Enhancer.execute
> > > > (Enhancer.java:59)
> > > >         at com.google.appengine.tools.enhancer.Enhance.
> > > > (Enhance.java:60)
> > > >         at com.google.appengine.tools.enhancer.Enhance.main
> > > > (Enhance.java:41)
> > > > Caused by: java.lang.reflect.InvocationTargetException
> > > >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > >         at sun.reflect.NativeMethodAccessorImpl.invoke
> > > > (NativeMethodAccessorImpl.java:39)
> > > >         at sun.reflect.DelegatingMethodAccessorImpl.invoke
> > > > (DelegatingMethodAccessorImpl.java:25)
> > > >         at java.lang.reflect.Method.invoke(Method.java:585)
> > > >         at com.google.appengine.tools.enhancer.Enhancer.execute
> > > > (Enhancer.java:57)
> > > >         ... 2 more
> > > > Caused by: javax.xml.parsers.FactoryConfigurationError: Provider
> > > > org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found
> > > >         at javax.xml.parsers.DocumentBuilderFactory.newInstance
> > > > (DocumentBuilderFactory.java:104)
>
> > No reason to use the app engine sdk one way or the other.  What I'm
> > really trying to figure out is why GWT for Macs appears to be trying
> > to use Linux GTK libraries instead of Mac Carbon libraries.
>
> > -- Rob

I'm defaulted to 1.5 and I presume all I need to do is change the Home
pointer to switch to 1.6 if that's the actual problem.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: SWT seems to think I'm running on Linux and not a Mac ???

2009-04-23 Thread Rob Tanner



On Apr 23, 10:36 am, Rajeev Dayal  wrote:
> What version of the JDK are you using on your Mac? Are you using Java 1.6 or
> Java 1.5?
>
> On Thu, Apr 23, 2009 at 1:27 PM, Rob Tanner  wrote:
>
> > On Apr 23, 1:13 am, Salvador Diaz  wrote:
> > > That stack trace is related to the app engine sdk, are you sure you
> > > want to use it ?
>
> > > To further explain the problem: I've seen the same exception in a post
> > > a couple of days ago here, the poster eventually found out that he
> > > needed a xerces jar in his classpath and that solved the issue (look
> > > at the cause of the exception at the bottom of the snippet below)
>
> > > Hope it helps,
>
> > > Salvador
>
> > > > java.lang.RuntimeException: Unexpected exception
> > > >         at com.google.appengine.tools.enhancer.Enhancer.execute
> > > > (Enhancer.java:59)
> > > >         at com.google.appengine.tools.enhancer.Enhance.
> > > > (Enhance.java:60)
> > > >         at com.google.appengine.tools.enhancer.Enhance.main
> > > > (Enhance.java:41)
> > > > Caused by: java.lang.reflect.InvocationTargetException
> > > >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > >         at sun.reflect.NativeMethodAccessorImpl.invoke
> > > > (NativeMethodAccessorImpl.java:39)
> > > >         at sun.reflect.DelegatingMethodAccessorImpl.invoke
> > > > (DelegatingMethodAccessorImpl.java:25)
> > > >         at java.lang.reflect.Method.invoke(Method.java:585)
> > > >         at com.google.appengine.tools.enhancer.Enhancer.execute
> > > > (Enhancer.java:57)
> > > >         ... 2 more
> > > > Caused by: javax.xml.parsers.FactoryConfigurationError: Provider
> > > > org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found
> > > >         at javax.xml.parsers.DocumentBuilderFactory.newInstance
> > > > (DocumentBuilderFactory.java:104)
>
> > No reason to use the app engine sdk one way or the other.  What I'm
> > really trying to figure out is why GWT for Macs appears to be trying
> > to use Linux GTK libraries instead of Mac Carbon libraries.
>
> > -- Rob

Actually, switching to 1.6 is simply a prefrence so I tried it.  ant
hosted still fails with the same error.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: SWT seems to think I'm running on Linux and not a Mac ???

2009-04-23 Thread Rajeev Dayal
If you're on a Mac and you're using GWT, you must use JDK 1.5. To make sure
that ant is actually using your 1.5 JDK, can you set the JAVA_HOME
environment variable to point to the 1.5 JDK, and try re-running ant hosted?

On Thu, Apr 23, 2009 at 2:25 PM, Rob Tanner  wrote:

>
>
>
> On Apr 23, 10:36 am, Rajeev Dayal  wrote:
> > What version of the JDK are you using on your Mac? Are you using Java 1.6
> or
> > Java 1.5?
> >
> > On Thu, Apr 23, 2009 at 1:27 PM, Rob Tanner 
> wrote:
> >
> > > On Apr 23, 1:13 am, Salvador Diaz  wrote:
> > > > That stack trace is related to the app engine sdk, are you sure you
> > > > want to use it ?
> >
> > > > To further explain the problem: I've seen the same exception in a
> post
> > > > a couple of days ago here, the poster eventually found out that he
> > > > needed a xerces jar in his classpath and that solved the issue (look
> > > > at the cause of the exception at the bottom of the snippet below)
> >
> > > > Hope it helps,
> >
> > > > Salvador
> >
> > > > > java.lang.RuntimeException: Unexpected exception
> > > > > at com.google.appengine.tools.enhancer.Enhancer.execute
> > > > > (Enhancer.java:59)
> > > > > at com.google.appengine.tools.enhancer.Enhance.
> > > > > (Enhance.java:60)
> > > > > at com.google.appengine.tools.enhancer.Enhance.main
> > > > > (Enhance.java:41)
> > > > > Caused by: java.lang.reflect.InvocationTargetException
> > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> > > > > at sun.reflect.NativeMethodAccessorImpl.invoke
> > > > > (NativeMethodAccessorImpl.java:39)
> > > > > at sun.reflect.DelegatingMethodAccessorImpl.invoke
> > > > > (DelegatingMethodAccessorImpl.java:25)
> > > > > at java.lang.reflect.Method.invoke(Method.java:585)
> > > > > at com.google.appengine.tools.enhancer.Enhancer.execute
> > > > > (Enhancer.java:57)
> > > > > ... 2 more
> > > > > Caused by: javax.xml.parsers.FactoryConfigurationError: Provider
> > > > > org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found
> > > > > at javax.xml.parsers.DocumentBuilderFactory.newInstance
> > > > > (DocumentBuilderFactory.java:104)
> >
> > > No reason to use the app engine sdk one way or the other.  What I'm
> > > really trying to figure out is why GWT for Macs appears to be trying
> > > to use Linux GTK libraries instead of Mac Carbon libraries.
> >
> > > -- Rob
>
> Actually, switching to 1.6 is simply a prefrence so I tried it.  ant
> hosted still fails with the same error.
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: SWT seems to think I'm running on Linux and not a Mac ???

2009-04-23 Thread Rob Tanner



On Apr 23, 1:33 pm, Rajeev Dayal  wrote:
> If you're on a Mac and you're using GWT, you must use JDK 1.5. To make sure
> that ant is actually using your 1.5 JDK, can you set the JAVA_HOME
> environment variable to point to the 1.5 JDK, and try re-running ant hosted?
>
> On Thu, Apr 23, 2009 at 2:25 PM, Rob Tanner  wrote:
>
> > On Apr 23, 10:36 am, Rajeev Dayal  wrote:
> > > What version of the JDK are you using on your Mac? Are you using Java 1.6
> > or
> > > Java 1.5?
>
> > > On Thu, Apr 23, 2009 at 1:27 PM, Rob Tanner 
> > wrote:
>
> > > > On Apr 23, 1:13 am, Salvador Diaz  wrote:
> > > > > That stack trace is related to the app engine sdk, are you sure you
> > > > > want to use it ?
>
> > > > > To further explain the problem: I've seen the same exception in a
> > post
> > > > > a couple of days ago here, the poster eventually found out that he
> > > > > needed a xerces jar in his classpath and that solved the issue (look
> > > > > at the cause of the exception at the bottom of the snippet below)
>
> > > > > Hope it helps,
>
> > > > > Salvador
>
> > > > > > java.lang.RuntimeException: Unexpected exception
> > > > > >         at com.google.appengine.tools.enhancer.Enhancer.execute
> > > > > > (Enhancer.java:59)
> > > > > >         at com.google.appengine.tools.enhancer.Enhance.
> > > > > > (Enhance.java:60)
> > > > > >         at com.google.appengine.tools.enhancer.Enhance.main
> > > > > > (Enhance.java:41)
> > > > > > Caused by: java.lang.reflect.InvocationTargetException
> > > > > >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > Method)
> > > > > >         at sun.reflect.NativeMethodAccessorImpl.invoke
> > > > > > (NativeMethodAccessorImpl.java:39)
> > > > > >         at sun.reflect.DelegatingMethodAccessorImpl.invoke
> > > > > > (DelegatingMethodAccessorImpl.java:25)
> > > > > >         at java.lang.reflect.Method.invoke(Method.java:585)
> > > > > >         at com.google.appengine.tools.enhancer.Enhancer.execute
> > > > > > (Enhancer.java:57)
> > > > > >         ... 2 more
> > > > > > Caused by: javax.xml.parsers.FactoryConfigurationError: Provider
> > > > > > org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found
> > > > > >         at javax.xml.parsers.DocumentBuilderFactory.newInstance
> > > > > > (DocumentBuilderFactory.java:104)
>
> > > > No reason to use the app engine sdk one way or the other.  What I'm
> > > > really trying to figure out is why GWT for Macs appears to be trying
> > > > to use Linux GTK libraries instead of Mac Carbon libraries.
>
> > > > -- Rob
>
> > Actually, switching to 1.6 is simply a prefrence so I tried it.  ant
> > hosted still fails with the same error.

Through varios symlinks, I was already using 1.5.  But just to be
sure, I took your suggestion and set  JAVA_HOME to /System/Library/
Frameworks/JavaVM.framework/Versions/1.5.0/Home.  Alas, same error.
The question in my mind is why does ant hosted complain about not
being able find swt-pi-gtk-3062 since this is a Mac and it doesn't use
gtk.  Shouldn't it be looking for a carbon library.  And yes, I'm
using gwt-mac-1.6.4.

-- Rob
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: SWT seems to think I'm running on Linux and not a Mac ???

2009-04-23 Thread Jeff Chimene

On 04/23/2009 10:25 AM, Rob Tanner wrote:
>
> On Apr 22, 5:35�pm, Jeff Chimene  wrote:
>
>> On 04/22/2009 04:15 PM, Rob Tanner wrote:
>>
>>
>>
>>
>>
>>  
>>> On Apr 22, 1:00 pm, Jeff Chimene  �wrote:
>>>
 On 04/22/2009 12:06 PM, Rob Tanner wrote:
  
> Hi,
>
> I've been going back and forth with Instantiations tech support over
> their GET Designer Eclipse plugin. When I try and execute a GWT
> application in Eclipse that I built with the Designer, I get an
> Exception immediately. The error is: Exception in thread "main"
> java.lang.UnsatisfiedLinkError: no swt-pi-gtk-3062 in
> java.library.path.
>
> Instantiation's support says that for some reason, GWT's SWT really
> does think I'm running on Linux.
>
> I'm using gwt-mac-1.5.3 (the Designer on the Mac doesn't yet support
> 1.6.4 according to Instantiation support) and I also have the current
> Google plugin from Google's Eclipse update site installed. My system
> is a MacBook Pro with 10.5.6 installed. Does this problem at all
> sound familiar?
>
> Thanks,
> Rob
>
 I'll stake a stab at this, maybe we can isolate the problem...
  
 o Is this your first project w/ GWT in this environment?
 If so, please try establishing a baseline by installing and running
 the StockWatcher example
  
 o Is SWT the Standard Widget Toolkit?
 The sentence "GWT's SWT really does think I'm running on Linux"
 implies ownership of SWT by GWT. Isn't SWT a separate library?
  
>>> Yes. �This is my first project.
>>>
>>> I went through the first step of of the project: Creating a GWT
>>> application. �When I created it, a message popped up in the Eclipse
>>> console:
>>>
>>> Encountered a problem: Unexpected exception
>>> Please see the logs [/tmp/enhance40780.log] for further information.
>>>
>> Sorry, my previous post (deleted) referenced GWT 1.6
>>
>> Nevertheless, please set Eclipse aside for the moment and try compiling
>> any of the samples/
>>
>> For example, inside the samples/DynaTable/ you should find the
>> DynaTable-compile and DynaTable-shell scripts. Please try one of the
>> samples/* *-compile or the *-shell scripts.
>>
>>  
>>> The contents of the log file:
>>>
>>> java.lang.RuntimeException: Unexpected exception
>>> � � � � �at com.google.appengine.tools.enhancer.Enhancer.execute
>>>
>> 
>>
>> I have to admit that I don't understand the log. But, it reinforces my
>> desire to verify the integrity of your GWT installation.
>>
>>
>>
>>  
>>> Step 2, �Testing the default project components, resulted in nothing
>>> being displayed (although the Eclipse console flickered). �Assuming
>>> that something got logged about the problem somewhere, do you know
>>> where that somewhere would be?
>>>
>>> With regard to SWT, I believe that's exactly correct. �There are 4
>>> jnilibs in the toolkit with swt in their name and I presume they
>>> implement at least part of the Software Widget Toolkit. �They are
>>> clearly carbon and not gtk which makes sense because I'm running on a
>>> Mac, not Linux. �But the error I get using the GWT Designer is no swt-
>>> pi-gtk-3062 in java.library.path. �Also, I don't believe the Designer
>>> even looks at the GWT Eclipse plugin. �The one must-be-set preference
>>> in the Designer configuration is where in the file system to find the
>>> toolkit.
>>>
>> That is a problem. For example, a listing of my 1.5.3 directory shows:
>> /usr/local/lib/gwt-linux-1.5.3$ ls libswt* -c1
>> libswt-gtk-3235.so
>> libswt-mozilla17-profile-gcc3-gtk-3235.so
>> libswt-mozilla17-profile-gtk-3235.so
>> libswt-mozilla-gcc3-gtk-3235.so
>> libswt-mozilla-gtk-3235.so
>> libswt-pi-gtk-3235.so
>>
>> So, I can see where Tech Support draws their conclusion. Can you check
>> the corresponding GWT directory on your installation?
>>  
>
> Just for grins, I decided to try building StockWatcher from the
> command line (or did you suggest that -- I don't remember).  And guess
> what, the output of ant build was:
>
> Buildfile: build.xml
>
>

Umm-- reality check moment. Earlier you wrote:

> I'm using gwt-mac-1.5.3 (the Designer on the Mac doesn't yet support
> 1.6.4 according to Instantiation support) and I also have the current
> Google plugin from Google's Eclipse update site installed. My system
> is a MacBook Pro with 10.5.6 installed. Does this problem at all
> sound familiar?

So, how did we get to build.xml (a GWT 1.6 artifact)?

It's good that we've eliminated Eclipse, GWT Eclipse Plugin, Instantiations.

Are you running 1.5 or 1.6 (or both)? I'm wondering if you installed 
Linux GWT when you installed the GWT Eclipse plugin.

> libs:
>
> javac:
>  [mkdir] Created dir: /Users/rtanner/Java/StockWatcher/StockWatcher/
> war/WEB-INF/classes
>  [javac] Compiling

Re: SWT seems to think I'm running on Linux and not a Mac ???

2009-04-23 Thread Jason Essington
It seems to me that somewhere along the way you managed to get a linux  
version of GWT into your classpath. how did you install your plugins?  
did you somehow manage to get a linux version rather than an OS X  
version?

-jason

On Apr 23, 2009, at 2:55 PM, Rob Tanner wrote:

> On Apr 23, 1:33 pm, Rajeev Dayal  wrote:
>> If you're on a Mac and you're using GWT, you must use JDK 1.5. To  
>> make sure
>> that ant is actually using your 1.5 JDK, can you set the JAVA_HOME
>> environment variable to point to the 1.5 JDK, and try re-running  
>> ant hosted?
>
> Through varios symlinks, I was already using 1.5.  But just to be
> sure, I took your suggestion and set  JAVA_HOME to /System/Library/
> Frameworks/JavaVM.framework/Versions/1.5.0/Home.  Alas, same error.
> The question in my mind is why does ant hosted complain about not
> being able find swt-pi-gtk-3062 since this is a Mac and it doesn't use
> gtk.  Shouldn't it be looking for a carbon library.  And yes, I'm
> using gwt-mac-1.6.4.
>
> -- Rob
> >


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: SWT seems to think I'm running on Linux and not a Mac ???

2009-04-23 Thread Rob Tanner



On Apr 23, 2:46 pm, Jeff Chimene  wrote:
> On 04/23/2009 10:25 AM, Rob Tanner wrote:
>
>
>
>
>
> > On Apr 22, 5:35 pm, Jeff Chimene  wrote:
>
> >> On 04/22/2009 04:15 PM, Rob Tanner wrote:
>
> >>> On Apr 22, 1:00 pm, Jeff Chimene   wrote:
>
>  On 04/22/2009 12:06 PM, Rob Tanner wrote:
>
> > Hi,
>
> > I've been going back and forth with Instantiations tech support over
> > their GET Designer Eclipse plugin. When I try and execute a GWT
> > application in Eclipse that I built with the Designer, I get an
> > Exception immediately. The error is: Exception in thread "main"
> > java.lang.UnsatisfiedLinkError: no swt-pi-gtk-3062 in
> > java.library.path.
>
> > Instantiation's support says that for some reason, GWT's SWT really
> > does think I'm running on Linux.
>
> > I'm using gwt-mac-1.5.3 (the Designer on the Mac doesn't yet support
> > 1.6.4 according to Instantiation support) and I also have the current
> > Google plugin from Google's Eclipse update site installed. My system
> > is a MacBook Pro with 10.5.6 installed. Does this problem at all
> > sound familiar?
>
> > Thanks,
> > Rob
>
>  I'll stake a stab at this, maybe we can isolate the problem...
>
>  o Is this your first project w/ GWT in this environment?
>  If so, please try establishing a baseline by installing and running
>  the StockWatcher example
>
>  o Is SWT the Standard Widget Toolkit?
>  The sentence "GWT's SWT really does think I'm running on Linux"
>  implies ownership of SWT by GWT. Isn't SWT a separate library?
>
> >>> Yes. This is my first project.
>
> >>> I went through the first step of of the project: Creating a GWT
> >>> application. When I created it, a message popped up in the Eclipse
> >>> console:
>
> >>> Encountered a problem: Unexpected exception
> >>> Please see the logs [/tmp/enhance40780.log] for further information.
>
> >> Sorry, my previous post (deleted) referenced GWT 1.6
>
> >> Nevertheless, please set Eclipse aside for the moment and try compiling
> >> any of the samples/
>
> >> For example, inside the samples/DynaTable/ you should find the
> >> DynaTable-compile and DynaTable-shell scripts. Please try one of the
> >> samples/* *-compile or the *-shell scripts.
>
> >>> The contents of the log file:
>
> >>> java.lang.RuntimeException: Unexpected exception
> >>> at com.google.appengine.tools.enhancer.Enhancer.execute
>
> >> 
>
> >> I have to admit that I don't understand the log. But, it reinforces my
> >> desire to verify the integrity of your GWT installation.
>
> >>> Step 2, Testing the default project components, resulted in nothing
> >>> being displayed (although the Eclipse console flickered). Assuming
> >>> that something got logged about the problem somewhere, do you know
> >>> where that somewhere would be?
>
> >>> With regard to SWT, I believe that's exactly correct. There are 4
> >>> jnilibs in the toolkit with swt in their name and I presume they
> >>> implement at least part of the Software Widget Toolkit. They are
> >>> clearly carbon and not gtk which makes sense because I'm running on a
> >>> Mac, not Linux. But the error I get using the GWT Designer is no swt-
> >>> pi-gtk-3062 in java.library.path. Also, I don't believe the Designer
> >>> even looks at the GWT Eclipse plugin. The one must-be-set preference
> >>> in the Designer configuration is where in the file system to find the
> >>> toolkit.
>
> >> That is a problem. For example, a listing of my 1.5.3 directory shows:
> >> /usr/local/lib/gwt-linux-1.5.3$ ls libswt* -c1
> >> libswt-gtk-3235.so
> >> libswt-mozilla17-profile-gcc3-gtk-3235.so
> >> libswt-mozilla17-profile-gtk-3235.so
> >> libswt-mozilla-gcc3-gtk-3235.so
> >> libswt-mozilla-gtk-3235.so
> >> libswt-pi-gtk-3235.so
>
> >> So, I can see where Tech Support draws their conclusion. Can you check
> >> the corresponding GWT directory on your installation?
>
> > Just for grins, I decided to try building StockWatcher from the
> > command line (or did you suggest that -- I don't remember).  And guess
> > what, the output of ant build was:
>
> > Buildfile: build.xml
>
> Umm-- reality check moment. Earlier you wrote:
>
> > I'm using gwt-mac-1.5.3 (the Designer on the Mac doesn't yet support
> > 1.6.4 according to Instantiation support) and I also have the current
> > Google plugin from Google's Eclipse update site installed. My system
> > is a MacBook Pro with 10.5.6 installed. Does this problem at all
> > sound familiar?
>
> So, how did we get to build.xml (a GWT 1.6 artifact)?
>
> It's good that we've eliminated Eclipse, GWT Eclipse Plugin, Instantiations.
>
> Are you running 1.5 or 1.6 (or both)? I'm wondering if you installed
> Linux GWT when you installed the GWT Eclipse plugin.
>
> > libs:
>
> > javac:
> >      [mkdir] Created dir: /Users/rtanner/Java/StockWatcher/StockWatcher/
> > war/WEB-INF/classes
> >      [javac] Compiling 4 source files to /Users/rtanner/Java/
> > StockWatcher/StockWatcher/w

Re: SWT seems to think I'm running on Linux and not a Mac ???

2009-04-23 Thread Jeff Chimene

On 04/23/2009 04:09 PM, Rob Tanner wrote:
>
> On Apr 23, 2:46�pm, Jeff Chimene  wrote:
>
>> On 04/23/2009 10:25 AM, Rob Tanner wrote:
>>
>>
>>
>>
>>
>>  
>>> On Apr 22, 5:35 pm, Jeff Chimene  �wrote:
>>>
 On 04/22/2009 04:15 PM, Rob Tanner wrote:
  
> On Apr 22, 1:00 pm, Jeff Chimene  � wrote:
>
>> On 04/22/2009 12:06 PM, Rob Tanner wrote:
>>  
>>> Hi,
>>>
>>> I've been going back and forth with Instantiations tech support over
>>> their GET Designer Eclipse plugin. When I try and execute a GWT
>>> application in Eclipse that I built with the Designer, I get an
>>> Exception immediately. The error is: Exception in thread "main"
>>> java.lang.UnsatisfiedLinkError: no swt-pi-gtk-3062 in
>>> java.library.path.
>>>
>>> Instantiation's support says that for some reason, GWT's SWT really
>>> does think I'm running on Linux.
>>>
>>> I'm using gwt-mac-1.5.3 (the Designer on the Mac doesn't yet support
>>> 1.6.4 according to Instantiation support) and I also have the current
>>> Google plugin from Google's Eclipse update site installed. My system
>>> is a MacBook Pro with 10.5.6 installed. Does this problem at all
>>> sound familiar?
>>>
>>> Thanks,
>>> Rob
>>>
>> I'll stake a stab at this, maybe we can isolate the problem...
>>  
>> o Is this your first project w/ GWT in this environment?
>> If so, please try establishing a baseline by installing and running
>> the StockWatcher example
>>  
>> o Is SWT the Standard Widget Toolkit?
>> The sentence "GWT's SWT really does think I'm running on Linux"
>> implies ownership of SWT by GWT. Isn't SWT a separate library?
>>  
> Yes. This is my first project.
>
> I went through the first step of of the project: Creating a GWT
> application. When I created it, a message popped up in the Eclipse
> console:
>
> Encountered a problem: Unexpected exception
> Please see the logs [/tmp/enhance40780.log] for further information.
>
 Sorry, my previous post (deleted) referenced GWT 1.6
  
 Nevertheless, please set Eclipse aside for the moment and try compiling
 any of the samples/
  
 For example, inside the samples/DynaTable/ you should find the
 DynaTable-compile and DynaTable-shell scripts. Please try one of the
 samples/* *-compile or the *-shell scripts.
  
> The contents of the log file:
>
> java.lang.RuntimeException: Unexpected exception
> at com.google.appengine.tools.enhancer.Enhancer.execute
>
 
  
 I have to admit that I don't understand the log. But, it reinforces my
 desire to verify the integrity of your GWT installation.
  
> Step 2, Testing the default project components, resulted in nothing
> being displayed (although the Eclipse console flickered). Assuming
> that something got logged about the problem somewhere, do you know
> where that somewhere would be?
>
> With regard to SWT, I believe that's exactly correct. There are 4
> jnilibs in the toolkit with swt in their name and I presume they
> implement at least part of the Software Widget Toolkit. They are
> clearly carbon and not gtk which makes sense because I'm running on a
> Mac, not Linux. But the error I get using the GWT Designer is no swt-
> pi-gtk-3062 in java.library.path. Also, I don't believe the Designer
> even looks at the GWT Eclipse plugin. The one must-be-set preference
> in the Designer configuration is where in the file system to find the
> toolkit.
>
 That is a problem. For example, a listing of my 1.5.3 directory shows:
 /usr/local/lib/gwt-linux-1.5.3$ ls libswt* -c1
 libswt-gtk-3235.so
 libswt-mozilla17-profile-gcc3-gtk-3235.so
 libswt-mozilla17-profile-gtk-3235.so
 libswt-mozilla-gcc3-gtk-3235.so
 libswt-mozilla-gtk-3235.so
 libswt-pi-gtk-3235.so
  
 So, I can see where Tech Support draws their conclusion. Can you check
 the corresponding GWT directory on your installation?
  
>>> Just for grins, I decided to try building StockWatcher from the
>>> command line (or did you suggest that -- I don't remember). �And guess
>>> what, the output of ant build was:
>>>
>>> Buildfile: build.xml
>>>
>> Umm-- reality check moment. Earlier you wrote:
>>
>>  
>>> I'm using gwt-mac-1.5.3 (the Designer on the Mac doesn't yet support
>>> 1.6.4 according to Instantiation support) and I also have the current
>>> Google plugin from Google's Eclipse update site installed. My system
>>> is a MacBook Pro with 10.5.6 installed. Does this

Re: SWT seems to think I'm running on Linux and not a Mac ???

2009-04-23 Thread Rob Tanner



On Apr 23, 4:25 pm, Jeff Chimene  wrote:
> On 04/23/2009 04:09 PM, Rob Tanner wrote:
>
>
>
> > On Apr 23, 2:46 pm, Jeff Chimene  wrote:
>
> >> On 04/23/2009 10:25 AM, Rob Tanner wrote:
>
> >>> On Apr 22, 5:35 pm, Jeff Chimene   wrote:
>
>  On 04/22/2009 04:15 PM, Rob Tanner wrote:
>
> > On Apr 22, 1:00 pm, Jeff Chimene   wrote:
>
> >> On 04/22/2009 12:06 PM, Rob Tanner wrote:
>
> >>> Hi,
>
> >>> I've been going back and forth with Instantiations tech support over
> >>> their GET Designer Eclipse plugin. When I try and execute a GWT
> >>> application in Eclipse that I built with the Designer, I get an
> >>> Exception immediately. The error is: Exception in thread "main"
> >>> java.lang.UnsatisfiedLinkError: no swt-pi-gtk-3062 in
> >>> java.library.path.
>
> >>> Instantiation's support says that for some reason, GWT's SWT really
> >>> does think I'm running on Linux.
>
> >>> I'm using gwt-mac-1.5.3 (the Designer on the Mac doesn't yet support
> >>> 1.6.4 according to Instantiation support) and I also have the current
> >>> Google plugin from Google's Eclipse update site installed. My system
> >>> is a MacBook Pro with 10.5.6 installed. Does this problem at all
> >>> sound familiar?
>
> >>> Thanks,
> >>> Rob
>
> >> I'll stake a stab at this, maybe we can isolate the problem...
>
> >> o Is this your first project w/ GWT in this environment?
> >> If so, please try establishing a baseline by installing and running
> >> the StockWatcher example
>
> >> o Is SWT the Standard Widget Toolkit?
> >> The sentence "GWT's SWT really does think I'm running on Linux"
> >> implies ownership of SWT by GWT. Isn't SWT a separate library?
>
> > Yes. This is my first project.
>
> > I went through the first step of of the project: Creating a GWT
> > application. When I created it, a message popped up in the Eclipse
> > console:
>
> > Encountered a problem: Unexpected exception
> > Please see the logs [/tmp/enhance40780.log] for further information.
>
>  Sorry, my previous post (deleted) referenced GWT 1.6
>
>  Nevertheless, please set Eclipse aside for the moment and try compiling
>  any of the samples/
>
>  For example, inside the samples/DynaTable/ you should find the
>  DynaTable-compile and DynaTable-shell scripts. Please try one of the
>  samples/* *-compile or the *-shell scripts.
>
> > The contents of the log file:
>
> > java.lang.RuntimeException: Unexpected exception
> > at com.google.appengine.tools.enhancer.Enhancer.execute
>
>  
>
>  I have to admit that I don't understand the log. But, it reinforces my
>  desire to verify the integrity of your GWT installation.
>
> > Step 2, Testing the default project components, resulted in nothing
> > being displayed (although the Eclipse console flickered). Assuming
> > that something got logged about the problem somewhere, do you know
> > where that somewhere would be?
>
> > With regard to SWT, I believe that's exactly correct. There are 4
> > jnilibs in the toolkit with swt in their name and I presume they
> > implement at least part of the Software Widget Toolkit. They are
> > clearly carbon and not gtk which makes sense because I'm running on a
> > Mac, not Linux. But the error I get using the GWT Designer is no swt-
> > pi-gtk-3062 in java.library.path. Also, I don't believe the Designer
> > even looks at the GWT Eclipse plugin. The one must-be-set preference
> > in the Designer configuration is where in the file system to find the
> > toolkit.
>
>  That is a problem. For example, a listing of my 1.5.3 directory shows:
>  /usr/local/lib/gwt-linux-1.5.3$ ls libswt* -c1
>  libswt-gtk-3235.so
>  libswt-mozilla17-profile-gcc3-gtk-3235.so
>  libswt-mozilla17-profile-gtk-3235.so
>  libswt-mozilla-gcc3-gtk-3235.so
>  libswt-mozilla-gtk-3235.so
>  libswt-pi-gtk-3235.so
>
>  So, I can see where Tech Support draws their conclusion. Can you check
>  the corresponding GWT directory on your installation?
>
> >>> Just for grins, I decided to try building StockWatcher from the
> >>> command line (or did you suggest that -- I don't remember). And guess
> >>> what, the output of ant build was:
>
> >>> Buildfile: build.xml
>
> >> Umm-- reality check moment. Earlier you wrote:
>
> >>> I'm using gwt-mac-1.5.3 (the Designer on the Mac doesn't yet support
> >>> 1.6.4 according to Instantiation support) and I also have the current
> >>> Google plugin from Google's Eclipse update site installed. My system
> >>> is a MacBook Pro with 10.5.6 installed. Does this problem at all
> >>> sound familiar?
>
> >> So, how did we get to build.xml (a GWT 1.6 artifact)?
>
> >> It's good that we've eliminated Eclipse, GWT Eclipse Plugin, 
> >> Instantiations.
>
> >> Are you running 1.5 or 1.6 (or both)? I'm wondering if you installed
> >> Linux GWT

Re: SWT seems to think I'm running on Linux and not a Mac ???

2009-04-23 Thread Jeff Chimene

On 04/23/2009 04:57 PM, Rob Tanner wrote:
>
> On Apr 23, 4:25�pm, Jeff Chimene  wrote:
>
>> On 04/23/2009 04:09 PM, Rob Tanner wrote:
>>
>>
>>
>>  
>>> On Apr 23, 2:46 pm, Jeff Chimene  �wrote:
>>>
 On 04/23/2009 10:25 AM, Rob Tanner wrote:
  
> On Apr 22, 5:35 pm, Jeff Chimene  � wrote:
>
>> On 04/22/2009 04:15 PM, Rob Tanner wrote:
>>  
>>> On Apr 22, 1:00 pm, Jeff Chimene  � wrote:
>>>
 On 04/22/2009 12:06 PM, Rob Tanner wrote:
  
> Hi,
>
> I've been going back and forth with Instantiations tech support over
> their GET Designer Eclipse plugin. When I try and execute a GWT
> application in Eclipse that I built with the Designer, I get an
> Exception immediately. The error is: Exception in thread "main"
> java.lang.UnsatisfiedLinkError: no swt-pi-gtk-3062 in
> java.library.path.
>
> Instantiation's support says that for some reason, GWT's SWT really
> does think I'm running on Linux.
>
> I'm using gwt-mac-1.5.3 (the Designer on the Mac doesn't yet support
> 1.6.4 according to Instantiation support) and I also have the current
> Google plugin from Google's Eclipse update site installed. My system
> is a MacBook Pro with 10.5.6 installed. Does this problem at all
> sound familiar?
>
> Thanks,
> Rob
>
 I'll stake a stab at this, maybe we can isolate the problem...
  
 o Is this your first project w/ GWT in this environment?
 If so, please try establishing a baseline by installing and running
 the StockWatcher example
  
 o Is SWT the Standard Widget Toolkit?
 The sentence "GWT's SWT really does think I'm running on Linux"
 implies ownership of SWT by GWT. Isn't SWT a separate library?
  
>>> Yes. This is my first project.
>>>
>>> I went through the first step of of the project: Creating a GWT
>>> application. When I created it, a message popped up in the Eclipse
>>> console:
>>>
>>> Encountered a problem: Unexpected exception
>>> Please see the logs [/tmp/enhance40780.log] for further information.
>>>
>> Sorry, my previous post (deleted) referenced GWT 1.6
>>  
>> Nevertheless, please set Eclipse aside for the moment and try compiling
>> any of the samples/
>>  
>> For example, inside the samples/DynaTable/ you should find the
>> DynaTable-compile and DynaTable-shell scripts. Please try one of the
>> samples/* *-compile or the *-shell scripts.
>>  
>>> The contents of the log file:
>>>
>>> java.lang.RuntimeException: Unexpected exception
>>> at com.google.appengine.tools.enhancer.Enhancer.execute
>>>
>> 
>>  
>> I have to admit that I don't understand the log. But, it reinforces my
>> desire to verify the integrity of your GWT installation.
>>  
>>> Step 2, Testing the default project components, resulted in nothing
>>> being displayed (although the Eclipse console flickered). Assuming
>>> that something got logged about the problem somewhere, do you know
>>> where that somewhere would be?
>>>
>>> With regard to SWT, I believe that's exactly correct. There are 4
>>> jnilibs in the toolkit with swt in their name and I presume they
>>> implement at least part of the Software Widget Toolkit. They are
>>> clearly carbon and not gtk which makes sense because I'm running on a
>>> Mac, not Linux. But the error I get using the GWT Designer is no swt-
>>> pi-gtk-3062 in java.library.path. Also, I don't believe the Designer
>>> even looks at the GWT Eclipse plugin. The one must-be-set preference
>>> in the Designer configuration is where in the file system to find the
>>> toolkit.
>>>
>> That is a problem. For example, a listing of my 1.5.3 directory shows:
>> /usr/local/lib/gwt-linux-1.5.3$ ls libswt* -c1
>> libswt-gtk-3235.so
>> libswt-mozilla17-profile-gcc3-gtk-3235.so
>> libswt-mozilla17-profile-gtk-3235.so
>> libswt-mozilla-gcc3-gtk-3235.so
>> libswt-mozilla-gtk-3235.so
>> libswt-pi-gtk-3235.so
>>  
>> So, I can see where Tech Support draws their conclusion. Can you check
>> the corresponding GWT directory on your installation?
>>  
> Just for grins, I decided to try building StockWatcher from the
> command line (or did you suggest that -- I don't remember). And guess
> what, t

Re: SWT seems to think I'm running on Linux and not a Mac ???

2009-04-23 Thread Rob Tanner



On Apr 23, 6:11 pm, Jeff Chimene  wrote:
> On 04/23/2009 04:57 PM, Rob Tanner wrote:
>
> > On Apr 23, 4:25 pm, Jeff Chimene  wrote:
>
> >> On 04/23/2009 04:09 PM, Rob Tanner wrote:
>
> >>> On Apr 23, 2:46 pm, Jeff Chimene   wrote:
>
>  On 04/23/2009 10:25 AM, Rob Tanner wrote:
>
> > On Apr 22, 5:35 pm, Jeff Chimene   wrote:
>
> >> On 04/22/2009 04:15 PM, Rob Tanner wrote:
>
> >>> On Apr 22, 1:00 pm, Jeff Chimene   wrote:
>
>  On 04/22/2009 12:06 PM, Rob Tanner wrote:
>
> > Hi,
>
> > I've been going back and forth with Instantiations tech support over
> > their GET Designer Eclipse plugin. When I try and execute a GWT
> > application in Eclipse that I built with the Designer, I get an
> > Exception immediately. The error is: Exception in thread "main"
> > java.lang.UnsatisfiedLinkError: no swt-pi-gtk-3062 in
> > java.library.path.
>
> > Instantiation's support says that for some reason, GWT's SWT really
> > does think I'm running on Linux.
>
> > I'm using gwt-mac-1.5.3 (the Designer on the Mac doesn't yet support
> > 1.6.4 according to Instantiation support) and I also have the 
> > current
> > Google plugin from Google's Eclipse update site installed. My system
> > is a MacBook Pro with 10.5.6 installed. Does this problem at all
> > sound familiar?
>
> > Thanks,
> > Rob
>
>  I'll stake a stab at this, maybe we can isolate the problem...
>
>  o Is this your first project w/ GWT in this environment?
>  If so, please try establishing a baseline by installing and running
>  the StockWatcher example
>
>  o Is SWT the Standard Widget Toolkit?
>  The sentence "GWT's SWT really does think I'm running on Linux"
>  implies ownership of SWT by GWT. Isn't SWT a separate library?
>
> >>> Yes. This is my first project.
>
> >>> I went through the first step of of the project: Creating a GWT
> >>> application. When I created it, a message popped up in the Eclipse
> >>> console:
>
> >>> Encountered a problem: Unexpected exception
> >>> Please see the logs [/tmp/enhance40780.log] for further information.
>
> >> Sorry, my previous post (deleted) referenced GWT 1.6
>
> >> Nevertheless, please set Eclipse aside for the moment and try compiling
> >> any of the samples/
>
> >> For example, inside the samples/DynaTable/ you should find the
> >> DynaTable-compile and DynaTable-shell scripts. Please try one of the
> >> samples/* *-compile or the *-shell scripts.
>
> >>> The contents of the log file:
>
> >>> java.lang.RuntimeException: Unexpected exception
> >>> at com.google.appengine.tools.enhancer.Enhancer.execute
>
> >> 
>
> >> I have to admit that I don't understand the log. But, it reinforces my
> >> desire to verify the integrity of your GWT installation.
>
> >>> Step 2, Testing the default project components, resulted in nothing
> >>> being displayed (although the Eclipse console flickered). Assuming
> >>> that something got logged about the problem somewhere, do you know
> >>> where that somewhere would be?
>
> >>> With regard to SWT, I believe that's exactly correct. There are 4
> >>> jnilibs in the toolkit with swt in their name and I presume they
> >>> implement at least part of the Software Widget Toolkit. They are
> >>> clearly carbon and not gtk which makes sense because I'm running on a
> >>> Mac, not Linux. But the error I get using the GWT Designer is no swt-
> >>> pi-gtk-3062 in java.library.path. Also, I don't believe the Designer
> >>> even looks at the GWT Eclipse plugin. The one must-be-set preference
> >>> in the Designer configuration is where in the file system to find the
> >>> toolkit.
>
> >> That is a problem. For example, a listing of my 1.5.3 directory shows:
> >> /usr/local/lib/gwt-linux-1.5.3$ ls libswt* -c1
> >> libswt-gtk-3235.so
> >> libswt-mozilla17-profile-gcc3-gtk-3235.so
> >> libswt-mozilla17-profile-gtk-3235.so
> >> libswt-mozilla-gcc3-gtk-3235.so
> >> libswt-mozilla-gtk-3235.so
> >> libswt-pi-gtk-3235.so
>
> >> So, I can see where Tech Support draws their conclusion. Can you check
> >> the corresponding GWT directory on your installation?
>
> > Just for grins, I decided to try building StockWatcher from the
> > command line (or did you suggest that -- I don't remember). And guess
> > what, the output of ant build was:
>
> > Buildfile: build.xml
>
>  Umm-- reality check moment. Earlier you wrote:
>
> > I'm using gwt-mac-1.5.3 (the Designer on the Mac doesn't yet support
> > 1.6.4 according to Instantiation support) and I also have the current
> > Google plugin from Google's Eclipse update site installed. My system
> > is a MacBook Pro with 10.5.6 installed. Does this problem at all

Re: SWT seems to think I'm running on Linux and not a Mac ???

2009-04-24 Thread Jeff Chimene

On Thu, Apr 23, 2009 at 9:05 PM, Rob Tanner  wrote:
>
>
>
> On Apr 23, 6:11 pm, Jeff Chimene  wrote:
>> On 04/23/2009 04:57 PM, Rob Tanner wrote:
>>
>> > On Apr 23, 4:25 pm, Jeff Chimene  wrote:
>>
>> >> On 04/23/2009 04:09 PM, Rob Tanner wrote:
>>
>> >>> On Apr 23, 2:46 pm, Jeff Chimene   wrote:
>>
>>  On 04/23/2009 10:25 AM, Rob Tanner wrote:
>>
>> > On Apr 22, 5:35 pm, Jeff Chimene   wrote:
>>
>> >> On 04/22/2009 04:15 PM, Rob Tanner wrote:
>>
>> >>> On Apr 22, 1:00 pm, Jeff Chimene   wrote:
>>
>>  On 04/22/2009 12:06 PM, Rob Tanner wrote:
>>
>> > Hi,
>>
>> > I've been going back and forth with Instantiations tech support 
>> > over
>> > their GET Designer Eclipse plugin. When I try and execute a GWT
>> > application in Eclipse that I built with the Designer, I get an
>> > Exception immediately. The error is: Exception in thread "main"
>> > java.lang.UnsatisfiedLinkError: no swt-pi-gtk-3062 in
>> > java.library.path.
>>
>> > Instantiation's support says that for some reason, GWT's SWT really
>> > does think I'm running on Linux.
>>
>> > I'm using gwt-mac-1.5.3 (the Designer on the Mac doesn't yet 
>> > support
>> > 1.6.4 according to Instantiation support) and I also have the 
>> > current
>> > Google plugin from Google's Eclipse update site installed. My 
>> > system
>> > is a MacBook Pro with 10.5.6 installed. Does this problem at all
>> > sound familiar?
>>
>> > Thanks,
>> > Rob
>>
>>  I'll stake a stab at this, maybe we can isolate the problem...
>>
>>  o Is this your first project w/ GWT in this environment?
>>  If so, please try establishing a baseline by installing and running
>>  the StockWatcher example
>>
>>  o Is SWT the Standard Widget Toolkit?
>>  The sentence "GWT's SWT really does think I'm running on Linux"
>>  implies ownership of SWT by GWT. Isn't SWT a separate library?
>>
>> >>> Yes. This is my first project.
>>
>> >>> I went through the first step of of the project: Creating a GWT
>> >>> application. When I created it, a message popped up in the Eclipse
>> >>> console:
>>
>> >>> Encountered a problem: Unexpected exception
>> >>> Please see the logs [/tmp/enhance40780.log] for further information.
>>
>> >> Sorry, my previous post (deleted) referenced GWT 1.6
>>
>> >> Nevertheless, please set Eclipse aside for the moment and try 
>> >> compiling
>> >> any of the samples/
>>
>> >> For example, inside the samples/DynaTable/ you should find the
>> >> DynaTable-compile and DynaTable-shell scripts. Please try one of the
>> >> samples/* *-compile or the *-shell scripts.
>>
>> >>> The contents of the log file:
>>
>> >>> java.lang.RuntimeException: Unexpected exception
>> >>> at com.google.appengine.tools.enhancer.Enhancer.execute
>>
>> >> 
>>
>> >> I have to admit that I don't understand the log. But, it reinforces my
>> >> desire to verify the integrity of your GWT installation.
>>
>> >>> Step 2, Testing the default project components, resulted in nothing
>> >>> being displayed (although the Eclipse console flickered). Assuming
>> >>> that something got logged about the problem somewhere, do you know
>> >>> where that somewhere would be?
>>
>> >>> With regard to SWT, I believe that's exactly correct. There are 4
>> >>> jnilibs in the toolkit with swt in their name and I presume they
>> >>> implement at least part of the Software Widget Toolkit. They are
>> >>> clearly carbon and not gtk which makes sense because I'm running on a
>> >>> Mac, not Linux. But the error I get using the GWT Designer is no swt-
>> >>> pi-gtk-3062 in java.library.path. Also, I don't believe the Designer
>> >>> even looks at the GWT Eclipse plugin. The one must-be-set preference
>> >>> in the Designer configuration is where in the file system to find the
>> >>> toolkit.
>>
>> >> That is a problem. For example, a listing of my 1.5.3 directory shows:
>> >> /usr/local/lib/gwt-linux-1.5.3$ ls libswt* -c1
>> >> libswt-gtk-3235.so
>> >> libswt-mozilla17-profile-gcc3-gtk-3235.so
>> >> libswt-mozilla17-profile-gtk-3235.so
>> >> libswt-mozilla-gcc3-gtk-3235.so
>> >> libswt-mozilla-gtk-3235.so
>> >> libswt-pi-gtk-3235.so
>>
>> >> So, I can see where Tech Support draws their conclusion. Can you check
>> >> the corresponding GWT directory on your installation?
>>
>> > Just for grins, I decided to try building StockWatcher from the
>> > command line (or did you suggest that -- I don't remember). And guess
>> > what, the output of ant build was:
>>
>> > Buildfile: build.xml
>>
>>  Umm-- reality check moment. Earlier you wrote:
>>
>> > I'm using gwt-mac-1.5.3 (the Designer on the Mac doesn't yet support
>>

Re: SWT seems to think I'm running on Linux and not a Mac ???

2009-04-24 Thread Rob Tanner



On Apr 24, 8:37 am, Jeff Chimene  wrote:
> On Thu, Apr 23, 2009 at 9:05 PM, Rob Tanner  wrote:
>
> > On Apr 23, 6:11 pm, Jeff Chimene  wrote:
> >> On 04/23/2009 04:57 PM, Rob Tanner wrote:
>
> >> > On Apr 23, 4:25 pm, Jeff Chimene  wrote:
>
> >> >> On 04/23/2009 04:09 PM, Rob Tanner wrote:
>
> >> >>> On Apr 23, 2:46 pm, Jeff Chimene   wrote:
>
> >>  On 04/23/2009 10:25 AM, Rob Tanner wrote:
>
> >> > On Apr 22, 5:35 pm, Jeff Chimene   wrote:
>
> >> >> On 04/22/2009 04:15 PM, Rob Tanner wrote:
>
> >> >>> On Apr 22, 1:00 pm, Jeff Chimene   wrote:
>
> >>  On 04/22/2009 12:06 PM, Rob Tanner wrote:
>
> >> > Hi,
>
> >> > I've been going back and forth with Instantiations tech support 
> >> > over
> >> > their GET Designer Eclipse plugin. When I try and execute a GWT
> >> > application in Eclipse that I built with the Designer, I get an
> >> > Exception immediately. The error is: Exception in thread "main"
> >> > java.lang.UnsatisfiedLinkError: no swt-pi-gtk-3062 in
> >> > java.library.path.
>
> >> > Instantiation's support says that for some reason, GWT's SWT 
> >> > really
> >> > does think I'm running on Linux.
>
> >> > I'm using gwt-mac-1.5.3 (the Designer on the Mac doesn't yet 
> >> > support
> >> > 1.6.4 according to Instantiation support) and I also have the 
> >> > current
> >> > Google plugin from Google's Eclipse update site installed. My 
> >> > system
> >> > is a MacBook Pro with 10.5.6 installed. Does this problem at all
> >> > sound familiar?
>
> >> > Thanks,
> >> > Rob
>
> >>  I'll stake a stab at this, maybe we can isolate the problem...
>
> >>  o Is this your first project w/ GWT in this environment?
> >>  If so, please try establishing a baseline by installing and 
> >>  running
> >>  the StockWatcher example
>
> >>  o Is SWT the Standard Widget Toolkit?
> >>  The sentence "GWT's SWT really does think I'm running on Linux"
> >>  implies ownership of SWT by GWT. Isn't SWT a separate library?
>
> >> >>> Yes. This is my first project.
>
> >> >>> I went through the first step of of the project: Creating a GWT
> >> >>> application. When I created it, a message popped up in the Eclipse
> >> >>> console:
>
> >> >>> Encountered a problem: Unexpected exception
> >> >>> Please see the logs [/tmp/enhance40780.log] for further 
> >> >>> information.
>
> >> >> Sorry, my previous post (deleted) referenced GWT 1.6
>
> >> >> Nevertheless, please set Eclipse aside for the moment and try 
> >> >> compiling
> >> >> any of the samples/
>
> >> >> For example, inside the samples/DynaTable/ you should find the
> >> >> DynaTable-compile and DynaTable-shell scripts. Please try one of the
> >> >> samples/* *-compile or the *-shell scripts.
>
> >> >>> The contents of the log file:
>
> >> >>> java.lang.RuntimeException: Unexpected exception
> >> >>> at com.google.appengine.tools.enhancer.Enhancer.execute
>
> >> >> 
>
> >> >> I have to admit that I don't understand the log. But, it reinforces 
> >> >> my
> >> >> desire to verify the integrity of your GWT installation.
>
> >> >>> Step 2, Testing the default project components, resulted in nothing
> >> >>> being displayed (although the Eclipse console flickered). Assuming
> >> >>> that something got logged about the problem somewhere, do you know
> >> >>> where that somewhere would be?
>
> >> >>> With regard to SWT, I believe that's exactly correct. There are 4
> >> >>> jnilibs in the toolkit with swt in their name and I presume they
> >> >>> implement at least part of the Software Widget Toolkit. They are
> >> >>> clearly carbon and not gtk which makes sense because I'm running 
> >> >>> on a
> >> >>> Mac, not Linux. But the error I get using the GWT Designer is no 
> >> >>> swt-
> >> >>> pi-gtk-3062 in java.library.path. Also, I don't believe the 
> >> >>> Designer
> >> >>> even looks at the GWT Eclipse plugin. The one must-be-set 
> >> >>> preference
> >> >>> in the Designer configuration is where in the file system to find 
> >> >>> the
> >> >>> toolkit.
>
> >> >> That is a problem. For example, a listing of my 1.5.3 directory 
> >> >> shows:
> >> >> /usr/local/lib/gwt-linux-1.5.3$ ls libswt* -c1
> >> >> libswt-gtk-3235.so
> >> >> libswt-mozilla17-profile-gcc3-gtk-3235.so
> >> >> libswt-mozilla17-profile-gtk-3235.so
> >> >> libswt-mozilla-gcc3-gtk-3235.so
> >> >> libswt-mozilla-gtk-3235.so
> >> >> libswt-pi-gtk-3235.so
>
> >> >> So, I can see where Tech Support draws their conclusion. Can you 
> >> >> check
> >> >> the corresponding GWT directory on your installation?
>
> >> > Just for grins, I decided to try buil

Re: SWT seems to think I'm running on Linux and not a Mac ???

2009-04-24 Thread Jeff Chimene

On 04/24/2009 02:42 PM, Rob Tanner wrote:
>
> On Apr 24, 8:37�am, Jeff Chimene  wrote:
>
>> On Thu, Apr 23, 2009 at 9:05 PM, Rob Tanner  wrote:
>>
>>  
>>> On Apr 23, 6:11�pm, Jeff Chimene  wrote:
>>>
 On 04/23/2009 04:57 PM, Rob Tanner wrote:
  
> On Apr 23, 4:25 pm, Jeff Chimene  �wrote:
>
>> On 04/23/2009 04:09 PM, Rob Tanner wrote:
>>  
>>> On Apr 23, 2:46 pm, Jeff Chimene  � wrote:
>>>
 On 04/23/2009 10:25 AM, Rob Tanner wrote:
  
> On Apr 22, 5:35 pm, Jeff Chimene  � wrote:
>
>> On 04/22/2009 04:15 PM, Rob Tanner wrote:
>>  
>>> On Apr 22, 1:00 pm, Jeff Chimene  � wrote:
>>>
 On 04/22/2009 12:06 PM, Rob Tanner wrote:
  
> Hi,
>
> I've been going back and forth with Instantiations tech support 
> over
> their GET Designer Eclipse plugin. When I try and execute a GWT
> application in Eclipse that I built with the Designer, I get an
> Exception immediately. The error is: Exception in thread "main"
> java.lang.UnsatisfiedLinkError: no swt-pi-gtk-3062 in
> java.library.path.
>
> Instantiation's support says that for some reason, GWT's SWT 
> really
> does think I'm running on Linux.
>
> I'm using gwt-mac-1.5.3 (the Designer on the Mac doesn't yet 
> support
> 1.6.4 according to Instantiation support) and I also have the 
> current
> Google plugin from Google's Eclipse update site installed. My 
> system
> is a MacBook Pro with 10.5.6 installed. Does this problem at all
> sound familiar?
>
> Thanks,
> Rob
>
 I'll stake a stab at this, maybe we can isolate the problem...
  
 o Is this your first project w/ GWT in this environment?
 If so, please try establishing a baseline by installing and running
 the StockWatcher example
  
 o Is SWT the Standard Widget Toolkit?
 The sentence "GWT's SWT really does think I'm running on Linux"
 implies ownership of SWT by GWT. Isn't SWT a separate library?
  
>>> Yes. This is my first project.
>>>
>>> I went through the first step of of the project: Creating a GWT
>>> application. When I created it, a message popped up in the Eclipse
>>> console:
>>>
>>> Encountered a problem: Unexpected exception
>>> Please see the logs [/tmp/enhance40780.log] for further information.
>>>
>> Sorry, my previous post (deleted) referenced GWT 1.6
>>  
>> Nevertheless, please set Eclipse aside for the moment and try 
>> compiling
>> any of the samples/
>>  
>> For example, inside the samples/DynaTable/ you should find the
>> DynaTable-compile and DynaTable-shell scripts. Please try one of the
>> samples/* *-compile or the *-shell scripts.
>>  
>>> The contents of the log file:
>>>
>>> java.lang.RuntimeException: Unexpected exception
>>> at com.google.appengine.tools.enhancer.Enhancer.execute
>>>
>> 
>>  
>> I have to admit that I don't understand the log. But, it reinforces 
>> my
>> desire to verify the integrity of your GWT installation.
>>  
>>> Step 2, Testing the default project components, resulted in nothing
>>> being displayed (although the Eclipse console flickered). Assuming
>>> that something got logged about the problem somewhere, do you know
>>> where that somewhere would be?
>>>
>>> With regard to SWT, I believe that's exactly correct. There are 4
>>> jnilibs in the toolkit with swt in their name and I presume they
>>> implement at least part of the Software Widget Toolkit. They are
>>> clearly carbon and not gtk which makes sense because I'm running on 
>>> a
>>> Mac, not Linux. But the error I get using the GWT Designer is no 
>>> swt-
>>> pi-gtk-3062 in java.library.path. Also, I don