Thank you David. But I'm not so smart to understand, how it help me additionalProjectFacets with Maven to create. Can you explain me a little bit more?
Thank you in advance. Best Regards. -sipungora On 2 Mai, 20:52, David Chandler <[email protected]> wrote: > Hi sipungora, > > This info is pretty outdated. With Google Plugin for Eclipse 2.x, you can > simply Import | Existing maven project, point it to your POM, and the > project will be configured correctly. > > Provided you have the correct POM, of course. Here are several you can look > at: > > http://code.google.com/p/google-web-toolkit/source/browse/trunk/sampl... > Maven project maintained by the GWT > team)http://code.google.com/p/listwidget/source/browse/trunk/pom.xml(simpler > POM > for one of my own GWT+GAE projects not using Spring) > > /dmc > > There are several example POMs you can look at > > > > > > > > > > On Mon, May 2, 2011 at 2:11 PM, sipungora <[email protected]> wrote: > > Hi, > > > My problem: > > > on the page: > > >http://groups.google.com/group/Google-Web-Toolkit/browse_thread/threa... > > > one explains how gwt-module can be extended to Dynamic Web Module in > > order to be deploybar into eclipse tomcat. I've configured my pom so, > > that item 3 will be done by maven. > > > ------------------------------------------------------------------------------------ > > 3. insert the following natures into your .project file (inside the > > natures node): > > > <nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature> > > > <nature>org.eclipse.wst.common.project.facet.core.nature</nature> > > <nature>org.eclipse.wst.jsdt.core.jsNature</nature> > > > ------------------------------------------------------------------------------------ > > But how can I configure pom for 7 and 8 items? > > > ------------------------------------------------------------------------------------ > > 6. right-click the project and select Properties -> Project Facets > > 7. Check 'Java' and 'Dynamic Web Project' > > 8. Click 'further configuration available' and change the Content > > Directory to 'war', to align with GWT's output > > > ------------------------------------------------------------------------------------ > > > This is my configuration: > > > <plugin> > > <groupId>org.apache.maven.plugins</ > > groupId> > > <artifactId>maven-eclipse-plugin</ > > artifactId> > > <version>2.8</version> > > <configuration> > > <additionalBuildcommands> > > > <buildcommand>org.eclipse.jdt.core.javabuilder > > </buildcommand> > > > <buildcommand>com.google.gdt.eclipse.core.webAppProjectValidator > > </buildcommand> > > > <buildcommand>com.google.gwt.eclipse.core.gwtProjectValidator > > </buildcommand> > > </additionalBuildcommands> > > <additionalProjectnatures> > > > <projectnature>org.eclipse.jdt.core.javanature > > </projectnature> > > > <projectnature>com.google.gwt.eclipse.core.gwtNature > > </projectnature> > > > <projectnature>org.eclipse.wst.common.modulecore.ModuleCoreNature > > </projectnature> > > > <projectnature>org.eclipse.wst.common.project.facet.core.nature > > </projectnature> > > > <projectnature>org.eclipse.wst.jsdt.core.jsNature > > </projectnature> > > </additionalProjectnatures> > > > <classpathContainers> > > > <classpathContainer>com.google.gwt.eclipse.core.GWT_CONTAINER > > </classpathContainer> > > > <classpathContainer>org.eclipse.jdt.launching.JRE_CONTAINER > > </classpathContainer> > > </classpathContainers> > > <additionalProjectFacets> > > <jst.java>6.0</ > > jst.java> > > <jst.web>2.4</jst.web> > > </<b>additionalProjectFacets> > > > </configuration> > > </plugin> > > > But additionalProjectFacets have no effect. > > If I do items 7 and 8 manually as it was described, the file > > org.eclipse.wst.common.project.facet.core.xml will be created. Its > > content is > > > <?xml version="1.0" encoding="UTF-8"?> > > <faceted-project> > > <installed facet="jst.java" version="6.0"/> > > <installed facet="jst.web" version="2.4"/> > > </faceted-project> > > > But unfortunately this file will not be created by maven (I build with > > "mvn eclipse:eclipse"). > > > This was item 7. > > > About item 8 I have no ideas yet (I mean the build with maven). > > > Thanks in advance. > > Best Regards. > > -sipungora > > > -- > > 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. > > -- > David Chandler > Developer Programs Engineer, Google Web Toolkit > w:http://code.google.com/ > b:http://googlewebtoolkit.blogspot.com/ > t: @googledevtools -- 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.
