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:
Leo
请先登录再写评论。
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).
Thanks mate :)