You don't need this at all.

<arg line="-startupUrl http://localhost:9898"/>



On Tue, Dec 17, 2013 at 1:26 AM, Yuri Z <vega...@gmail.com> wrote:

> Try to add the startupUrl like this:
>
>   <target name="hosted-gwt" depends="compile"
>       description="Runs the hosted mode server, for debugging the GWT
> client in a JVM.">
>     <java failonerror="true" fork="true"
> classname="com.google.gwt.dev.DevMode">
>       <classpath>
>         <pathelement location="${src.dir}"/>
>         <pathelement location="${gen.dir}/messages"/>
>         <path refid="libpath"/>
>       </classpath>
>       <jvmarg value="-Xmx512M"/>
>       <jvmarg value="-ea"/>
>       <jvmarg
>
> value="-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=8001"/>
>       <arg value="-noserver" />
>       <arg line="-bindAddress 0.0.0.0" />
>       <arg line="${gwt.args}"/>
>       <arg line="-startupUrl http://localhost:9898"/>
>       <arg value="org.waveprotocol.box.webclient.WebClientProd"/>
>
>
> On Mon, Dec 16, 2013 at 6:04 PM, Thomas Wrobel <darkfl...@gmail.com>
> wrote:
>
> > I don't think so...that's for Java itself isn't it? as apposed to
> > Java>>Javascript>>Browser as is the case here. I thus don't think Jrebel
> > could be used for client side adjustments only server.
> > I also think it would add another layer of complication to the whole
> thing
> > which Gwt should do anyway.
> >
> > For example if I run:
> > ---
> > "ant editor-hosted" I get the Gwt development mode popup and a link;
> >
> >
> http://127.0.0.1:8888/org.waveprotocol.wave.client.editor.harness.EditorTest/EditorTest.html?gwt.codesvr=127.0.0.1:9997
> >  I open it in my browser.
> >  If I then edit a random file used to make it, and hit refresh, it
> updates
> > as expected.
> >
> > For example, In EditorHarness.java edit;
> >    CheckBox check = new CheckBox("Toggle edit");
> > to
> >    CheckBox check = new CheckBox("Toggle edit mode");
> >
> > I hit F5 in my browser and within seconds I see the checkboxs name
> change.
> > This is how development of the client should be, imho. At least, as far
> as
> > interface and things that don't need server-side changes.
> >
> > However, when trying this same method with the main client it doesn't
> work.
> >
> >  "ant hosted-gwt" gets the Gwt development mode popup complaining of no
> > startupURL. If one could be supplied maybe it could work? Clearly this
> was
> > a development option at some point, as its documented;
> >
> https://cwiki.apache.org/confluence/display/WAVE/Client+Development+Setup#
> > After that was written presumably it broke.
> > As this is all outside of eclipse, it cant be related to
> > eclipse/non-eclipse use, either.
> >
> > In either case, I admit I am finding it hard to believe everyone has been
> > waiting 5 minutes or so for each little change they want to test in the
> > client. Its no wonder some people arnt fans of GWT here if that's been
> the
> > norm for wave development!
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > ~~~
> > Thomas & Bertines online review show:
> > http://randomreviewshow.com/index.html
> > Try it! You might even feel ambivalent about it :)
> >
> >
> > On 15 December 2013 16:56, Ryan Hill <r...@zndx.org> wrote:
> >
> > > Would something like jrebel be helpful?
> > >
> > >
> > > On Sun, Dec 15, 2013 at 8:45 AM, Thomas Wrobel <darkfl...@gmail.com>
> > > wrote:
> > >
> > > > hmz. Ok, I'll have to work this out, as that would annoy me too much.
> > > > Waiting 5 minutes for each change.
> > > > I know its possible outside eclipse, as its just some google thing
> > being
> > > > run by eclipse. I just don't know what exactly its triggering as I
> have
> > > > always just used the default eclipse/gwt set up and never poked
> behind
> > > the
> > > > scenes.
> > > > Thanks anyway.
> > > >
> > > > ~~~
> > > > Thomas & Bertines online review show:
> > > > http://randomreviewshow.com/index.html
> > > > Try it! You might even feel ambivalent about it :)
> > > >
> > > >
> > > > On 15 December 2013 16:36, Ali Lown <a...@lown.me.uk> wrote:
> > > >
> > > > > Not with my method of running - which is using the deploy jar.
> > > > >
> > > > > On 15 December 2013 15:31, Thomas Wrobel <darkfl...@gmail.com>
> > wrote:
> > > > > > can you edit without recompiling with " compile-gwt-dev" ?
> > > > > > (that is, just be refreshing the browser you get the changes)
> > > > > >
> > > > > > ~~~
> > > > > > Thomas & Bertines online review show:
> > > > > > http://randomreviewshow.com/index.html
> > > > > > Try it! You might even feel ambivalent about it :)
> > > > > >
> > > > > >
> > > > > > On 15 December 2013 15:56, Ali Lown <a...@lown.me.uk> wrote:
> > > > > >
> > > > > >> I can't help you with an eclipse-based workflow...
> > > > > >>
> > > > > >> I just compile-gwt-dev and re-deploy an my development machine.
> > > > > >>
> > > > > >> Ali
> > > > > >>
> > > > > >> On 15 December 2013 14:42, Thomas Wrobel <darkfl...@gmail.com>
> > > wrote:
> > > > > >> > Any chance of a pointer?
> > > > > >> > Still not getting the workflow here.
> > > > > >> > Probably missing the obvious.
> > > > > >> >
> > > > > >> > On 12 December 2013 13:12, Thomas Wrobel <darkfl...@gmail.com
> >
> > > > wrote:
> > > > > >> >
> > > > > >> >> ah, perhaps I spoke too soon. The normal GWT workflow doesn't
> > > seem
> > > > to
> > > > > >> work.
> > > > > >> >>
> > > > > >> >> At least I made a really minor change to one of the messages
> at
> > > the
> > > > > top
> > > > > >> as
> > > > > >> >> a test;
> > > > > >> >>
> > > > > >> >> public interface SavedStateMessages extends Messages {
> > > > > >> >>   @DefaultMessage("Saved___") //added underscores
> > > > > >> >>   String saved();
> > > > > >> >>
> > > > > >> >>   @DefaultMessage("Unsaved...")
> > > > > >> >>   String unsaved();
> > > > > >> >> }
> > > > > >> >>
> > > > > >> >> Hit refresh, but nothing changed. Cleared cache, refresh -
> > still
> > > > the
> > > > > >> same.
> > > > > >> >> Even stopped the server fully and restarted....no change.
> > > > > >> >>
> > > > > >> >> Does the client have to be recompiled using some other method
> > for
> > > > > each
> > > > > >> >> change made :?
> > > > > >> >>
> > > > > >> >>
> > > > > >> >> ~~~
> > > > > >> >> Thomas & Bertines online review show:
> > > > > >> >> http://randomreviewshow.com/index.html
> > > > > >> >> Try it! You might even feel ambivalent about it :)
> > > > > >> >>
> > > > > >> >>
> > > > > >> >> On 12 December 2013 02:07, Thomas Wrobel <
> darkfl...@gmail.com>
> > > > > wrote:
> > > > > >> >>
> > > > > >> >>> Yes, great! Seems to work!
> > > > > >> >>> Cheers.
> > > > > >> >>>
> > > > > >> >>> If someone gives me the permissions to edit the wiki I'll
> > > > > edit/update
> > > > > >> it.
> > > > > >> >>> Meanwhile, I'll tinker about on my own for awhile now.
> > > > > >> >>>
> > > > > >> >>> ~~~
> > > > > >> >>> Thomas & Bertines online review show:
> > > > > >> >>> http://randomreviewshow.com/index.html
> > > > > >> >>> Try it! You might even feel ambivalent about it :)
> > > > > >> >>>
> > > > > >> >>>
> > > > > >> >>> On 12 December 2013 02:03, Ali Lown <a...@lown.me.uk> wrote:
> > > > > >> >>>
> > > > > >> >>>> > However, on running I got a few errors;
> > > > > >> >>>>
> > > > > >> >>>> None of those are errors (only a few warnings and some
> debug
> > > > info).
> > > > > >> >>>>
> > > > > >> >>>> The server is running fine.
> > > > > >> >>>>
> > > > > >> >>>> > So, I guess next question; whats the default logins or
> how
> > > do I
> > > > > set
> > > > > >> >>>> them?
> > > > > >> >>>>
> > > > > >> >>>> There are no accounts made by default.
> > > > > >> >>>>
> > > > > >> >>>> > Does registration work while its running?
> > > > > >> >>>>
> > > > > >> >>>> Yes, using the registration page assuming that
> > > > > >> 'registration_disabled' is
> > > > > >> >>>> not true.
> > > > > >> >>>>
> > > > > >> >>>> Ali
> > > > > >> >>>>
> > > > > >> >>>
> > > > > >> >>>
> > > > > >> >>
> > > > > >>
> > > > >
> > > >
> > >
> >
>

Reply via email to