Re: Running Windows-built GWTTestCase on Sparc/Solaris ??

2008-10-03 Thread dan

The error looks like the GWT tests are trying to use the Windows
development kit on your Linux machine.  To run tests on your Linux
build machine, you need to switch your build to use the GWT Linux
distribution.

What's happening is that the GWTTestCase tests are trying to start up
a headless hosted mode browser, which is different on each platform
(Mac, Windows, Linux).  Use the Windows dev kit on your laptop and the
Linux dev kit on your build machine.  To make this, you'll need to do
some per-OS switching in your build scripts -- in Ant, you may need to
use the os with a conditional tag to set the appropriate libraries.

See this thread for more information:
http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/ecebc719ec7d2a10

Dan

 Can't load library: .../libswt-win32-3235.so
 java.lang.UnsatisfiedLinkError: Can't load library: .../libswt-
 win32-3235.so
         at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1650)

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Running Windows-built GWTTestCase on Sparc/Solaris ??

2008-10-02 Thread Ajay Reddy

Did you ever fix it. I am running into the same issue.


Ajay

On Sep 24, 2:44 pm, Paul [EMAIL PROTECTED] wrote:
 I have some GWTTestCase's that run in both hosted and web mode on my
 Windows dev laptop. I'd like to also have them run on our build
 machine during builds, just like the plain JUnit tests do.

  However, the build machine is running Solaris 5.10 on SPARC. I
 realize this isn't one of the supported operating systems for hosted
 mode. But I was just wondering if there any way to substitute
 libraries or whatever so this will work in web mode?

 When I just did a quick dumb try on the build machine, the error was:

 Can't load library: .../libswt-win32-3235.so
 java.lang.UnsatisfiedLinkError: Can't load library: .../libswt-
 win32-3235.so
         atjava.lang.ClassLoader.loadLibrary(ClassLoader.java:1650)
         atjava.lang.Runtime.load0(Runtime.java:769)
         atjava.lang.System.load(System.java:968)
         atorg.eclipse.swt.internal.Library.loadLibrary(Library.java:132)
         atorg.eclipse.swt.internal.win32.OS.clinit(OS.java:18)
         atorg.eclipse.swt.widgets.Display.clinit(Display.java:125)
         at com.google.gwt.dev.GWTShell.clinit(GWTShell.java:264)
         at com.google.gwt.junit.client.GWTTestCase.runTest(GWTTestCase.java:
 194)
         at com.google.gwt.junit.client.GWTTestCase.run(GWTTestCase.java:114)

 I couldn't find a library of that name in either the Windows or Linux
 distributions of GWT 1.4.2.

 Thanks a lot!

 Paul

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Running Windows-built GWTTestCase on Sparc/Solaris ??

2008-09-24 Thread Paul

I have some GWTTestCase's that run in both hosted and web mode on my
Windows dev laptop. I'd like to also have them run on our build
machine during builds, just like the plain JUnit tests do.

 However, the build machine is running Solaris 5.10 on SPARC. I
realize this isn't one of the supported operating systems for hosted
mode. But I was just wondering if there any way to substitute
libraries or whatever so this will work in web mode?

When I just did a quick dumb try on the build machine, the error was:

Can't load library: .../libswt-win32-3235.so
java.lang.UnsatisfiedLinkError: Can't load library: .../libswt-
win32-3235.so
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1650)
at java.lang.Runtime.load0(Runtime.java:769)
at java.lang.System.load(System.java:968)
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:132)
at org.eclipse.swt.internal.win32.OS.clinit(OS.java:18)
at org.eclipse.swt.widgets.Display.clinit(Display.java:125)
at com.google.gwt.dev.GWTShell.clinit(GWTShell.java:264)
at com.google.gwt.junit.client.GWTTestCase.runTest(GWTTestCase.java:
194)
at com.google.gwt.junit.client.GWTTestCase.run(GWTTestCase.java:114)

I couldn't find a library of that name in either the Windows or Linux
distributions of GWT 1.4.2.

Thanks a lot!

Paul

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---