Include .java source code when building war file

Hi all,

I've built my java web application (using v10) and under the Build menu I can create the final exploded war contents.

However, what I'd like within this war contents is not just all the .classes but the .java source code alongside it.

Is there a setting somewhere that I can switch on so it will do this?

Also, is there a way from the product for me to create an unexploded war file - ie. a .WAR file? (I know I can go to a command line and

do it myself but just wondering if I can do it within the product itself?


1 comment
Comment actions Permalink

i think in artifact settings you can src rot as an ordinary dir to the war content


Please sign in to leave a comment.