-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hi everybody,
any updates on this one? the apply_to: annotations work fine, really like them. i do not get any errors for assetic:dump, neither with the - --watch parameter nor otherwise. i would love to use the assetic.assets notation for a named set of assets that i can then use in my templates. but i get an endless recursion between twig and assetic if i try that. https://gist.github.com/34f65549961eb75a2ed5 i even tried specifying the path as absolute path in my filesystem, did not change anything. by the way, is there a way the assetic:dump command could read the debug on or off from the config.yml? right now i have to pass the --no-debug option or it also dumps individual files. cheers, david Am 15.05.2011 23:36, schrieb Matt Drollette: > almost worked... but a couple explosions... > > assets: > some_coffee: > inputs: '@DrolletteDemoBundle/Resources/public/js/test.coffee' > filters: coffee > > filters: > coffee: > apply_to: "\.coffee$" > yui_js: > jar: "%kernel.root_dir%/Resources/java/yuicompressor.jar" > > > > {% javascripts > '@some_coffee' '@DrolletteDemoBundle/Resources/public/js/test.js' > output='js/all.js' > filter='yui_js' %} > > > running assetic:dump gives a long wait then Segmentation fault: > > $ app/console assetic:dump --env=dev > Segmentation fault > > > If i get rid of the new "assets" option all together and just put that > source right in twig like usual then I get this when using --watch .. > running without watch runs successfully but doesn't seem to use the > apply_to rule, ie. it still tries to run coffee on the .js files. > > app/console assetic:dump --env=dev --watch > PHP Warning: Illegal offset type in isset or empty in > /var/www/Symfony/vendor/symfony/vendor/assetic/src/Assetic/AssetManager.php > on line 52 > PHP Warning: Illegal offset type in isset or empty in > /var/www/Symfony/vendor/symfony/vendor/assetic/src/Assetic/Factory/LazyAssetManager.php > on line 166 > PHP Warning: Illegal offset type in isset or empty in > /var/www/Symfony/vendor/symfony/vendor/assetic/src/Assetic/AssetManager.php > on line 36 > PHP Catchable fatal error: Object of class > Assetic\Asset\AssetCollection could not be converted to string in > /var/www/Symfony/vendor/symfony/vendor/assetic/src/Assetic/AssetManager.php > on line 37 > > > -- > 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 users" group. > To post to this group, send email to symfony-users@googlegroups.com > To unsubscribe from this group, send email to > symfony-users+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/symfony-users?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/ iEYEARECAAYFAk3jtPUACgkQqBnXnqWBgIs+xACeL2Xv3oyHEgbsxLSCPmPFdHBZ RAMAn0jGAhkPw4ocdtRIVCY8PDWKhCtu =WtKx -----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 users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en