How to get IntelliJ IDEA to include .js files in a .jar

Hey guys,

I am currently developing a wicket webapp project which requires .js to be included within the .jars i am compiling, but it seems that intelliJ is omitting them.

Anyone know how to get intelliJ to include .js files when compiling AND any other obsure files for that matter.

Message was edited by:

Comment actions Permalink

You have to add the .js extension to the list of resource patterns in Settings -> Compiler -> Resource patterns (add ;?*.js at the end of the list).

Comment actions Permalink

Thanks mate :)


Please sign in to leave a comment.