You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by br...@apache.org on 2004/06/23 14:28:49 UTC
cvs commit: maven-plugins/idea/src/plugin-resources/templates/v4 module.jelly
brett 2004/06/23 05:28:49
Modified: idea/src/plugin-resources/templates/v4 module.jelly
Log:
PR: MPIDEA-6
use maven.war.src for webroots
Revision Changes Path
1.7 +3 -1 maven-plugins/idea/src/plugin-resources/templates/v4/module.jelly
Index: module.jelly
===================================================================
RCS file: /home/cvs/maven-plugins/idea/src/plugin-resources/templates/v4/module.jelly,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- module.jelly 7 Jun 2004 12:09:40 -0000 1.6
+++ module.jelly 23 Jun 2004 12:28:49 -0000 1.7
@@ -77,8 +77,10 @@
<component name="WebModuleProperties">
<maven:makeRelativePath var="value" basedir="${basedir}" path="${webXml}" separator="/" />
<deploymentDescriptor name="web.xml" url="file://$$MODULE_DIR$$/${value}" version="2.3" />
+ <maven:get var="warSrc" plugin="maven-war-plugin" property="maven.war.src" />
+ <maven:makeRelativePath var="value" basedir="${basedir}" path="${warSrc}" separator="/" />
<webroots>
- <root url="file://$MODULE_DIR$/src/webapp" relative="/" />
+ <root url="file://$MODULE_DIR$/${value}" relative="/" />
</webroots>
<orderEntriesWatcher>
<pairs>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org