Finaly, all is working

Note the "*" before @asset

/**
 * @asset(myProject/*)
 * @asset(qx/icon/Tango/22/apps/utilities-color-chooser.png)
 */

and then no change for resource path compared to my previous mail, example:

new qx.ui.form.MenuButton(null,"myProject/sound_gray.gif",null)

Sorry for noise




2013/6/7 franck34 <[email protected]>

> 1. The compil error was
>
> '#' compiler hints are deprecated. Use the corresponding '@' JSDoc hints
> instead (see manual).
> So it's fixed "@" like mentionned in the blog entrie, it's ok. Thanks
>
>
>
> 2. Custom images not loaded.
>
> (Notice i was using the diet branch since a few days.)
>
> Using diet diet, i had :  myIcon.setIcon('myProject/sound_gray.gif');
>
> Using trunk, i needed to change with :
> myIcon.setIcon('resource/myProject/sound_gray.gif');
>
> But now i've got qx.ui.basic.Image[485-0]: try to load an unmanaged
> relative image: resource/myProject/sound_gray.gif in my console, so my
> @asset is bad and i don't have any idea how to solve it. I've tried:
>
> /* ************************************************************************
>  @asset(resource/myProject/*)
>  @asset(resource/qx/icon/Tango/22/apps/utilities-color-chooser.png)
> ************************************************************************ */
>
> And
>
> /* ************************************************************************
>  @asset(myProject/*)
>  @asset(qx/icon/Tango/22/apps/utilities-color-chooser.png)
> ************************************************************************ */
>
> without success (i always ./generate.py clean && ./generate.py source
> between each try)
>
>
> help ? :)
>
> Thanks in advance
>
> Franck
>
>
>
>
> 2013/6/6 Henrik Pauli <[email protected]>
>
>>  I noticed in 2.1 that the build looks for icon resources in ./qx/...
>> but all resources are in ./resource/qx/... in the build directory.  Not
>> sure if this is the same for your case.
>>
>>
>> On 06/06/13 10:17, franck34 wrote:
>>
>> Thanks @all
>>
>>  I've already tried @asset but my images was not displayed. Need to go
>> deeper on this, give you feedback in a few hour
>>
>>  Franck
>>
>>
>> 2013/6/6 Daniel Wagner <[email protected]>
>>
>>> Hi,
>>>
>>> compiler hints now start with @, see this post for more details:
>>>
>>> http://news.qooxdoo.org/generator-new-compiler-hints
>>>
>>>
>>> Regards,
>>> Daniel
>>>
>>> On 06.06.2013 09:53, franck34 wrote:
>>> >
>>> > Hi
>>> >
>>> > Since now (with diet branch) i was using
>>> >
>>> > /* ***
>>> >   #asset(EP/*)
>>> >   #asset(qx/icon/Tango/22/apps/utilities-color-chooser.png)
>>> >   #asset(qx/icon/Tango/16/apps/utilities-terminal.png)
>>> >   #asset(qx/icon/Tango/16/actions/list-add.png)
>>> >   #asset(qx/icon/Tango/32/actions/help-faq.png)
>>> >   */
>>> >
>>> > Now got a compiler deprecated warning
>>> >
>>> > What's the new format ?
>>> >
>>> > Thanks
>>> > Franck
>>> >
>>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> How ServiceNow helps IT people transform IT departments:
>> 1. A cloud service to automate IT design, transition and operations
>> 2. Dashboards that offer high-level views of enterprise services
>> 3. A single system of record for all IT processes
>> http://p.sf.net/sfu/servicenow-d2d-j
>> _______________________________________________
>> qooxdoo-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>
>>
>
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to