View Full Version : issue with relative path of resources

17 Aug 2012, 5:33 AM
I was expecting to put a relative path to the url prefix set in the projet setting but its not the case. Example:
my prefix path: http://localhost/a/
my relative path of the ressource /resources/hello.js
I expect http://localhost/a/resources/hello.js
But Sencha Architect looks at http://localhost/resources/hello.js

The workaround would be to prefix each resource with /a/ -> /a/resources/hello.js which is ok for development, but useless for deployment.


17 Aug 2012, 5:53 AM
Sorry for the above post. I just found out that I shouldn't start the relative path with the "/".
So, everything is working fine when I simlpy write
resources/hello.js. It is totally clear that doing so is the correct way.