Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5661

Support for web-fragment.xml

$
0
0

Hello,

 

I'm starting developing web modules using the web fragments specified in Java Servlet 3.0 Specification. I already read (http://blogs.jetbrains.com/idea/2009/10/servlet-30-jsr-315-support-in-maia/) but couldn't find a solution for the following problem:

 

I'm trying to develop a web application (maven-archetype-webapp) together with a couple of web-modules (maven-archetype-quickstart). My modules (module1, module2) are located within the webapp module (webapp) as follows:

 

webapp

 

-- module1

 

-- module2

 

As I'm using maven my web-fragment.xml files are located in, e.g.:


webapp/module1/src/main/resources/META-INF/web-fragment.xml

 

In the web fragment configuration of both web modules I specified the correct web-fragment.xml in the 'Deployment Descriptors' group (Project Structure dialog).

 

Now I was hoping that Intellij IDEA would merge the web-fragment.xml files with the webapp/src/main/webapp/WEB-INF/web.xml located in the webapp module (as I specified Deployment Descriptor version 3.0 in the Deployment Descriptor Location dialog), but somehow only the web.xml file of the webapp module is considered and no merging occurs. Tomcat will only merge web-fragment.xml files located in jar files.

 

As this usecase, working at a couple of web-modules with web-fragment.xml files without the necessity to deploy them as jars, is quite important for us I wanted to know whether this usecase is or will be supported by IDEA Ultimate 10.5 or later versions?

 

Thx,
Rudolf

Viewing all articles
Browse latest Browse all 5661

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>