kabit999 / gwt-google-apis

Automatically exported from code.google.com/p/gwt-google-apis
0 stars 0 forks source link

Application won't compile on OS X #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
steps to reproduce the problem
1. Create GWT eclipse project and application with the scripts included on
gwt Mac OS distribution
2. Import gwt-google-apis.jar (add entry on classpath and on
MyApplication.gwt.xml)
3. As the hosted browser on Mac OS doesn't support google gears yet, launch
the project compilation with the MyApplication-compile generated script

What is the expected output?
Compilation should succeed (normally)

What do you see instead?

Loading module 'com.sfeir.gearsGwtTest'
   Loading inherited module 'com.google.gwt.gears.Gears'
      [ERROR] Unable to find 'com/google/gwt/gears/Gears.gwt.xml' on your
classpath; could be a typo, or maybe you forgot to include a classpath
entry for source?
   [ERROR] Line 6: Unexpected exception while processing element 'inherits'
com.google.gwt.core.ext.UnableToCompleteException: (see previous log entries)
...
...

What version of the product are you using? On what operating system?
latest gwt 1.4 RC on Mac OS X 10.4.10

Please provide any additional information below.
I expected this to work on windows, but the compiler script also fails,
even though the "Compile/browse" button of the hosted browser successfully
compiles my application. (As a side note, I tried running the application
on the hosted browser, but "LocalServer local = new LocalServer()" throws
GearsException with the following trace:
com.google.gwt.gears.core.client.GearsException: JavaScript TypeError
exception: Null value
    at com.google.gwt.gears.core.client.impl.GearsImpl.create(GearsImpl.java:77)
    at
com.google.gwt.gears.localserver.client.LocalServer.<init>(LocalServer.java:79)
    at
com.google.gwt.gears.localserver.client.LocalServer.<init>(LocalServer.java:69)
    at com.sfeir.client.gearsGwtTest.onModuleLoad(gearsGwtTest.java:24)
...
...
)

Original issue reported on code.google.com by sdiaztr...@gmail.com on 26 Jun 2007 at 3:44

GoogleCodeExporter commented 9 years ago

Original comment by gwt.team...@gmail.com on 2 Jan 2008 at 2:14

GoogleCodeExporter commented 9 years ago
It is possible that *-compile script was not updated to include 
gwt-google-api.jar on
its classpath.  

Original comment by gwt.team...@gmail.com on 2 Jan 2008 at 2:15

GoogleCodeExporter commented 9 years ago
At the moment I am running Safari 3 on my MacOSX box (10.4) and Google Gears 
beta
does not yet support it (Gears issue 212, 328)

http://code.google.com/p/google-gears/issues/detail?id=328&q=Safari&colspec=Vers
ion%20Owner%20ID%20Summary%20Component

I will have to install Safari 2 and see how far I can get.

Original comment by ericzun...@gmail.com on 4 Jan 2008 at 2:07

GoogleCodeExporter commented 9 years ago
I tried just what Miguel suggested - omit the jar file from the classpath. I
recreated this problem using Gears installed on Firefox and the most recent
google-gwt-apis.jar from the SVN repository. Adding google-gwt-apis.jar to the
compiler's classpath (editing <module>-compile) fixes the problem.

I created a FAQ for the problem:
http://code.google.com/p/gwt-google-apis/wiki/FAQ_UnableToFindModule

Original comment by gwt.team...@gmail.com on 4 Jan 2008 at 5:18

GoogleCodeExporter commented 9 years ago

Original comment by zundel@google.com on 21 Dec 2009 at 1:57