symfony - Symfony2 and Assetics : symlink on Windows 7? -
i'm having hard time using assetics load resources in views (i work symfony2). working on linux (ubuntu 10.4) , switched windows 7 few days ago. i've been having trouble (some images didn't load example), @ least images, , styles , scripts loading alright.
when switched windows, resources weren't loading, tried php app/console assets:install web --symlink
i quite surprised see had deleted whole public folder of bundle working on. , there no way find sources again (fortunately, had saved of them, , able retrieve of work cached files).
after i've recovered files (and backed them up), tried command again. same result. tried without --symlink , created folders in web/bundle folder, instead of files there before (supposedly, symlinks).
now command doesn't answer anymore (it has been erasing sources in of backup folders!!).
bottom-line : there way configure assetics on windows 7 doesn't eat files , loads resources (including images in css) correctly?
thanks in advance!
edit :
i ran command again , time worked (copied files in web/bundle/...). must don't understand how or why worked time... if chance knows...
symfony2 uses php symlink function, according docs should work windows vista, server 2008 or greater.
Comments
Post a Comment