I have gone through this post to run an application in production, but facing an issue.
I have created a Worklight 6 hybrid application, listed below is a series of tasks that I performed on it.
- I built and deployed the project with the 'Provide Library Resources' checked and I get a list of missing files (a few stated below) in the dojo library requests console and the application works fine.
[[2013-11-14 11:02:48] Application 'SampleBankingApp' requested a missing resource. Providing library resource: /dojoLib/toolkit/dojo/dijit/form/DateTextBox.js [2013-11-14 11:02:48] Application 'SampleBankingApp' requested a missing resource. Providing library resource: /dojoLib/toolkit/dojo/dijit/form/FilteringSelect.js [2013-11-14 11:02:48] Application 'SampleBankingApp' requested a missing resource. Providing library resource: /dojoLib/toolkit/dojo/dijit/Calendar.js]
I copied the missing files into the www folder keeping the folder structure as required, then I built and deployed the app with the 'Provide Library Resources' checked and I still get the same list of missing files in the dojo library requests console and the application also works fine.
Now I built and deployed by unchecking 'Provide Library Resources', when I tried to use the app it doesn't work, and the chrome console (where i use the mobile browser simulator) gives a series of errors like Failed to load resource: the server responded with a status of
404 (Not Found)
.
Whatever missing files it states in the dojo library requests console is in place inside the www folder, don't know whats going wrong. I am using Eclipse Juno + Worklight6 + Dojo, any help would really be appreciated.