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

10 comments
Comment actions Permalink

Are you using the "Exploded Dir" deploy variant ? (see Settings | Project Structure | ]]> | Java EE Build settings)

0
Comment actions Permalink

Yes, I'm using the "Application Exploded Directory" option.
And I have "Create application exploded directory" and "Synchronize exploded directory" options selected.

0
Comment actions Permalink

sorry if I'm blunt here, but have you set that as well at the web module?

0
Comment actions Permalink

I only have a .ear module, no .war module.
Maybe lies the problem there ?

0
Comment actions Permalink

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.

0
Comment actions Permalink

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.

0
Comment actions Permalink

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?

0
Comment actions Permalink

Well, it doesn't ask me if I want to redeploy...

0
Comment actions Permalink

Project Settings -> Compiler -> Deploy web applications to server after compilation

At least I think that should do it.

0
Comment actions Permalink

Indeed, that does the trick. Thanks a lot.
But I really hope they will provide something easier and straightforward to solve this inconvenience.

0

Please sign in to leave a comment.