An IntelliJ .war set-up is different from an Eclipse .war set-up, because?

Why is an IntelliJ .war set-up different from an Eclipse .war set-up?

IntelliJ insists on putting the directories /META-INF and /WEB-INF in the root of the .war, while Eclipse puts the directories /META-INF and /WEB-INF inside the /WebRoot directory.

Ok...

Does this matter?

I don't think the application servers care. I am looking for a reason why this is implemented differently? (Better yet, I am just trying to make sure I understand the reasoning.)

Thanks,

--Todd

2 comments
Comment actions Permalink

If I am not completely mistaken (which I don't want to rule out) the META-INF folder does not matter at all - it is ignored by the app-server.
The WEB-INF folder must be in the root, see
http://java.sun.com/javaee/5/docs/tutorial/doc/WebApp3.html#wp225219

0
Comment actions Permalink

Stephen:

That is excellent, I completely missed that in the Java EE 5 Tutorial docs.

Thanks,

0

Please sign in to leave a comment.