GWT compile output location and Maven project import

I have a web module with some GWT compile output. My project is imported from a Maven 2 pom.xml file. The GWT plugin in the pom.xml is configured to generate compile output to

<webappDirectory>${project.build.directory}/${project.build.finalName}/VAADIN/widgetsets</webappDirectory>

After importing the project into IDEA the compile output path in the web module artifact was the webapp root (Artifacts configuration of the module). I changed this manually to VAADIN/widgetsets and it worked fine. The problem is that on each pom.xml change (e.g. a dependency version) and re-import into IDEA, the path is changed back to the web root and I have to manually correct it. Is there any way to tell IDEA to compile GWT output to VAADIN/widgetsets instead of the web root somehow, so I don't have to correct it manually after each re-import of the changed pom.xml file?

Michael

3 comments
Comment actions Permalink

Could you please attach your pom.xml file?

I have a web module with some GWT compile output. My project is imported from a Maven 2 pom.xml file. The GWT plugin in the pom.xml is configured to generate compile output to

<webappDirectory>${project.build.directory}/${project.build.finalName}/VAADIN/widgetsets</webappDirectory>

After importing the project into IDEA the compile output path in the web module artifact was the webapp root (Artifacts configuration of the module). I changed this manually to VAADIN/widgetsets and it worked fine. The problem is that on each pom.xml change (e.g. a dependency version) and re-import into IDEA, the path is changed back to the web root and I have to manually correct it. Is there any way to tell IDEA to compile GWT output to VAADIN/widgetsets instead of the web root somehow, so I don't have to correct it manually after each re-import of the changed pom.xml file?

Michael

---
Original message URL: http://devnet.jetbrains.net/message/5266532#5266532



--
Nikolay Chashnikov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0
Comment actions Permalink

Here is the pom.xml (a few elements like repository locations, svn urls) which do not have to do with the problem have been removed.



Attachment(s):
pom.xml
0
Comment actions Permalink

Looks like we need to support webappDirectory property of GWT plugin configuration to correctly import Maven project in IDEA. Could you please create
an issue in our tracker (http://youtrack.jetbrains.net/issue/IDEA)?

Here is the pom.xml (a few elements like repository locations, svn urls) which do not have to do with the problem have been removed.

---
Original message URL: http://devnet.jetbrains.net/message/5266539#5266539



--
Nikolay Chashnikov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0

Please sign in to leave a comment.