Need a good way to exclude included files (*.jsi) from make

By convension, when we have JSP source files that only work when
included other JSP files, we give them the .jsi extension.

I have found that for IDEA to correctly handle JSPs that include one of
these files, I have to add .jsi as and extension to the JSP File file type.

However, when I do this, and I check the option to validate JSPs on
make, IDEA attempts to compile all these .jsi files, which generally
don't work on their own.

I can exclude each one individually from the compile, but this is very
tedious. Is there a way to exclude them using an expression (*.jsi)?

Charlie Evett

1 comment
Comment actions Permalink

No there's currently no a way to exclude files via reqular expressions but
this functionality it is planned.
As a workaround, you may store *.jsi files in a separate directory and
exclude this directory with the subdirectories.

--

Best regards,
Eugene Zhuravlev
JetBrains, Inc, http://www.intellij.com
"Develop with pleasure!"

"Charlie Evett" <evett@marketsoft.com> wrote in message
news:3DA445C7.6060004@marketsoft.com...

By convension, when we have JSP source files that only work when
included other JSP files, we give them the .jsi extension.

>

I have found that for IDEA to correctly handle JSPs that include one of
these files, I have to add .jsi as and extension to the JSP File file

type.
>

However, when I do this, and I check the option to validate JSPs on
make, IDEA attempts to compile all these .jsi files, which generally
don't work on their own.

>

I can exclude each one individually from the compile, but this is very
tedious. Is there a way to exclude them using an expression (*.jsi)?

>

Charlie Evett

>


0

Please sign in to leave a comment.