- Which qooxdoo version are you using? ## 1.4
- What is the Manifest.json of asa library like? Does it have
provides/resource key? Does it point to the correct directory, where the
asa resources are?
"provides" :
{
"namespace" : "asa",
"encoding" : "utf-8",
"class" : "source/class",
"resource" : "source/resource",
"translation" : "source/translation",
"type" : "application"
}
## In asa its points to the right path. All Images are showing right.
- Are the images missing when you run the source version of azawizzard?
## Yes there are right at source version.
http://XXX/asa/source/resource/asa/to.png
## But at build version it tries to:
http://XXX/asawizzard/build/resource/asa/to.png
## this uri looks right for me, but the compiler is not copying the image
from asa/source/resource/asa to asawizzard/build/resource/asa
## By the way I am using an inline application frame and my config has that
property setted:
"build-script" :
{
"library" :
[
{
"manifest" : "../asa/Manifest.json"
}
],
"compile-options" :
{
"uris" :
{
"resource" : "/asawizzard/build/resource"
}
}
}
SAKsystems
Inh. Mustafa Sak
Varrelmannstr. 16
30453 Hannover
Tel. +49 511 / 165 969 40
Fax +49 511 / 165 969 49
Mobil +49 163 / 312 6144
http://www.saksys.de
[email protected]
STEUER-Nr. 2613817458
-----Ursprüngliche Nachricht-----
Von: thron7 [mailto:[email protected]]
Gesendet: Donnerstag, 7. Juli 2011 21:53
An: qooxdoo Development
Betreff: Re: [qooxdoo-devel] recourses of self made libraries are not copied
at build version
There could be a lot of reasons why this could go wrong:
- Which qooxdoo version are you using?
- What is the Manifest.json of asa library like? Does it have
provides/resource key? Does it point to the correct directory, where the
asa resources are?
- Are the images missing when you run the source version of azawizzard? If
you inspect such an image location with the browser debugger, which URI
did the browser try to load? If this is not indicative enough, try running
the source version from a web server, to see the failed requests.
See if this gives some insight.
T.
> Hi List,
>
>
>
> I am successfully using my own library project in any other project of
> mine.
> But I have some problems with resources at build version. This are my
> settings:
>
>
>
>
>
> asa -> library project
>
> asawizzard -> current project
>
>
>
> asawizzard is using a cell renderer class of asa successfully
> but used images are not copied by generate.py to
> asawizzard/build/recourse.
> Why?
>
>
>
> Here the cell renderer class at asa:
>
>
>
> /*
>
> #asset(qx/*)
>
> #asset(asa/*)
>
> */
>
>
>
> qx.Class.define("asa.fromToCellRenderer",
>
> {
>
> extend : qx.ui.table.cellrenderer.Image,
>
>
>
> construct : function(width, height)
>
> {
>
> this.base(arguments);
>
>
>
> if (qx.core.Variant.isSet("qx.debug", "on")) {
>
> qx.log.appender.Native;
>
> }
>
>
>
> if (width) {
>
> this.imageWidth = width;
>
> }
>
>
>
> if (height) {
>
> this.imageHeight = height;
>
> }
>
>
>
> this.am = qx.util.AliasManager.getInstance();
>
> },
>
>
>
> members :
>
> {
>
> am : null,
>
> imageHeight : 16,
>
> imageWidth : 16,
>
>
>
> // overridden
>
> /**
>
> * TODOC
>
> *
>
> * @param cellInfo {var} TODOC
>
> * @return {var} TODOC
>
> */
>
> _identifyImage : function(cellInfo)
>
> {
>
> var imageHints =
>
> {
>
> imageWidth : this.imageWidth,
>
> imageHeight : this.imageHeight
>
> };
>
>
>
> if (cellInfo.value == "") {
>
> imageHints.url = null;
>
> }
>
> else
>
> {
>
> if (cellInfo.value == "t") {
>
> imageHints.url = this.am.resolve('asa/to.png');
>
> } else if (cellInfo.value == "f") {
>
> imageHints.url = this.am.resolve('asa/from.png');
>
> }
>
> }
>
>
>
> imageHints.tooltip = cellInfo.tooltip;
>
>
>
> return imageHints;
>
> }
>
> }
>
> });
>
>
>
> So any good ideas?
>
>
>
> Regards Sak
>
>
>
>
>
>
>
>
>
> SAKsystems
>
> Inh. Mustafa Sak
>
> Varrelmannstr. 16
>
> 30453 Hannover
>
> Tel. +49 511 / 165 969 40
>
> Fax +49 511 / 165 969 49
>
> Mobil +49 163 / 312 6144
>
> http://www.saksys.de
>
> <mailto:[email protected]> [email protected]
>
> STEUER-Nr. 2613817458
>
>
>
>
----------------------------------------------------------------------------
--
> All of the data generated in your IT infrastructure is seriously valuable.
> Why? It contains a definitive record of application performance, security
> threats, fraudulent activity, and more. Splunk takes this data and makes
> sense of it. IT sense. And common sense.
>
http://p.sf.net/sfu/splunk-d2d-c2___________________________________________
____
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
----------------------------------------------------------------------------
--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
<<attachment: Mustafa Sak ([email protected]).vcf>>
------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
