title: symfony2 assetics yui compressor on windows (path syntax)
body: <p>I'm trying to get assetics running with the yui compressor and, if this is running, sass. Right now, both don't work. When removing all filters from config.yml and the twig template, it works and <code>php app/console assetic:dump</code> does copy the css and js files.</p>
  
  <p>Now I want to add the yui compressor and my config.yml looks like this:</p>
  
  <pre><code>assetic:
    debug: %kernel.debug%
    use_controller: false
    filters:
      yui_js:
        jar: %kernel.root_dir%/Resources/java/yuicompressor-2.4.6.jar
  </code></pre>
  
  <p>Adding the filter to the template and running assetic:dump again ends in the following error (translation of message by me):</p>
  
  <pre><code>[RuntimeException]
  The syntax for filename, directory name or drive name is wrong
  </code></pre>
  
  <p>I found <a href="http://blog.droznik.name/post/11324457529/using-assetic-in-symfony2-on-windows-box" rel="nofollow">an article</a> telling me to specify the path to java.exe, so I add this to config.yml:</p>
  
  <pre><code>assetic:
    ..
    java: C:/Program Files (x86)/Java/jre6/bin/java.exe
    ..
  </code></pre>
  
  <p>Now assetic:dump tells me:</p>
  
  <pre><code>[RuntimeException]
  The COMMAND "C:/Program" is either written wrong or
  </code></pre>
  
  <p>I tried playing around with both variables (using \ or \ instead of /, adding single or double quotes, working with short alias Progra~1 or Progra~2) in the config, but I didn't get anywhere. The both errors comming up all the time. Maybe someone can point me in the right direction.</p>