Hello skar,
you approach was the right one. Use the asset to include your images /
icons. 
But you have to use the asses right:
#asset(projectname/icons/path_to_icon1.png)
You can take a look at the feedreader demo which uses the assets too.
Regards,
Martin



skar wrote:
> 
> Hi,
> 
> I've got a QX app which uses some 15 icons. However, I've got an icon
> set containing 500 images in a dir under
> "projectname/source/resource/projectname/icons". How do I make sure only
> the used icons are copied to the build dir?
> 
> I added "#asset(path_to_icon1.png)" for each of the png, but the
> "./generate.py build" gives me the following error:
> 
>> ValueError: Illegal asset declaration: "projectname/logo-234-45.png"
>> in: u'/opt/projectname/source/class/projectname/Panel.js'
> 
> cheers,
> skar.
> 
> -- 
> --
> The life so short, the craft so long to learn. 
> 
> 
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-Day 
> trial. Simplify your report design, integration and deployment - and focus
> on 
> what you do best, core application coding. Discover what's new with 
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/how-to-build-app-with-only-the-images-used-and-skip-other-images-tp3596365p3596867.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to