Resource Patterns: including everything but java sources

Is there a way to specify "everything but java sources" in the compiler's "Resource Patterns" configuration? Better yet, any chance this could be made the default configuration?

3 comments

"!?*.java" should work.
As for making this default setting, I think it's still better to list all extensions explisitly to avoid compilation surprises :)

--
Best regards,
Eugene Zhuravlev
Software Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop with pleasure!"

"Marcus Brito" <mbrito@gmail.com> wrote in message news:3841977.1139320273830.JavaMail.itn@is.intellij.net...

Is there a way to specify "everything but java sources" in the compiler's "Resource Patterns" configuration? Better yet, any
chance this could be made the default configuration?



0

I imagine I and co-workers have had many more compilation surprises
because files were not copied, than we would if all files were copied.

Eugene Zhuravlev (JetBrains) wrote:

"!?*.java" should work. As for making this default setting, I think
it's still better to list all extensions explisitly to avoid
compilation surprises :)

0

I imagine I and co-workers have had many more
compilation surprises because files were not
copied, than we would if all files were copied.


My point exactly, Keith. Extra files copied to the output directory shouldn't be any problem in all but the most exotic applications. Missing resources, however, are a pain in the arse.

0

Please sign in to leave a comment.