Reputation: 35282
I need to have my precompiled ROOT.war deployed in my Openshift app.
Under the complete path of the war is /deployments/ROOT.war
I've checked this war file before doing git push that the /app/app.nocache.js
is there. This js file is there in the index.html. Now when I access the app online, the index.html cannot find this js file. So it means the pre-compiled ROOT.war was not deployed, instead it seems it built a new ROOT.war.
What am I missing here?
Upvotes: 0
Views: 534
Reputation: 1840
Remember that the war file does not get expanded (unzipped) in openshift.
Upvotes: 1
Reputation:
Try reading through this article on help.openshift.com about deploying pre-compiled war files and see if that helps (https://help.openshift.com/hc/en-us/articles/202399740-How-to-deploy-pre-compiled-java-applications-WAR-and-EAR-files-onto-your-OpenShift-gear-using-the-java-cartridges).
You are possibly not removing the pom.xml and src directories if it's building a new root.war file.
Upvotes: 1