Sorry, I missed the 'ant' part. The ant build and eclipse build are not connected. You'll need to edit build.xml and add gwt-maps.jar to the classpath there. Did you do that?
On Fri, Sep 25, 2009 at 7:35 AM, thc <[email protected]> wrote: > > Hi and thanks for reply. I added the gwt-maps.jar to the classpath > under the run config, but I am getting the same error from "ant > build". I would think the run config would apply to only to the java > (hosted mode?) for run configuration, and I am compiling (java -> > javascript) with "ant build". I think if anything, its that script > that is confused?? I am grateful for help, please more suggestions > (thanks)!! > > On Sep 24, 9:35 pm, Eric Ayers <[email protected]> wrote: >> Hey thc, >> >> Sounds to me like you might have fixed the Java build path, but the >> classpath for your launch config might not have been updated. Open >> the Run Configurations... menu and make sure that gwt-maps.jar is >> showing up in the classpath tab. >> >> -Eric. >> >> >> >> >> >> On Thu, Sep 24, 2009 at 8:07 PM, thc <[email protected]> >> wrote: >> >> > Hello, I am adding google maps capability to an existing GWT project. >> > I am using eclipse as the IDE. I have added the gwt-maps.jar to the >> > project's build path in eclipse. I can tell that, from the eclipse >> > (java) compiling perspective, that the jar is found since the editor >> > can add the imports dynamically, etc, and recognizes and compiles the >> > correspondings maps-related java code. >> >> > However, when I compile to javascript (i.e., ant build), i get the >> > error: >> >> > [ERROR] Unable to find 'com/google/gwt/maps/GoogleMaps.gwt.xml >> > ' on your classpath; could be a typo, or maybe you forgot to include >> > a >> > classpath >> >> > I have included the inherits tag in the project gwt.xml as: >> >> > <inherits name="com.google.gwt.maps.GoogleMaps" /> >> >> > and verifed that the corresponding GoogleMaps.gwt.xml file is in the >> > proper package (com.google.gwt.maps) in the gwt-maps.jar file. >> >> > I am surprised that this isn't working, since this is a standard >> > google API. What am I doing wrong? Any help is appreciated and let me >> > know if you need more information. Thanks >> >> -- >> Eric Z. Ayers >> Google Web Toolkit, Atlanta, GA USA- Hide quoted text - >> >> - Show quoted text - > > > > -- Eric Z. Ayers Google Web Toolkit, Atlanta, GA USA --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" 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-maps-api?hl=en -~----------~----~----~----~------~----~------~--~---
