You can set the structure however you want it, that's part of the beauty of Maven. Maven does have defaults of course (like src/main/) but you dont HAVE to use that. If you go outside of the defaults you will have to configure your POM accordingly (all the examples here and such assume the Maven defaults, as this is a Maven plugin project and most people use those defaults).
I would suggest that you have a look at the docs and maybe use the Archetype a time or two so you are familiar with GWT-Maven a bit. http://gwt-maven.googlecode.com/svn/docs/maven-googlewebtoolkit2-plugin/archetype.html Then if you have an existing setup you might be able to adapt the plugin to work with it (or you might be able to adapt your setup to the Maven defaults). I am not familiar with Cypal, so I don't know what the exact changes might be. On Jan 6, 6:50 pm, "[email protected]" <[email protected]> wrote: > I have to do this structure on my own? I have got a lot of files so it > would be a lot of changes in code. > > On 7 Sty, 00:39, "[email protected]" > > <[email protected]> wrote: > > Thank You very much for Your answer. I haven't done correct structure > > folders. I've used cypal studio and I've thought that structure > > generated by this plugin is ok. > > > On 6 Sty, 11:18, Charlie Collins <[email protected]> wrote: > > > > 1. That's a really old version of GWT-Maven. 2.0-beta26 is the > > > current version. > > > Also, you might want to use the newer "automatic" configuration - see > > > the examples > > > here:http://gwt-maven.googlecode.com/svn/docs/maven-googlewebtoolkit2-plug.... > > > > 2. You are including the "mergewebxml" goal, do you have a source > > > web.xml file? (src/main/webapp/WEB-INF/web.xml) > > > > On Jan 6, 4:43 am, "[email protected]" > > > > <[email protected]> wrote: > > > > I have got problem with build WAR file. I get error because "Unable to > > > > merge web.xml", and I don't know why I get this "[INFO] No sources to > > > > compile"? > > > > > I get this message: > > > > > [INFO] Scanning for projects... > > > > [INFO] > > > > ------------------------------------------------------------------------ > > > > [INFO] Building Unnamed - DendrytProject:DendrytProject:war:0.0.1- > > > > SNAPSHOT > > > > [INFO] > > > > [INFO] Id: DendrytProject:DendrytProject:war:0.0.1-SNAPSHOT > > > > [INFO] task-segment: [install] > > > > [INFO] > > > > ------------------------------------------------------------------------ > > > > [INFO] [resources:resources] > > > > [INFO] Using default encoding to copy filtered resources. > > > > [INFO] [compiler:compile] > > > > [INFO] No sources to compile > > > > [INFO] [gwt:mergewebxml] > > > > [ERROR] > > > > > The following mojo encountered an error while executing: > > > > Group-Id: com.totsp.gwt > > > > Artifact-Id: maven-googlewebtoolkit2-plugin > > > > Version: 2.0-beta5 > > > > Mojo: mergewebxml > > > > brought in via: POM > > > > > While building project: > > > > Group-Id: DendrytProject > > > > Artifact-Id: DendrytProject > > > > Version: 0.0.1-SNAPSHOT > > > > From file: C:\eclipse-jee-ganymede-SR1-win32\workspace\DendrytProject > > > > \pom.xml > > > > Reason: Unable to merge web.xml > > > > > [INFO] > > > > ------------------------------------------------------------------------ > > > > [INFO] For more information, run with the -e flag > > > > [INFO] > > > > ------------------------------------------------------------------------ > > > > [INFO] BUILD FAILED > > > > [INFO] > > > > ------------------------------------------------------------------------ > > > > [INFO] Total time: 2 seconds > > > > [INFO] Finished at: Tue Jan 06 09:38:44 CET 2009 > > > > [INFO] Final Memory: 2M/9M > > > > [INFO] > > > > ------------------------------------------------------------------------ > > > > > This is my pom.xml file: > > > > > <project xmlns="http://maven.apache.org/POM/4.0.0" > > > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > > > > xsi:schemaLocation="http:// > > > > maven.apache.org/POM/4.0.0http://maven.apache.org/maven-v4_0_0.xsd"> > > > > <modelVersion>4.0.0</modelVersion> > > > > <groupId>DendrytProject</groupId> > > > > <artifactId>DendrytProject</artifactId> > > > > <packaging>war</packaging> > > > > <version>0.0.1-SNAPSHOT</version> > > > > <build> > > > > <plugins> > > > > <plugin> > > > > > > > > <groupId>org.apache.maven.plugins</groupId> > > > > > > > > <artifactId>maven-compiler-plugin</artifactId> > > > > <version>2.0</version> > > > > </plugin> > > > > <plugin> > > > > > > > > <groupId>org.apache.maven.plugins</groupId> > > > > > > > > <artifactId>maven-war-plugin</artifactId> > > > > <version>2.0</version> > > > > > <configuration> > > > > <webXml>target/web.xml</webXml> > > > > </configuration> > > > > </plugin> > > > > <plugin> > > > > <groupId>com.totsp.gwt</groupId> > > > > > > > > <artifactId>maven-googlewebtoolkit2-plugin</artifactId> > > > > <version>2.0-beta5</version> > > > > <extensions>true</extensions> > > > > > <configuration> > > > > <runTarget> > > > > > > > > com.dendryt.software.Dendryt/Dendryt.html > > > > </runTarget> > > > > <compileTargets> > > > > > > > > <param>com.dendryt.software.Dendryt</param> > > > > </compileTargets> > > > > > > > > > <gwtHome>c:\eclipse-jee-ganymede-SR1-win32\GWT\gwt- > > > > windows-1.5.2\</gwtHome> > > > > </configuration> > > > > > <executions> > > > > <execution> > > > > <goals> > > > > > > > > <goal>mergewebxml</goal> > > > > > > > > <goal>compile</goal> > > > > </goals> > > > > </execution> > > > > </executions> > > > > > </plugin> > > > > > </plugins> > > > > > </build> > > > > <repositories> > > > > <repository> > > > > <id>gwt-maven</id> > > > > > > > > <url>http://gwt-maven.googlecode.com/svn/trunk/mavenrepo/</url> > > > > </repository> > > > > </repositories> > > > > <pluginRepositories> > > > > <pluginRepository> > > > > <id>gwt-maven</id> > > > > > > > > <url>http://gwt-maven.googlecode.com/svn/trunk/mavenrepo/</url> > > > > </pluginRepository> > > > > </pluginRepositories> > > > > <dependencies> > > > > <dependency> > > > > <groupId>junit</groupId> > > > > <artifactId>junit</artifactId> > > > > <version>4.1</version> > > > > <scope>test</scope> > > > > </dependency> > > > > <dependency> > > > > <groupId>com.googlecode.gwtx</groupId> > > > > <artifactId>GWTx</artifactId> > > > > <version>20070605</version> > > > > </dependency> > > > > <dependency> > > > > <groupId>com.google.gwt</groupId> > > > > <artifactId>gwt-user</artifactId> > > > > <version>1.5.2</version> > > > > <scope>provided</scope> > > > > </dependency> > > > > <dependency> > > > > <groupId>com.google.gwt</groupId> > > > > <artifactId>gwt-servlet</artifactId> > > > > <version>1.5.2</version> > > > > <scope>runtime</scope> > > > > </dependency> > > > > </dependencies> > > > > </project> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "gwt-maven" 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/gwt-maven?hl=en -~----------~----~----~----~------~----~------~--~---
