Dev goal did not redeploy app after the first java class is created
See original GitHub issue- Start
liberty:dev
on an empty project with only server.xml in the project src directory.
(e.g. https://github.com/OpenLiberty/guide-rest-intro.git) - Create the first java class while dev mode is still running (copy SystemApplication.java from finish folder to start folder of the rest-intro guide)
The java file is compiled automatic as expected but liberty:dev
did not re-deploy the loose app and thus the loose app configuration didn’t pick up the newly compiled classes.
Note: the initial loose app configuration didn’t include the target/classes directory as there is no java source when liberty:dev
is started; we expect the liberty:dev
will redeploy the loose app when the first class file is created in target/classes directory
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
8 Redeploying Applications in a Production Environment
Your development and design team must ensure that applications using production redeployment are not accessed by an unsupported client. WebLogic Server does not ......
Read more >Android Studio not deploying changes to app - Stack Overflow
So I just deleted the duplicate layout from the Project>app>main>res>layout-v26 and the problem was solved . So please make sure that you have...
Read more >How to quickly rebuild and redeploy EAR files with WebSphere
So our basic goal is to recreate this businessobjects.jar file with our newly modified java class. First thing we wanna do is create...
Read more >Create and manage deployments | Apps Script
An Apps Script project deployment is a version of the script that is made available for use as a web app, add-on, or...
Read more >Update applications on application servers - IntelliJ IDEA
When running or debugging an application, you can modify the source code and see the result of your changes without restarting the server....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@kathrynkodama If possible, it would be good to support adding a server.xml while dev mode is running. Anyways, the info messages (configDirectory and serverXmlFile) should be changed to warning.
@gkwan-ibm We have not released a 3.2 snapshot yet. There have not been very many changes since 3.1. Most likely, the next release will be a 3.1.1, but we have no timeline for that right now.