IBM Worklight Changes at Hybrid app on Native .js files disappear when i deploy the app, How could I mantain my changes?

StackOverflow https://stackoverflow.com/questions/23614683

Question

Changes at Hybrid app on Native .js files disappear when I deploy the app, the files on common are the originals when I create the project, I´m adding some functionalities on native .js files, first of all these files are read only, Where I must add these changes to appear again on my deployed project?

Was it helpful?

Solution

Please read the training materials. Specially: Previewing your application on Android, slide #6.

The generated Android project receives its contents from the Worklight > Android folder.
If you then edit the contents of the generated Android project and re-build your Worklight project, your changes will be lost.

You must copy your changes back to the Worklight project. The Worklight project is your Source. The generated Android project is the Destination.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top