question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Dev goal did not redeploy app after the first java class is created

See original GitHub issue
  1. 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)
  2. 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:closed
  • Created 4 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
ericglaucommented, Sep 30, 2019

@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.

0reactions
cherylkingcommented, Oct 23, 2019

@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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found