As long as the loading HTML file is on the same server as your app and
the qooxdoo libraries, there is a much simpler approach that was
designed for such situations, and also alleviates you from adding
'libraries/library/uri' keys for each library you use. Set the
application root for your application to the divergent path of the HTML
file, relative to the config.json, via
source-script/compile-options/paths/app-root. All relative URIs in the
loader will then be calculated relative to this HTML file.
T.
On 07/06/2012 02:34 PM, david leray wrote:
Hi everyone,
I am still migrating our qooxdoo app to 2.0, and it seems now when I
build in source mode, there is not one myapp.js file created but two:
myapp.js and myapp-randommd5.js. My problem is that myapp.js sources
myapp-randommd5.js using a relative link. Since we host our source
application on a web server and at a different uri than the HTML file
which loads the application. "myapp.js" is then correctly loaded, but
"myapp-randommd5.js" is not.
We solved the problem for other resources by adding the
"libraries/library/uri" key in the configuration, but I looked into
the build configuration, and it seems the uri for "myapp-randommd5.js"
is taken from a dynamically generated __out__ library. Is there any
way to configure the uri for this __out__ library? If not, what is the
correct way to solve this problem?
--
David Leray
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel