使用cocos compile -p web -m release 命令之后提示
Runing command: compile
Building mode: release
running: ‘/usr/bin/ant -f /Users/******/Desktop/MyProject/cocos/CocosJSGame/publish/html5/build.xml’
然后我就使用:
/Users//programe/apache-ant-1.9.4/bin/ant -f /Users//Desktop/MyProject/cocos/CocosJSGame/publish/html5/build.xml
重新操作
之后提示:
Buildfile: /Users/*****/Desktop/MyProject/cocos/CocosJSGame/publish/html5/build.xml
compile:
Compiling 91 file(s) with 40 extern(s)
0 error(s), 0 warning(s)
BUILD SUCCESSFUL
Total time: 11 seconds
这应该是已经编译成功了吧。
但是我的publish->html5文件夹里面只有两个文件,build.xml 和 game.min.js,没有办法使用啊,应该是缺少index.html以及各种资源。
求大神帮助……

,所以第一步执行完了之后,根据提示执行了以下代码: