每次我嘗試使用HTML5構建腳本我得到這個錯誤:H5BP構建腳本問題
-js.main.concat:
[echo] Concatenating Main JS scripts based on index.html...
[concat] /Volumes/[...]/intermediate/java.lang.NullPointerException does not exist.
[concat] /Volumes/[...]/intermediate/at does not exist.
[concat] /Volumes/[...]/intermediate/ScriptsToConcat.handleStartTag(ScriptsToConcat.java:38) does not exist.
[concat] /Volumes/[...]/intermediate/at does not exist.
[concat] /Volumes/[...]/intermediate/javax.swing.text.html.parser.DocumentParser.handleStartTag(DocumentParser.java:143) does not exist.
[concat] /Volumes/[...]/intermediate/at does not exist.
[concat] /Volumes/[...]/intermediate/javax.swing.text.html.parser.Parser.startTag(Parser.java:421) does not exist.
[concat] /Volumes/[...]/intermediate/at does not exist.
[concat] /Volumes/[...]/intermediate/javax.swing.text.html.parser.Parser.parseTag(Parser.java:1943) does not exist.
[concat] /Volumes/[...]/intermediate/at does not exist.
[concat] /Volumes/[...]/intermediate/javax.swing.text.html.parser.Parser.parseContent(Parser.java:2061) does not exist.
[concat] /Volumes/[...]/intermediate/at does not exist.
[concat] /Volumes/[...]/intermediate/javax.swing.text.html.parser.Parser.parse(Parser.java:2228) does not exist.
[concat] /Volumes/[...]/intermediate/at does not exist.
[concat] /Volumes/[...]/intermediate/javax.swing.text.html.parser.DocumentParser.parse(DocumentParser.java:105) does not exist.
[concat] /Volumes/[...]/intermediate/at does not exist.
[concat] /Volumes/[...]/intermediate/javax.swing.text.html.parser.ParserDelegator.parse(ParserDelegator.java:84) does not exist.
[concat] /Volumes/[...]/intermediate/at does not exist.
[concat] /Volumes/[...]/intermediate/ScriptsToConcat.main(ScriptsToConcat.java:50) does not exist.
(「[...]」爲不顯示我的客戶名稱,路線OK)
我使用的是最新的h5bp構建腳本並運行 「Ant構建」
我已在在html如下:
<!-- scripts concatenated and minified via build script -->
<script src="js/plugins.js"></script>
<!-- end scripts-->
,並在T他「js」文件夾我有一個12k plugins.js和一個空白的scripts.js(以防萬一我離開它)
我使用的是最新的Java操作系統10.6.8。 default.properties具有所有默認值。 我試圖改變
tool.yuicompressor = yuicompressor-2.4.7.jar
到
tool.yuicompressor = closure-compiler-v1346.jar
但同樣不斷髮生。新safasg.js文件是/出版/ JS /但它是空白的(實際上是2線OS空格)
我不知道如何解決這個
您是否找到了解決方法? – Navigatron 2012-12-03 19:14:26
還沒有。我最終沒有建立它並用手工縮小:( – Juan 2012-12-04 23:39:29
我也這樣做了,我必須手動完成所有工作。 – Navigatron 2012-12-05 18:48:50