Closed paulbarr closed 9 months ago
So once I turned off LooseConfig everything started working as expected I added this to my build.gradle
liberty {
server {
serverXmlFile = file('server.xml')
looseApplication=false
}
}
I'll close this issue
However, once I turned off loose config I lost hot deploy I fixed this in the end by just adding an empty folder as follows: /src/main/webapp Once I added that the paths all get setup and everything works
I am running the liberty plugin and my application is working However, I can not server any of the static files that I usually serve
When I start the plugin in it creates the liberty instance using loose config So in my apps directory I have a file called 'lands_advisor.war.xml'
This list all my classes and has file references to the files in my lib directory So it looks like this....
If I modify this file to point to a specific location using file or dir it gets removed when I start the plugin Where are static files served from in a loose config? How can I specify a locaiton that the plugin does not overwrite?
Thanks