you need to create a debug/run configuration with arguments set properly. you can find the arguments by reading run.sh
sry for the typing. i just got a problem with my adsl. i'm sending this with my nexus one. 在 2013-12-6 上午2:31,"Thomas Wrobel" <darkfl...@gmail.com>写道: > ok, I undid that. But now I am not sure what the run command should be in > eclipse. > or should I just run from a command window? > > *Trying in eclipse:* > > I do notice in Eclipse under "Run As" an Ant option. > It is set to use "${workspace_loc:/wave/src/com/google/gwt/build.xml}" but > doesn't have any other options set. > Running it results in; > Buildfile: C:\TomsProjects\wave\src\com\google\gwt\build.xml > > > *BUILD FAILEDC:\TomsProjects\wave\src\com\google\gwt\build.xml:15: Cannot > find C:\TomsProjects\wave\src\com\google\gwt\${build.common.path} imported > from C:\TomsProjects\wave\src\com\google\gwt\build.xml* > > Total time: 656 milliseconds > C:\TomsProjects\wave\src\com\google\gwt\build.xml exists ok, so its > something weong with that "common path" link. > > *Alternative;* > > Looking at the old guide it says to use "ant editor-hosted" for the "test > harness" > I try this and the old gwt development window pops up. > Putting this url into the browser... > ...works! At least, pretty sure. I dont exactly know what this wave panel > harness is supposed to do. Show raw blip data or something? > > It has a log like; > > > > > > *"test (1385940730.122): Set content1 took: 1258.0 (Pojo creation: 244.0, > rendering: 1014.0editor (1385940731.741): Incoming > operationBufferedInit@17162e7[]test (1385940731.789): Set content2 took: > 1164.0 Just the op: 554.0 Op + appendChild: 556.0 editor (1385940732.863): > Incoming operationBuffered@149b8b5[<< body {}; << line {}; >>; >>; ]editor > (1385940733.130): Incoming operationBuffered@1bebbed[__1; r@ {} {}; __2; > ]editor (1385940736.195): Focusing at last valid point as a catch-all"* > > Which seems to be working. > I close this, and try "ant waveharness-hosted" instead. This gives 4 > unresolved imports in the GWT dev mode log, before a empty rectangle > appears in the browser. "Active" and "Timing" appear the corner. > > Next I try "ant hosted-gwt" as the old guide says: > This seems to result in it not being able to find the URL of the host page; > * 00:00:00.000 [WARN] No startup URLs supplied and no plausible ones > found -- use -startupUrl* > > I am not sure what url I am supposed to supply. My own gwt projects > generally either have the html in a public folder in src, or just in the > war folder. I do see a lot of html's but none seem obvious. > > > > > > > > ~~~ > Thomas & Bertines online review show: > http://randomreviewshow.com/index.html > Try it! You might even feel ambivalent about it :) > > > On 5 December 2013 15:05, Frank R. <renfeng...@gmail.com> wrote: > > > > > > > > *Told it it was a gwt project (not 100% sure thats correct, as only > part of > > > its gwt...seems to work though) > > > > Don't do that. I don't think it's a standard GWT project in the SDK point > > of view. That's why you got the two errors. > > > > On Thu, Dec 5, 2013 at 9:09 PM, Thomas Wrobel <darkfl...@gmail.com> > wrote: > > > > > Note#: > > > *Imported as existing project into eclipse. > > > *Told it it was a gwt project (not 100% sure thats correct, as only > part of > > > its gwt...seems to work though) > > > *2 errors; > > > -The GWT SDK JAR gwt-servlet.jar is missing in the WEB-INF/lib > directory > > > -The web.xml file does not exist WEB-INF /wave/war > > > However, I assume these can be ignored as we arnt using gwt for any of > the > > > server stuff are we? > > > *2404 warnings...but thats normal for a project of this size ;) > > > > > > > > > ~~~ > > > Thomas & Bertines online review show: > > > http://randomreviewshow.com/index.html > > > Try it! You might even feel ambivalent about it :) > > > > > > > > > On 5 December 2013 12:57, Thomas Wrobel <darkfl...@gmail.com> wrote: > > > > > > > oh, it already has Eclipse stuff. *smacks head* thought that had to > be > > > > built separately first before it would be ready. > > > > Thanks. > > > > > > > > regarding compile times; I'll see how fast the GWT stuff compiles on > its > > > > own, as mentioned earlier I think the majority of my 5 hour build was > for > > > > the server stuff, not the client. > > > > If the problem is somehow specific to me - either due to my XP, or > the > > > > 2Gig or ram, or something else about my system, then its not worth > > > worrying > > > > much. > > > > If the problem is likely to effect others though, we should look into > it, > > > > either a fix, or the virtual machine as an option. > > > > The quicker people can dive into the code, the less likely they are > to > > > > lose their enthusiasm before they even start ;) > > > > > > > > > > > > > > > > > > > > ~~~ > > > > Thomas & Bertines online review show: > > > > http://randomreviewshow.com/index.html > > > > Try it! You might even feel ambivalent about it :) > > > > > > > > > > > > On 5 December 2013 10:23, Frank R. <renfeng...@gmail.com> wrote: > > > > > > > >> If you get the source code from https://github.com/apache/wave, I'd > > > >> suggest to import Wave in a Box directly as an existing Eclipse > project. > > > >> [image: Inline image 1] > > > >> > > > >> > > > >> On Thu, Dec 5, 2013 at 7:54 AM, Thomas Wrobel <darkfl...@gmail.com > > > >wrote: > > > >> > > > >>> Is there a command for serverstuff+gwt-dev ? As I think that would > be > > > >>> useful to recommend in the guide, rather then the full > serverstuff+32 > > > >>> permutations. (yet you don't just want "compile-gwt-dev" either, > as I > > > >>> assume that's without ant server stuff). > > > >>> -- > > > >>> Stuck#4: > > > >>> How do I currently get it setup for Eclipse? > > > >>> > > > >>> The old guide says; > > > >>> > > > >>> ant eclipse > > > >>> > > > >>> Will give me the project files needed, but this gives me an error; > > > >>> > > > >>> C:\TomsProjects\wave\build.xml:79: Execute failed: > java.io.IOException: > > > >>> Cannot r > > > >>> un program "tools\eclipse.sh": CreateProcess error=193, %1 is not a > > > valid > > > >>> Win32 > > > >>> application > > > >>> at java.lang.ProcessBuilder.start(ProcessBuilder.java:470) > > > >>> at java.lang.Runtime.exec(Runtime.java:593) > > > >>> at > > > >>> > org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Exec > > > >>> ute.java:827) > > > >>> at > > > org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:445) > > > >>> at > > > >>> org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:459) > > > >>> at > > > >>> > org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:635) > > > >>> at > > > >>> org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:676) > > > >>> at > > > >>> org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:502) > > > >>> at > > > >>> > org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) > > > >>> at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown > Source) > > > >>> at > > > >>> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces > > > >>> sorImpl.java:25) > > > >>> at java.lang.reflect.Method.invoke(Method.java:597) > > > >>> at > > > >>> > org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav > > > >>> a:106) > > > >>> at org.apache.tools.ant.Task.perform(Task.java:348) > > > >>> at org.apache.tools.ant.Target.execute(Target.java:390) > > > >>> at > org.apache.tools.ant.Target.performTasks(Target.java:411) > > > >>> at > > > >>> > org.apache.tools.ant.Project.executeSortedTargets(Project.java:1360) > > > >>> at > > > org.apache.tools.ant.Project.executeTarget(Project.java:1329) > > > >>> at > > > >>> > org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe > > > >>> cutor.java:41) > > > >>> at > > > org.apache.tools.ant.Project.executeTargets(Project.java:1212) > > > >>> at org.apache.tools.ant.Main.runBuild(Main.java:801) > > > >>> at org.apache.tools.ant.Main.startAnt(Main.java:218) > > > >>> at > org.apache.tools.ant.launch.Launcher.run(Launcher.java:280) > > > >>> at > org.apache.tools.ant.launch.Launcher.main(Launcher.java:109) > > > >>> Caused by: java.io.IOException: CreateProcess error=193, %1 is not > a > > > >>> valid > > > >>> Win32 > > > >>> application > > > >>> at java.lang.ProcessImpl.create(Native Method) > > > >>> at java.lang.ProcessImpl.<init>(ProcessImpl.java:177) > > > >>> at java.lang.ProcessImpl.start(ProcessImpl.java:28) > > > >>> at java.lang.ProcessBuilder.start(ProcessBuilder.java:452) > > > >>> > > > >>> > > > >>> > > > >>> > > > >>> > > > >>> ~~~ > > > >>> Thomas & Bertines online review show: > > > >>> http://randomreviewshow.com/index.html > > > >>> Try it! You might even feel ambivalent about it :) > > > >>> > > > >>> > > > >>> On 5 December 2013 00:44, Ali Lown <a...@lown.me.uk> wrote: > > > >>> > > > >>> > We do. > > > >>> > > > > >>> > 'Ant compile-gwt-dev' does exactly that. > > > >>> > On 4 Dec 2013 23:26, "Thomas Wrobel" <darkfl...@gmail.com> > wrote: > > > >>> > > > > >>> > > Thanks for the explanation/breakdown that's useful. > > > >>> > > I'll still look into it, but it sounds like far too many to use > a > > > >>> > > dictionary. You'd end up with quite a mess. > > > >>> > > > > > >>> > > Maybe just having a "development compile" without all the > > > >>> permutations > > > >>> > > would be better for now. I'll have a think though if decent > > > >>> alternatives > > > >>> > > come to mind. > > > >>> > > > > > >>> > > > > > >>> > > > > > >>> > > ~~~ > > > >>> > > Thomas & Bertines online review show: > > > >>> > > http://randomreviewshow.com/index.html > > > >>> > > Try it! You might even feel ambivalent about it :) > > > >>> > > > > > >>> > > > > > >>> > > On 5 December 2013 00:07, Vicente J. Ruiz Jurado < > > > >>> v...@ourproject.org > > > >>> > > >wrote: > > > >>> > > > > > >>> > > > El 04/12/13 23:55, Ali Lown escribió: > > > >>> > > > > It looks for all the files to do with the spanish > translation. > > > >>> > > > > > > >>> > > > yes, I did for the two languages (with same result) ... but I > > > copy > > > >>> my > > > >>> > > > last one command (the Spanish) :-P > > > >>> > > > > > > >>> > > > > > >>> > > > > >>> > > > >> > > > >> > > > > > > > >