Hi,

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> hi anton,
> 
> this sounds like you are not using the AsseticBundle. if you use the
> assetic bundle, you will have something like the following in your
> template, and let assetic handle it (i recommend setting the controller
> to true in your config_dev.yml)
> 
> {% stylesheets output="css/style.css"
>     '@MyBundle/Resources/css/*'
> %}
>     <link href="{{ asset_url }}" media="screen" type="text/css"
> rel="stylesheet" />
> {% endstylesheets %}
> 
> you should not put your assets into Resources/public in this case.
> 
> when you deploy your site, you create the files in web/ with
> app/console assetic:dump --env=prod
> 
> hopefully, there will be full doc available on assetic at some point.
> for now there is a cookbook entry that can get you started
> http://symfony.com/doc/current/cookbook/assetic/yuicompressor.html

Ryan Weaver is working on that. I remember him stating that it should be
available soon.

Regards
Christian

> 
> cheers,david
> 
> 
> Am 30.05.2011 23:59, schrieb Anton Patrikeyev:
> > 
> > 
> > ---------- Forwarded message ----------
> > From: *Anton Patrikeyev* <[email protected]
> > <mailto:[email protected]>>
> > Date: 2011/5/30
> > Subject: [Symfony2] Please help with Assetic
> > To: [email protected] <mailto:[email protected]>
> > 
> > 
> > I have little problem with AsseticBundle and don't know how to solve it.
> > 
> > In my bundle I place my css files in *MyBundle/Resources/public/css/*
> > Every time if I wont to change my css in public root I need to use
> > symfony console *app/console assets:install  web*
> > It works ok, but itisn't comfortable run console on every change in css
> > 
> > Is there any way to automaticaly generate assets in public dir in
> > development enviroment?
> > 
> > I know that symlinks is simple sollution but my designer uses windows.
> > 
> > What sollution is right for this problem?
> > 
> > 
> > 
> > 
> > 
> > -- 
> > *Антон Патрикеев*
> > /руководитель отдела разработки/
> > ООО "РИА Мультимедиа"
> > blog.riamm.com.ua <http://blog.riamm.com.ua>
> > тел. : 0 432 502-034
> > факс.: 0 432 502-054
> > моб: 0 (63) 849-30-26
> > e-mail: [email protected] <mailto:[email protected]>
> > 
> > Наши бренды:
> > myAuto.ua <http://myauto.ua/> - Якісний пошук вашого авто
> > myRadio.ua <http://myRadio.ua>  - включи СВОЮ музыку!
> > mamaclub.ua <http://mamaclub.ua> - мой клуб!
> > 
> > -- 
> > If you want to report a vulnerability issue on symfony, please send it
> > to security at symfony-project.com
> >  
> > You received this message because you are subscribed to the Google
> > Groups "symfony developers" group.
> > To post to this group, send email to [email protected]
> > To unsubscribe from this group, send email to
> > [email protected]
> > For more options, visit this group at
> > http://groups.google.com/group/symfony-devs?hl=en
> 
> - -- 
> Liip AG // Agile Web Development // T +41 26 422 25 11
> CH-1700 Fribourg // PGP 0xA581808B // www.liip.ch
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> 
> iEYEARECAAYFAk3klwAACgkQqBnXnqWBgIuwcACeJXxq4FiEc07JZsD2yt480OSp
> ik4An2fkXzWbWL05Pq9Tx9aVbyI12QaV
> =sCJK
> -----END PGP SIGNATURE-----
> 



-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to