-
10 Feb 2013 7:51 AM #1
[3.0.0.288] sencha js minify -> Unsupported Compressor
[3.0.0.288] sencha js minify -> Unsupported Compressor
Trying to use simple sencha command line, without success here
Isn't this command supposed to minify a source file :
> sencha fs minify -f app.js -t app.min.js
Console answers (same result when trying to add a compressor with undocumented -c parameter) :
A general remark, I find it fairly difficult to find its way in the documentation...Code:com.sencha.exceptions.ExState: Unsupported Compressor : null at com.sencha.command.filesystem.FileSystemCommands$MinifyCommand.execute(FileSystemCommands.java:93) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.sencha.cli.Command.dispatch(Command.java:78) at com.sencha.cli.Commands.dispatch(Commands.java:49) at com.sencha.cli.Commands.dispatch(Commands.java:49) at com.sencha.command.Sencha.main(Sencha.java:71)
C.
-
14 Feb 2013 11:07 AM #2
Yes, that is the correct command, but you need to specify the compressor.

The possibly compressor values are:
yuicompressor
closurecompiler
ex: sencha fs minify -f app.js -t app.min.js -c yuicompressor
I have created a ticket to address the documentation issue.
Success! Looks like we've fixed this one. According to our records the fix was applied for
SDKTOOLS-329
in
3.1.0 Sprint 3.


Reply With Quote