"Redeploy" does not automatically "Update classes and resources"

Answered

Hi,

I'm working with Glassfish-4.1.1 and developing a JSF application. I've set the deployment to "war exploded". Basically everything works fine, except the following:

If I select "Redeploy" and make some changes in a javabean-class, the changes in the javabean (e.g. a ManagedBean set to @SessionScoped)  have no effect when i select "Redeploy". I first have to execute "Update classes and resources" and then execute "Redeploy". Only if I execute these two steps, the changes in the javabean will have an effect.

Is there a possibility to automatically execute both steps ("Update classes and rescources" and "Redeploy") in one single task?

Best
Hartwig

0
1 comment

I've submitted https://youtrack.jetbrains.com/issue/IDEA-210475, please follow for updates.

As a workaround you can record a macro with these 2 actions and assign it to some keyboard shortcut.

0

Please sign in to leave a comment.