Great you found it. The train of thought should have been something like
this:
- The compiler spits out "Use the corresponding '@' JSDoc hints instead
(see manual)"
- So you open up the manual ('devel' version, as you are working with
master), and go to the table of contents:
http://manual.qooxdoo.org/devel/toc.html
- Using just your browser search on this page for 'JSDoc' yields a single
entry, "JSDoc Reference".
- (Alternatively, you could have used the manual's built-in search, but
due to alphabetic sorting of the hits along their page title, "JSDoc
reference" would only have been the 7th entry).
- Following this link you come to a page that has all the details about
JSDoc's and @ hints. Its first section is entitled "Overall JSDoc
Structure".
- The second sentence in this section says "It begins with /** and ends
with */".
T.
> 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
>
------------------------------------------------------------------------------
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