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

Is there a way to enable the Web facet and set the Web spec to 2.5 in order to let IDEA recognize trimDirectiveWhitespaces without creating a web.xml file?

$
0
0

This is mainly needed for a CQ5 CMS app.

 

It contains a bunch of JSP files that use trimDirectiveWhitespaces but it doesn't need a web.xml file.

 

Right now IDEA marks trimDirectiveWhitespaces as error.

 

if I add the Web facet and generate a web.xml with the 2.5 of the spec, IDEA recognized the directive. But ideally I don't want the web.xml to be generated.

 

In the meantime I have added web.xml to .gitignore, but can I just avoid generating it altogehter?

 

Thanks,

Behrang


Viewing all articles
Browse latest Browse all 5661

Trending Articles



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