On Apr 23, 4:25 pm, Jeff Chimene <[email protected]> wrote:
> On 04/23/2009 04:09 PM, Rob Tanner wrote:
>
>
>
> > On Apr 23, 2:46 pm, Jeff Chimene<[email protected]>  wrote:
>
> >> On 04/23/2009 10:25 AM, Rob Tanner wrote:
>
> >>> On Apr 22, 5:35 pm, Jeff Chimene<[email protected]>   wrote:
>
> >>>> On 04/22/2009 04:15 PM, Rob Tanner wrote:
>
> >>>>> On Apr 22, 1:00 pm, Jeff Chimene<[email protected]>   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
>
> >>>> <SNIP>
>
> >>>> 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/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.<clinit>(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.<clinit>
> >>> (Display.java:118)
> >>> [java] at com.google.gwt.dev.SwtHostedModeBase.<clinit>
> >>> (SwtHostedModeBase.java:82)
>
> >>> BUILD FAILED
> >>> /Users/rtanner/Java/StockWatcher/StockWatcher/build.xml:48: Java
> >>> returned: 1
>
> >>> Total time: 3 seconds
>
> >>> I got the same stack trace when I tried to build the DynaTable example
> >>> with ant hosted.
>
> >>> The other thing you asked was about the SWT libs. The gwt-mac-1.6.4
> >>> distro has:
>
> >>> libswt-agl-carbon-3235.jnilib
> >>> libswt-carbon-3235.jnilib
> >>> libswt-pi-carbon-3235.jnilib
> >>> libswt-webkit-carbon-3235.jnilib
>
> >>> None are .so shared objects and they are carbon, not gtk.
>
> >>> I am more and more convinced that Instantiations is right when they
> >>> say that the toolkit things it's running on Linux because the gtk
> >>> libraries are for use with Linux and not on the Mac. Do you know if
> >>> there is a URL or email address to report a bug? I don't find one on
> >>> the GWT homepage.
>
> >>> Thanks,
> >>> Rob
>
> > I originally downloaded and unzipped gwt-mac-1.6.4 and only later
> > found out that GWT Designer can't work with it, and so I downloaded
> > and unzipped gwt-mac-1.5.3.  As far as the GWT Eclipse plugin, that's
> > an entity unto itself and I don't know what GWT it installed within
> > the bowels of Eclipse.  In the preferences, I set the GWT home (I'm
> > presuming that preference is for the plugin) to the gwt-mac-1.5.3
> > directory.  I have at no time intentionally downloaded a linux version
> > unless, of course, it was bundled with something and I was unaware of
> > it.
>
> Google distributes 1.6 with the GEP.
>
> > Can you give me the name of a specific file that might be in the Linux
> > distro and I can do a find to see if I can find it.
>
> The GWT libraries &c are in the eclipse/plugins directory.
>
> Look for (and I shouldn't have been in such a hurry to delete the 1.6
> post as it had the full Linux path) something along the lines of
>
> /usr/local/bin/eclipse/plugins/com.google.gwt.eclipse.sdkbundle.linux_1.6.4.v200904062334
>
> $ ls
> /usr/local/bin/eclipse/plugins/com.google.gwt.eclipse.sdkbundle.linux_1.6.4.v200904062334/gwt-linux-1.6.4
> -c1
> webAppCreator
> samples
> mozilla-1.7.12
> mozilla-hosted-browser.conf
> release_notes.html
> gwt-user.jar
> i18nCreator
> index.html
> junitCreator
> libgwt-ll.so
> 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
> gwt-dev-linux.jar
> gwt-module.dtd
> gwt-servlet.jar
> gwt-api-checker.jar
> gwt-benchmark-viewer.war
> about.html
> about.txt
> benchmarkViewer
> COPYING
> COPYING.html
> doc
>
> > -- Rob

Ran the following commands and got the following results:

cd /
find . -name "com.google.gwt.eclipse*"
./Library/Genuitec/Common/features/
com.google.gwt.eclipse.sdkbundle.e34.feature_1.6.4.v200904062334
./Library/Genuitec/Common/plugins/
com.google.gwt.eclipse.core_1.0.0.v200904062334.jar
./Library/Genuitec/Common/plugins/
com.google.gwt.eclipse.sdkbundle.macosx_1.6.4.v200904062334
find . -name "libswt-pi-gtk*"
<nothing returned>

This does not make sense.

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

Reply via email to