我想將命令提示符中的錯誤複製到一個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