Packaging Web Module in IDEA 4
Hi Intellij Team!
In the new idea 4, IDEA already supports packaging of jar files for ejb and web modules by just pressing "make ]]>". what should be my directory for web module so that the source files (the /src) doesnt not get included in the .war file? (without the help of Ant). is it possible?
I noticed ejb modules doesnt have this prob.
Offtopic:
btw, Id like to say that the EJB support is excellent! :). The only thing im wishing for is a plugin or feature for automatic generation of database tables based on the CMP fields (or at least a DDL for the target DBMS)
请先登录再写评论。
Stephen wrote:
Make the src directory a Java Module, not a src dir for the web module,
include it in dependencies so you can compile, but don't include it in
the web deployment list of files to deploy.
Thanx for the tip :)
Follow up question :
in 3.x, i just have to define the web content so that struts tags will be recognized (not highlighted in red). how do i do that with 4?