I've been working with GWT for a few years now, but always straight
from eclipse. I never needed to touch the build.xml myself, and I know
nothing of ant. :(

Now I'm trying to compile a rather complex webapp from the command
prompt. (its actualy the google wave simple web client).

ant compile_gwt from the directory works well and it compiles.

However, if I try to modify the source to add a google map widget, the
ant build fails I get a string or errors
ending in "package com.google.gwt.maps.client does not exist"

In eclipse, it works fine. The jar is added to the build path on the
property's and it compiles.

But running compile_gwt always results in these errors.

I tried altering the build file like;


  <target name="compile_gwt" depends="compile,proto_gwt_compile"
description="GWT compile to JavaScript">
    <java failonerror="true" fork="true"
classname="com.google.gwt.dev.Compiler">
      <classpath>
          <pathelement location="war/WEB-INF/lib/gwt-maps.jar" />
        <pathelement location="proto_gwt_src"/>
        <pathelement location="src"/>
        <path refid="fedone.classpath"/>
        <path refid="fedone.test.classpath"/>
      </classpath>
      <jvmarg value="-Xmx256M"/>
      <!-- Additional arguments like -style PRETTY or -logLevel DEBUG
-->
      <arg line="-style PRETTY"/>
      <arg line="${gwt.args}"/>
      <arg
value="org.waveprotocol.wave.examples.client.webclient.WebClient"/>
    </java>
  </target>


I added the maps.jar location line (and the file at that location),
but it didnt help.



-- 
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