could not find the file app.js
I tried working on my project from a different machine with a different username, but Titanium is still using the old path: file://localhost/Users/[username1]/Projects/Project
Is there a way to make the paths relative or is the only solution for multi-developer projects to place the code outside of the user directory?
4 Answers
-
There seems to be a line in the main.m file that sets the constant TI_APPLICATION_RESOURCE_DIR. Apparently this doesn't get regenerated when I re-launch the simulator. Is there a way to force a complete rebuild?
-
I'm having the same problem. Did you ever get this figured out?
-
You should go to the root of your project, in build/iphone and delete the build folder( so delete the folder myApp/build/iphone/build)
This will force a full rebuild.
-
In titanium Alloy you just put your file in "lib" folder and in any page where you want it just write Ti.include('youfilename.js');