Those errors are harmless.  It's the GWT compiler warning that there is code
in one of the packages that can not be compiled into JavaScript.  However,
that code is unused by the web client (otherwise it would have been a
compile failure, rather than a warning).

I'll prepare a patch to exclude the offending file from the GWT module
universe, so the warnings won't occur.

On Fri, Jan 28, 2011 at 9:09 AM, Scott Mitchell <[email protected]>wrote:

> Oh, my bad, I thought you wrote that you didn't get the error. Thanks.
>
> On Thu, Jan 27, 2011 at 3:03 PM, Yuri Z <[email protected]> wrote:
>
> > However when the build is finished - the link succeeds and I can run the
> > server.
> >
> > 2011/1/28 Yuri Z <[email protected]>
> >
> > > +1
> > > I get the error too with latest revision.
> > >
> > > 2011/1/27 Tad Glines <[email protected]>
> > >
> > > Are you using the default target (running ant with no arguments) or
> > >> are you trying to run a specific target?
> > >>
> > >> -Tad
> > >>
> > >> On Thu, Jan 27, 2011 at 1:28 PM, Scott Mitchell <
> [email protected]
> > >
> > >> wrote:
> > >> > Thanks,
> > >> >
> > >> > On my local dev machine I did a pull, update and then a clean.
> > >> >
> > >> > On an Amazon ec2 ubuntu server I renamed my old wave-protocol
> > directory
> > >> and
> > >> > created a new clone.
> > >> >
> > >> > hg clone https://wave-protocol.googlecode.com/hg/ wave-protocol
> > >> >
> > >> > Then did the ant. I got the same error on both machines.
> > >> >
> > >> > Scott
> > >> >
> > >> >
> > >> > On Thu, Jan 27, 2011 at 1:22 PM, Tad Glines <[email protected]>
> > >> wrote:
> > >> >
> > >> >> Is this with the latest version of the source (without private
> > >> >> modifications) and did you do a "ant clean" first?
> > >> >>
> > >> >> -Tad
> > >> >>
> > >> >> On Thu, Jan 27, 2011 at 11:44 AM, Scott Mitchell <
> > >> [email protected]>
> > >> >> wrote:
> > >> >> > I'm getting the following compile errors. Does anyone know what I
> > >> need to
> > >> >> > do?
> > >> >> >
> > >> >> > As near as I can tell (could be way off) java.net isn't in the
> JRE
> > >> >> Emulation
> > >> >> > Reference (
> > >> >> http://code.google.com/webtoolkit/doc/1.6/RefJreEmulation.html).
> > >> >> > Is this why
> > >> >> > it won't compile for me? Is there another reason?
> > >> >> >
> > >> >> > Thanks,
> > >> >> > Scott
> > >> >> >
> > >> >> >
> > >> >> > compile-gwt:
> > >> >> >     [java] Compiling module
> > >> org.waveprotocol.box.webclient.WebClientProd
> > >> >> >     [java]    Validating newly compiled units
> > >> >> >     [java]       [ERROR] Errors in
> > >> >> >
> > >> >>
> > >>
> >
> 'file:/home/smadirondack/wave-protocol/src/org/waveprotocol/wave/util/escapers/URLEncoderDecoderBasedPercentEncoderDecoder.java'
> > >> >> >     [java]          [ERROR] Line 23: The import java.net cannot
> be
> > >> >> resolved
> > >> >> >     [java]          [ERROR] Line 24: The import java.net cannot
> be
> > >> >> resolved
> > >> >> >     [java]          [ERROR] Line 39: URLDecoder cannot be
> resolved
> > >> >> >     [java]          [ERROR] Line 53: URLEncoder cannot be
> resolved
> > >> >> >
> > >> >> > BUILD FAILED
> > >> >> > /home/smadirondack/wave-protocol/build.xml:326: Java returned:
> 137
> > >> >> >
> > >> >>
> > >> >
> > >>
> > >
> >
>

Reply via email to