What's the purpose of "Source roots" on a web facet? 关注
What's the purpose of "Source roots" on a web facet?
I know that only the checked directories will be deployed to the classes folder.
My question is: is there a real-world case where this would be usefull?
Sure: If you build an ear with only a single module and have both an ejb and
a web facet attached, then you'll need to be able to specify which classes
should go into the war and which classes to the jar file.
Alexander Strotzky wrote: