The Tomcat configuration files, among other things, may list the applications that should be deployed at the server start. If you want to specify an alternative JDK or JRE here, select it from the drop-down list.ĭeploy applications configured in Tomcat instance The options other than Do nothing have the same meanings as in the case of the Update action.īy default, the project JDK is used to run the application. (Frame deactivation means switching to a different application.) Specify what IntelliJ IDEA should do when you switch from the IDE to a different application (for example, a web browser). The Update dialog is used to select the Update option prior to actually updating the application. Select this checkbox if you want to see the Update dialog every time you use the Update application function. This option works only in the debug mode. Changed classes are recompiled and reloaded at runtime. The application artifact is rebuilt and redeployed.įor packed artifacts, the available options are: The application artifact is rebuilt and redeployed. Whether such classes are actually reloaded in the running application, depends on the capabilities of the runtime being used. In the run mode, IntelliJ IDEA just updates the changed classes in the output folder. In the debug mode, the updated classes are hot-swapped. Changed resources are updated changed Java classes (EJBs, servlets, etc.) are recompiled. All changed resources are updated (HTML, JSP, JavaScript, CSS and image files). The update options are different for exploded and packed artifacts.įor exploded artifacts, the available options are: Select the necessary option for the Update application function ( or Ctrl+F10 in the Run or Debug tool window). The -classpath option specified in this field overrides the classpath of the module. This works for -XX: and -X options and some standard options that are not configured by IntelliJ IDEA automatically, like -ea, but not for -cp or –release. Use code completion in this field: start typing the name of a flag, and the IDE suggests a list of available command line options. Xmx1024m -Dspaces="some arg" -Dmy.prop=\"quoted_value\" -Dfoo=$ You can pass environment variable values to custom Java properties. If an option includes double quotes as part of the value, escape the double quotes using backslashes. If the value of an option includes spaces, enclose either the value or the actual spaces with double quotes. Use spaces to separate individual options. When specifying JVM options, follow these rules: Specify the options to be passed to the Java virtual machine when launching the application, for example, -mx, -verbose, and so on. In most typical cases, this URL corresponds to the root of your Web application or its starting page. Specify the URL the browser should go to when started. When you debug your JavaScript in Firefox for the first time, the JetBrains Firefox extension is installed. Note that JavaScript debugging is available only for Firefox and Google Chrome. If this checkbox is selected, the web browser is started with the JavaScript debugger enabled. Click Shift+Enter to configure your web browsers. Select this checkbox to start a web browser after starting the server and deploying the artifacts. (The Application Servers dialog will open.) Select the server configuration to be used.Ĭlick Configure to create a new server configuration or edit an existing one. Open the Installed tab, find the Tomcat and TomEE plugin, and select the checkbox next to the plugin name. Press Ctrl+Alt+S to open the IDE settings and select Plugins. If the relevant features aren't available, make sure that you didn't disable the plugin. This functionality relies on the Tomcat and TomEE plugin, which is bundled and enabled in IntelliJ IDEA by default. Use a Remote configuration to deploy artifacts to a running application server instance.Įven if you are connecting to a remote application server, you still need a local installation of this server configured under Build, Execution, Deployment | Application Servers as described in Integration with application servers. Use a Local configuration to run a local instance of the application server and deploy the artifacts to it. For more information, see Application server run configurations. Use the Tomcat Server run/debug configuration to deploy and debug your applications on Tomcat.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |