Intellij Docker,在Websphere内部实时更新EAR

我有一个运行里面的Websphere liberyconfiguration文件的docker容器。 一般来说,当我改变代码,我build立我的应用程序,并手动部署到websphere。 然而这是非常乏味的。

有没有什么办法可以将更改dynamic部署到Docker容器中的websphere中,每次我在代码中进行更改? 我希望这可以作为Intellij内部直接configuration的本地服务器。

一种方法可能是创build一个远程WebSphere Liberty服务器,但在尝试这样做时,它看起来像Intellij不支持WebSphere Liberty的远程部署。 您是否想过在Docker容器中使用完全支持Liberty的WebSphere Developer Tools(请参阅https://developer.ibm.com/wasdev/docs/developing-applications-using-wdt-liberty-docker/ )? 涉及到一些设置的另一种方法是在您的docker容器中添加卷 – 从/ opt / ibm / wlp / usr / servers / defaultServer映射到服务器configuration的本地副本(因此您可以修改服务器本地configuration),以及从新path映射到应用程序项目所在位置的根目录。 然后,您可以在每个应用程序的服务器configuration的apps目录中创build一个松散的configurationxml文件。 有关松散configuration文件的更多信息,请访问: https : //www.ibm.com/support/knowledgecenter/en/SSEQTP_liberty/com.ibm.websphere.wlp.doc/ae/rwlp_loose_applications.html 。