我想将命令提示符中的错误复制到一个txt文件。将编译后的代码输出到一个文件中,我们使用--js_output_file abc.js。如何为记录错误执行相同的操作。提前感谢CLOSURE编译器
1
A
回答
0
您可以使用closrecomplier.exe --js_output_file abc.js> errors.log
+0
它不会记录错误。它仍然输出abc.js文件中的编译代码。我们是否可以将输出格式设置为错误。我们是否有命令行参数: – 2013-02-28 09:03:21
+0
命令> stdout.txt 2> stderr.txt => stout将具有已编译的代码,并且stderr将具有错误日志 – 2013-02-28 10:05:35
相关问题
- 1. Closure编译器服务API
- 2. Google Closure反编译器?
- 3. Closure编译器for循环
- 4. API谷歌Closure编译器
- 5. Google Closure编译器,处理JSC_INEXISTENT_PROPERTY警告
- 6. Closure编译器--debug解决我的bug
- 7. @override方法,Google Closure编译器
- 8. ECMASCRIPT 5 with wro4j和Google Closure编译器
- 9. Closure编译器不会写出错误
- 10. 来自Closure编译器的Untangling JS Source
- 11. 如何使用谷歌Closure编译器
- 12. 聚合物和Google Closure编译器
- 13. CryptoJS和Google的Closure编译器
- 14. 了解Closure编译器警告
- 15. Closure编译器替换<用\ x3c
- 16. 使用Closure编译器与Underscore.js _.template
- 17. Google Closure编译器 - 如何设置externs?
- 18. Closure编译器混合变量名称
- 19. Closure编译器无法读取目录
- 20. Google Closure编译器的ADVANCED_OPTIMIZATIONS选项
- 21. Closure编译器:不能在回调
- 22. 使用Closure编译器编译代码+ ydn
- 23. 准备脚本在JavaScript编译器(Google Closure)中编译
- 24. Closure编译器无法编译保留字“default”
- 25. Google Closure编译器不会返回任何编译代码?
- 26. 编译时使用Google closure编译器添加文件日期
- 27. 使用Google Closure编译器编译jQuery提供了Uncaught TypeError
- 28. 使用Google Closure编译器编译代码时出错
- 29. Closure编译器不编译所有符号
- 30. Swift Closure编译错误
你可以用说的话opertaing系统OU使用 – Dreamwalker 2013-02-28 07:42:26
我使用Windows 7。而要做到这一点使用命令提示符下执行。 – 2013-02-28 08:26:42