Thanks Thomas, but is not what I need. I want to run with dev mode, the RPC services for example. In the way that you say, is not dev mode. I will investigate if exists a way to do this (only if I have all in one module)
Cheers, Juan 2012/6/5 Juan Pablo Gardella <[email protected]> > Thanks Thomas! I will try it > > > 2012/6/5 Thomas Broyer <[email protected]> > >> I'm still looking for the best / most productive way to do it (see >> https://plus.google.com/113945685385052458154/posts/3VKPRDU2xZz) but you >> can simply “Run as… → Maven build…” on the server project, and select the >> "jetty:start" goal with a “dev” property (set to whatever value, “true” is >> fine); i.e. the exact equivalent to “cd *-server && mvn jetty:start -Ddev”. >> >> >> On Tuesday, June 5, 2012 3:23:18 AM UTC+2, Juan Pablo Gardella wrote: >>> >>> Hi, >>> >>> I have problems to run the project inside eclipse. I add this to the >>> parent pom.xml: >>> >>> <plugin> >>> <groupId>org.apache.maven.**plugins</groupId> >>> <artifactId>maven-eclipse-**plugin</artifactId> >>> <version>2.9</version> >>> <configuration> >>> <wtpmanifest>true</**wtpmanifest> >>> <wtpapplicationxml>true</**wtpapplicationxml> >>> <manifest>${basedir}/src/main/**resources/META-INF/MANIFEST.MF >>> </manifest> >>> <projectNameTemplate> >>> [artifactId] >>> </projectNameTemplate> >>> <wtpversion>2.0</wtpversion> >>> <workspace>${workspace.path}</**workspace> >>> <downloadSources>true</**downloadSources> >>> </configuration> >>> </plugin> >>> >>> So, the project is added as a dependency in the eclipse. With this I can >>> run the *client* module, I change in shared project, refresh the >>> browser and the changes happens. So I can remove in client module the part >>> where use build-helper-maven-plugin to add sources. I don't know why, but >>> in eclipse doesn't found this sources folder. >>> >>> The problem that I facing now is, how I can run the server code too >>> inside eclipse? I want to click on Run -> Web application and run in dev >>> mode all modules to test server code too. >>> >>> If run server module fails because don't found entry module: >>> Missing required argument 'module[s]' >>> Google Web Toolkit 2.4.0 >>> DevMode [-noserver] [-port port-number | "auto"] [-whitelist >>> whitelist-string] [-blacklist blacklist-string] [-logdir directory] >>> [-logLevel level] [-gen dir] [-bindAddress host-name-or-address] >>> [-codeServerPort port-number | "auto"] [-server servletContainerLauncher[: >>> **args]] [-startupUrl url] [-war dir] [-deploy dir] [-extra dir] >>> [-workDir dir] module[s] >>> >>> And if run client module fail because: >>> >>> [WARN] 404 - POST /app/greet (127.0.0.1) 1395 bytes >>> >>> And in my server module has: >>> >>> <servlet-mapping> >>> <servlet-name>greetServlet</**servlet-name> >>> <url-pattern>/app/greet</url-**pattern> >>> </servlet-mapping> >>> >>> Can someone help me to run inside Eclipse? >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "Google Web Toolkit" group. >> To view this discussion on the web visit >> https://groups.google.com/d/msg/google-web-toolkit/-/OqM05pUDwYMJ. >> >> 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. >> > > -- 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.
