I am using maven-gwt plugin to convert my existing ant GWT project to maven.
1. Added the gwt maven entry as below and ran mvn eclipse:clean eclipse:eclipse, but still GWT SDK is not getting added to the generated eclipse project
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>gwt-maven-plugin</artifactId>
<version>2.4.0</version>
<executions>
<execution>
<goals>
<goal>compile</goal>
</goals>
</execution>
</executions>
</plugin>
Work Around followed : add it directly from the Project --> Google --> WebToolKit
2. After doing work around, build is fine and now able to run the web application. But Spring-tx jar which is present in the buildpath is not copied/considered while launching the application using jetty and hence throwing errors validating the application-context xml file. Infact none of the jars in java build path(dependencies defined in pom.xml) are being picked for runtime by Eclipse when launching in Jetty. But when running mvn clean install, all jars are copied to the web-inf/lib directory properly
Can you please help on both the issues
hi any help
On Wednesday, 25 July 2012 19:41:40 UTC+5:30, Venkatkalyan Solasa wrote:I am using maven-gwt plugin to convert my existing ant GWT project to maven.
1. Added the gwt maven entry as below and ran mvn eclipse:clean eclipse:eclipse, but still GWT SDK is not getting added to the generated eclipse project
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>gwt-maven-plugin</artifactId>
<version>2.4.0</version>
<executions>
<execution>
<goals>
<goal>compile</goal>
</goals>
</execution>
</executions>
</plugin>
Work Around followed : add it directly from the Project --> Google --> WebToolKit
2. After doing work around, build is fine and now able to run the web application. But Spring-tx jar which is present in the buildpath is not copied/considered while launching the application using jetty and hence throwing errors validating the application-context xml file. Infact none of the jars in java build path(dependencies defined in pom.xml) are being picked for runtime by Eclipse when launching in Jetty. But when running mvn clean install, all jars are copied to the web-inf/lib directory properly
Can you please help on both the issues
--
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/-/BO7AIvpHO5oJ.
To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.