OpenLiberty / liberty-tools-intellij

IntelliJ IDEA extension for Liberty
https://plugins.jetbrains.com/plugin/14856-open-liberty-tools
Eclipse Public License 2.0
12 stars 25 forks source link

Liberty Dev Dashboard (liberty-maven-plugin) does not allow modifying / managring Liberty server settings #54

Open dbnex14 opened 3 years ago

dbnex14 commented 3 years ago

I should be able to create new instance of Liberty server or to do any modifications I wish to that instance of Liberty server from within the IDE/Liberty Dev Dashboard. Currently, this is not possible to do therefore requiring another tool like Eclipse to create and/or modify an Liberty server instance.

If this functionality exists, it is not clear how to do that but from what I can see, it does not exist.

Steps After adding liberty maven plugin to my project, I still see no way to manage my instances of locally installed Liberty server. It is also not clear where the server settings are located

  1. Add plugin

    io.openliberty.tools liberty-maven-plugin 3.3.4
  2. open Liberty Dev Dashboard open liberty dashboard intelliJ

Actual result I can start or stop server but that is pretty much it.

Expected result

  1. I should be able to create new instance of Liberty server local installation on my system by giving server name, pointing to Liberty installation "wlp" directory of installation I can pick and choose (if I have multiple versions of Liberty installed locally. e.g. C:/users/uname/devenv/OpenLiberty 21.0.0.4/wlp, C:/users/uname/devenv/OpenLiberty 20.0.0.2/wlp or C:/users/uname/devenv/WasLiberty 20.0.0.4/wlp ...)
  2. I should also be able to open and modify server.xml, server.env etc from within the IDE
  3. I should also be able to add / remove new server features from within the IDE
  4. I should be able to do any necessary modifications to my server like I can do from Eclipse > Servers tab below; however, none of this functionality exist 4 In Eclipse, I can create new instance of Liberty server and manage it from Servers tab
kathrynkodama commented 3 years ago

This plugin is intended for detecting projects with the Liberty Gradle Plugin or Liberty Maven Plugin already configured and then running Liberty development mode, which will setup the runtime automatically. Specific modifications to your server, such as server name and wlp location, should be added in your pom.xml according to the Liberty Maven Plugin docs. For example, see the serverName and installDirectory common parameters that can be specified under the liberty-maven-plugin's <configuration> section in your pom.xml.

We are also looking to provide additional support for editing Liberty configuration files like the server.xml and server.env, but that is not available yet.

Does this help with what you are looking for? Otherwise, is there any specific usage from the servers view that is not addressed by the above?