克隆 ringojs 存储库后,我在目录中运行:
ant jar
但是,构建失败并出现大约 100 个错误,以下是其中的一些:
init:
compile:
[javac] Compiling 55 source files to /Users/ZConsulting/repos/ringojs/build/classes
[javac] repos/ringojs/src/org/ringojs/engine/Callback.java:19: error: package org.mozilla.javascript does not exist
[javac] import org.mozilla.javascript.Context;
[javac] ^
[javac] repos/ringojs/src/org/ringojs/engine/Callback.java:20: error: package org.mozilla.javascript does not exist
[javac] import org.mozilla.javascript.Function;
[javac] ^
[javac] repos/ringojs/src/org/ringojs/engine/Callback.java:21: error: package org.mozilla.javascript does not exist
[javac] import org.mozilla.javascript.Scriptable;
[javac] ^
[javac] repos/ringojs/src/org/ringojs/engine/Callback.java:22: error: package org.mozilla.javascript does not exist
[javac] import org.mozilla.javascript.ScriptableObject;
[javac] ^
[javac] repos/ringojs/src/org/ringojs/engine/RhinoEngine.java:19: error: package org.mozilla.javascript does not exist
[javac] import org.mozilla.javascript.Context;
[javac] ^
BUILD FAILED
repos/ringojs/build.xml:76: Compile failed; see the compiler error output for details.
我的上下文是在 googleappengine 上为我的项目构建后端应用程序。