File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ stylesheets:
27
27
28
28
# app/config/config.yml
29
29
assetic :
30
+ # java: "/usr/bin/java"
30
31
filters :
31
32
yui_css :
32
33
jar : " %kernel.root_dir%/Resources/java/yuicompressor.jar"
@@ -49,6 +50,7 @@ stylesheets:
49
50
50
51
// app/config/config.php
51
52
$container->loadFromExtension('assetic', array(
53
+ // 'java' => '/usr/bin/java',
52
54
'filters' => array(
53
55
'yui_css' => array(
54
56
'jar' => '%kernel.root_dir%/Resources/java/yuicompressor.jar',
@@ -58,6 +60,11 @@ stylesheets:
58
60
),
59
61
),
60
62
));
63
+
64
+ .. note ::
65
+
66
+ Windows users need to remember to update config to proper java location.
67
+ In Windows7 x64 bit by default it's `C:\Program Files (x86)\Java\jre6\bin\java.exe `.
61
68
62
69
You now have access to two new Assetic filters in your application:
63
70
``yui_css `` and ``yui_js ``. These will use the YUI Compressor to minify
You can’t perform that action at this time.
0 commit comments