JBoss jsp recompiling
Hi,
I'd like to know if there is a way to tell JBoss, via IntelliJ IDEA, to only recompile jsp when (re-)deploying a web application.
Each time I click on the "Make Project" button (or the shortcut Ctrl+F9) it redeploys the whole application, even if the only change is a jsp file, which is quite annoying (and time consuming).
I'm using IntelliJ IDEA 6.0.5, JBoss 3.2.6 and the "Local JBoss" configuration.
So, is there a way to tell IDEA (if it's up to him to do that) to only redeploy changed JSP ?
Message was edited by:
Bruno Dusausoy
请先登录再写评论。
Are you using the "Exploded Dir" deploy variant ? (see Settings | Project Structure | ]]> | Java EE Build settings)
Yes, I'm using the "Application Exploded Directory" option.
And I have "Create application exploded directory" and "Synchronize exploded directory" options selected.
sorry if I'm blunt here, but have you set that as well at the web module?
I only have a .ear module, no .war module.
Maybe lies the problem there ?
If you just changed a single JSP you can also invoke "Package File" from the context menu to have that single file copied to the server.
There should really be a "Package all changed files", though.
Do you mean I have to click on the "Package File" item on each modified jsp page and that there is currently no way to package all modified files at once ?
It's already easier like this - thank you - but indeed there should be a way to do it globally.
I found a very old request about packaging multiple files:
http://www.jetbrains.net/jira/browse/IDEABKL-2627
On second thought: Can't you just "make" and then answer "no" when Idea asks to redeploy the app?
Well, it doesn't ask me if I want to redeploy...
Project Settings -> Compiler -> Deploy web applications to server after compilation
At least I think that should do it.
Indeed, that does the trick. Thanks a lot.
But I really hope they will provide something easier and straightforward to solve this inconvenience.