Deploy button for manual redeployment in Netbeans while deployOnSave is disabled

Is it possible to manually redirect the project after making certain changes to the source code?

I disabled the deployOnSave in Netbeans to prevent unnecessary deployOnSave while I make trivial code changes. Perhaps the redeploy button on the toolbar or something like that would be useful.


Using Netbeans 7.2

+7
source share
4 answers
  • Right click on the project
  • The properties
  • Run submenu
  • Expand Save On Save (uncheck this box)

Put the keyboard shortcut to expand

  • Service menu
  • Options
  • Key Map Submenu
  • Search Deploy and Configure Keyboard Shortcuts
+4
source

Add the server to your managed servers in Netbeans by getting to Windows -> Services . When you added the server, change the properties of your project and set the newly added server as the default server for the project. Now you can just do clean using the toolbar button and then run when you want to deploy your project.

0
source

When you disable deployOnSave , then when you want to redeploy , just enable deployOnSave in the project properties. The server will be redeployed and you can turn off deployOnSave again.

You can add a shortcut to access the project settings.

When you click the Debug or Run button, a full-scale deployment will begin, for example. for the maven project, it will start with tests, etc., deploy, deploy.

0
source

We can do this:

  • Right-click the project> Properties> New> Compile> Compile With Save.
  • Attach a debugger (google for it)
  • Debugging> Apply Code Changes
0
source

All Articles