exclude from compile with modules?

Is there any to "build" a module vs. "compile" a module so that the
exclude from compile bug (24596) does not trigger?

8 comments
Comment actions Permalink

The issue you are talking about is not a bug, but rather a feature. If you use compile (ctrl-shift-F9), the compilation is forced,
no matter what the filters are.
The compile filters are honored during make and rebuild. So the answer is: you should use make.

--

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

"Barry Kaplan" <bkaplan@integratedtrading.com> wrote in message news:bspj5v$ev$1@is.intellij.net...

Is there any to "build" a module vs. "compile" a module so that the
exclude from compile bug (24596) does not trigger?

>


0
Comment actions Permalink

Eugene Zhuravlev (JetBrains) wrote:

The issue you are talking about is not a bug, but rather a feature. If you use compile (ctrl-shift-F9), the compilation is forced,
no matter what the filters are.
The compile filters are honored during make and rebuild. So the answer is: you should use make.

hum... Eugene this is not a real cool feature... reason being that with
web modules, you right click a web module to build just that module, not
everything in the project, and you end up with unexpected results.

Actually I think I have a bug filed for this too. This should not be
the intended behavior I think.

R

0
Comment actions Permalink

If I have setup compilation excludes (eg, for provider packages that are
not supported by our system but the files still exist in CVS) when would
I ever want those files to be compiled. I'm mean, I said to exlude them.
The exclude settings did not say "exclude these files, but only sometimes".

Eugene Zhuravlev (JetBrains) wrote:

The issue you are talking about is not a bug, but rather a feature. If you use compile (ctrl-shift-F9), the compilation is forced,
no matter what the filters are.
The compile filters are honored during make and rebuild. So the answer is: you should use make.


0
Comment actions Permalink

So, Eugine, how do I make or rebuild just a single module?

Eugene Zhuravlev (JetBrains) wrote:

The issue you are talking about is not a bug, but rather a feature. If you use compile (ctrl-shift-F9), the compilation is forced,
no matter what the filters are.
The compile filters are honored during make and rebuild. So the answer is: you should use make.


0
Comment actions Permalink

So, Eugine, how do I make or rebuild just a single module?


right-click on a module in the ProjectView and choose "compile module" or invoke compilation with ctrl-shift-F9 on that module. The
selected module as well as all modules that it depends on (recursively) will be rebuilt.

--

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


"Barry Kaplan" <bkaplan@integratedtrading.com> wrote in message news:bspmbg$kit$2@is.intellij.net...

So, Eugine, how do I make or rebuild just a single module?

>

Eugene Zhuravlev (JetBrains) wrote:

>

The issue you are talking about is not a bug, but rather a feature. If you use compile (ctrl-shift-F9), the compilation is

forced,

no matter what the filters are.
The compile filters are honored during make and rebuild. So the answer is: you should use make.

>

>


0
Comment actions Permalink

I ever want those files to be compiled. I'm mean, I said to exlude them.
The exclude settings did not say "exclude these files, but only sometimes".


The behaviour was added as a result of feature request (for Ariadna, if I remember right). The reason was that if one explicitly
selects some files he/she wants them to be compiled. For example, you don't want to compile a set of files every time they gets
modified (like "make" does), but want to invoke compilation explicitly.
On the other hand, compilation filters are useful when the list of files to be compiled is built by "Make" or "Rebuild".
What really lacks is a "Make Module" action, but we'll add it as I wrote to Hani in "Compile behaviour" thread.

--

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


"Barry Kaplan" <bkaplan@integratedtrading.com> wrote in message news:bspmae$kit$1@is.intellij.net...

If I have setup compilation excludes (eg, for provider packages that are
not supported by our system but the files still exist in CVS) when would
I ever want those files to be compiled. I'm mean, I said to exlude them.
The exclude settings did not say "exclude these files, but only sometimes".

>

Eugene Zhuravlev (JetBrains) wrote:

The issue you are talking about is not a bug, but rather a feature. If you use compile (ctrl-shift-F9), the compilation is

forced,

no matter what the filters are.
The compile filters are honored during make and rebuild. So the answer is: you should use make.

>

>


0
Comment actions Permalink


Eugene Zhuravlev (JetBrains) wrote:

>>So, Eugine, how do I make or rebuild just a single module?


right-click on a module in the ProjectView and choose "compile module" or invoke compilation with ctrl-shift-F9 on that module. The
selected module as well as all modules that it depends on (recursively) will be rebuilt.


But then this will compile the "excluded" files. I what about
"Make/Build" the module? (Is this what you refering to in your next reply?)

0
Comment actions Permalink

But then this will compile the "excluded" files. I what about
"Make/Build" the module? (Is this what you refering to in your next reply?)


Ah, got the problem. Indeed, either we should change the way excluded files are treated or add "Rebuild Module" - we'll think of
this.
As for "Make module", we'll add it.

--

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


0

Please sign in to leave a comment.