Hi Ed,

the new @asset hints only work in JSDoc-style comments, so you need to 
format them like this:

/**
  * This is the main application class of your custom application "todo"
  *
  * @asset(todo2/*)
  * @asset(qx/icon/${qx.icontheme}/*)
  */


Regards,
Daniel

On 27.07.2013 21:15, Ed Adasiewicz wrote:
> I found a solution to my problem, but either I am doing something wrong (and
> have been for a while) or there is a bug in 3.0.
>
> I restored my code to pre 3.0 in /var/www/qooxdoo (instead of var/www/qx),
> updated QOOXDOO_PATH in both and generated both source and build.  Both ran
> with no problems.  My original posting was not totally correct, I was
> actually using qooxdoo's icons so I had the following in my code:
>
> #asset(todo/*)
> #asset(qx/icon/${qx.icontheme}/*)
> ...
> var newButton = new qx.ui.toolbar.Button(this.tr("Add"),
> "icon/16/actions/list-add.png");
>
> I did a migration and changed all #asset to @asset and the problem happened
> again, although now the image was trying to be loaded from
>
> http://phenom/qooxdoo/todo/source/qx/icon/Tango/16/actions/edit-clear.png
>
> Note the missing resource subdirectory.  I changed the @asset back to #asset
> and the problem went away.  I first tried swapping their position but that
> had no affect.
>
> Another thing I noticed was that this todo app uses some libraries I wrote
> and they also use qooxdoo's icons but @asset works in them as long as the
> todo app has #asset and not @asset -- the only difference I can see is that
> the library modules have a single @asset statement whereas the todo app has
> multiple asset statements.
>
>
>
>
> --
> View this message in context: 
> http://qooxdoo.678.n2.nabble.com/image-loading-problem-in-3-0-tp7584206p7584245.html
> Sent from the qooxdoo mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> See everything from the browser to the database with AppDynamics
> Get end-to-end visibility with application monitoring from AppDynamics
> Isolate bottlenecks and diagnose root cause in seconds.
> Start your free trial of AppDynamics Pro today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to