简体   繁体   中英

How to configure JBoss server in IntelliJ with server base dir and a settings.xml

I'm trying to switch from Eclipse to IntelliJ Ultimate. But I have trouble configuring an application server.

What I have:

  • IntelliJ IDEA Ultimate 2020.3
  • a JavaEE application running on JBoss EAP 7.1

What I already achieved:

  • Adding an application server in Settings -> Build, Execution, Deployment -> Application Servers: I added a JBoss Server and specified the JBoss home directory
  • Adding a Run/Debug Configuration where I chose the JBoss server, added the artifacts which should be deployed, added some VM options, specified the JRE

Where I am stuck: Here are the things I miss from the Eclipse configuration, and I can't find any documentation or help about that:

  • In Eclipse, there is a "server runtime environment" which specifies a "server base directory" and a "configuration file" (settings.xml) in addition to the server home directory and JRE. Where can I find these settings in IntelliJ?
  • Alternatively, there is the "launch configuration" in Eclipse, where you can define "program arguments" in addition to VM arguments. These also seem to set the server config and base dir.

Any help is highly appreciated. Thanks a lot!

Instructions from From IntelliJ site:

Application Servers

Application server run configurations

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM