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?


Thank you.

0

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:

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?


Thank you.

0

请先登录再写评论。