If you're running the server on another machine, just run:
ant compile_gwt
on the server and then when you ./run-server.sh it'll also host the
web frontend as well. (Usually at http://hostname:9898/)

The web frontend isn't designed to let you connect to arbitrary wave
servers, it assumes you're connecting to the machine that is hosting
the page.

As for windows builds, all that looks troubling. I put in a change to
fix the JavaWaverefEncoder error last friday. Do those errors just
crop up when you're building? Does it go on to say:
    [java]    Compiling 3 permutations
     [java]       Compiling permutation 0...
     [java]       Compiling permutation 1...
... etc?

We really need to clean up our windows build bits. I think its a bit
painful at the moment. (Or at the very least, write some docs which
explain how to do it)

-J


On Mon, Sep 27, 2010 at 6:00 AM, ThomasWrobel <[email protected]> wrote:
> I'm trying to compile the simple web client using eclipse.
> I have a working wave server on another pc already, so I'm merely
> trying to compile a client and connect to it.
>
> I got the web client from here;
> http://code.google.com/p/wave-protocol/source/browse?repo=default#hg/src/org/waveprotocol/wave/examples/client/webclient
>
> And imported it into eclipse.
> At first I got a few errors about "String" not being recognized in
> WebSockets,java, which were fixed by add;
>
>    <inherits name="com.google.gwt.user.User"/>
>
> To some of the module.xmls.
>
> I also had to add a startup URL, pointing to copy of the starting
> page.
> With this it will compile and load in the browser (chrome) but fails
> to connect.
> Giving a "attempting to reconnect" error every few seconds.
> (on the server end these are producing parser errors)
>
> Looking at the compile logs I got;
>
> 21:17:03.468 [ERROR] [webclient] Errors in 'jar:file:/C:/TomsProjects/
> SimpleWaveMapClient/tomswaveserverthing/third_party/runtime/wave-
> libraries/common-src.jar!/org/waveprotocol/wave/common/util/
> JavaWaverefEncoder.java'
>
> 21:17:03.484 [ERROR] [webclient] Line 20: The import java.net cannot
> be resolved
>
> 21:17:03.546 [ERROR] [webclient] Line 43: URLDecoder cannot be
> resolved
>
> and
>
> 21:17:03.718 [ERROR] [webclient] Errors in 'jar:file:/C:/TomsProjects/
> SimpleWaveMapClient/tomswaveserverthing/third_party/runtime/wave-
> libraries/model-src.jar!/org/waveprotocol/wave/model/schema/impl/
> UserDataSchemas.java'
>
> 21:17:03.734 [ERROR] [webclient] Line 65: No source code is available
> for type
> org.waveprotocol.wave.model.supplement.WaveletBasedSupplement; did you
> forget to inherit a required module?
>
> 21:17:03.750 [ERROR] [webclient] Line 209: No source code is available
> for type
> org.waveprotocol.wave.model.supplement.DocumentBasedAbuseStore<N,E>;
> did you forget to inherit a required module?
>
>
> errors.
> I read around the group and it seems some errors are expected when
> compiling, but I dont think these ones are and the URLDecoder could be
> the source of my error?
> any ideas?
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Wave Protocol" 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/wave-protocol?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups "Wave 
Protocol" 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/wave-protocol?hl=en.

Reply via email to