Open ntrrgc opened 8 years ago
@natural-law could you please take a look? Thanks.
@ntrrgc I just checked the logic. The files in build_web/bin
should be downloaded before invoking ant -f /tmp/test/publish/html5/build.xml
if the files are missed. I've no idea why it's not downloaded correctly.
You can try to download the files manually by invoking download-bin.py
in the path cocos2d-x/tools/cocos2d-console
.
Steps to Reproduce:
./setup.py
,exec bash
)cocos new -l js test
3:cd test
cocos compile -p web -m release
Result:
Looking at
build.xml
I can find this line:It fails because
tools/cocos2d-console/plugins/plugin_compile/build_web/bin/compiler-1.7.jar
does not exist in the cocos2d-x directory (thebuild_web/bin
directory does not exist at all).I guess that file is the closure compiler, which should be automatically downloaded at some point. Am I missing something?