<arg value="${DOCS_DIR}" />
</java>
<echo message="Documentation built." />
- </target>
+ </target>\r
+ \r
+ <target name="runtest">\r
+ <echo message="Running Automated Test Suite" />\r
+ <java jar="${JAR}" fork="true">\r
+ <arg value="${BUILD_DIR}/runtest/test.js" />\r
+ </java>\r
+ <echo message="Test Suite Finished" />\r
+ </target>
<target name="clean">
<delete dir="${DOCS_DIR}" />
get src() { return this.getAttribute("src") || ""; },
set src(val) { return this.setAttribute("src",val); },
+ get href() { return this.getAttribute("href") || ""; },
+ set href(val) { return this.setAttribute("href", val); },
+
get id() { return this.getAttribute("id") || ""; },
set id(val) { return this.setAttribute("id",val); },
XMLHttpRequest.prototype = {
open: function(method, url, async, user, password){
this.readyState = 1;
- if (async)
- this.async = true;
+ if (async != undefined)
+ this.async = async;
this.method = method || "GET";
this.url = url;
this.onreadystatechange();
}
if (this.async)
- (new java.lang.Thread(new java.lang.Runnable({
+ (new java.lang.Thread({
run: makeRequest
- }))).start();
+ })).start();
else
makeRequest();
},