I checked out the branch http://jqueryjs.googlecode.com/svn/tags/1.3.1

I don't have "svn" on my machine (I use TortioseSVN instead) so the
build.xml lines that run svn to check the version of SVN crashed on my
machine.  A simple commenting out fixed this.

I noticed that the version.txt file had an extra carrage return in it
that caused "ant min" to fail to complete the min build.  After
removing the extra carrage return the build min build finished.
Hasn't anyone else noticed this.  I'm using java 1.6.0_11-b03 to do
the build with.

When I try to run the "Automated Test Suite" I get an exception in the
JavaScript interpreter:

C:\dev\jquery>ant -v runtest
Apache Ant version 1.7.1 compiled on June 27 2008
Buildfile: build.xml
Detected Java version: 1.6 in: C:\Program Files\Java\jdk1.6.0_11\jre
Detected OS: Windows XP
parsing buildfile C:\dev\jquery\build.xml with URI = file:/C:/dev/
jquery/build.xml
Project base dir set to: C:\dev\jquery
[antlib:org.apache.tools.ant] Could not load definitions from resource
org/apache/tools/ant/antlib.xml. It could not be found.
 [loadfile] loading C:\dev\jquery\version.txt into property version
 [loadfile] loaded 5 characters
 [loadfile] loading C:\dev\jquery\version.txt into property version
Override ignored for property "version"
 [loadfile] loaded 5 characters
Property "svnlog.out" has not been set
Property "svnlog.out" has not been set
Build sequence for target(s) `runtest' is [runtest]
Complete build sequence is [runtest, openAjaxMetadata, jquery, clean,
pack, min, all, ]

runtest:
     [echo] Running Automated Test Suite
     [java] Executing 'C:\Program Files\Java\jdk1.6.0_11\jre\bin
\java.exe' with arguments:
     [java] '-jar'
     [java] 'C:\dev\jquery\build\js.jar'
     [java] 'build/runtest/test.js'
     [java]
     [java] The ' characters around the executable and arguments are
     [java] not part of the command.
     [java] Exception in thread "Thread-0"
org.mozilla.javascript.EcmaError: TypeError: Cannot call method
"createEvent" of null
     [java]     at org.mozilla.javascript.ScriptRuntime.constructError
(ScriptRuntime.java:3343)
     [java]     at org.mozilla.javascript.ScriptRuntime.constructError
(ScriptRuntime.java:3333)
     [java]     at org.mozilla.javascript.ScriptRuntime.typeError
(ScriptRuntime.java:3349)
     [java]     at org.mozilla.javascript.ScriptRuntime.typeError2
(ScriptRuntime.java:3368)
     [java]     at org.mozilla.javascript.ScriptRuntime.undefCallError
(ScriptRuntime.java:3387)
     [java]     at
org.mozilla.javascript.ScriptRuntime.getPropFunctionAndThis
(ScriptRuntime.java:2026)
     [java]     at
org.mozilla.javascript.optimizer.OptRuntime.callProp0(OptRuntime.java:
117)
     [java]     at org.mozilla.javascript.gen.c2._c4(Unknown Source)
     [java]     at org.mozilla.javascript.gen.c2.call(Unknown Source)
     [java]     at
org.mozilla.javascript.optimizer.OptRuntime.callProp0(OptRuntime.java:
119)
     [java]     at org.mozilla.javascript.gen.c2._c107(Unknown Source)
     [java]     at org.mozilla.javascript.gen.c2.call(Unknown Source)
     [java]     at org.mozilla.javascript.ContextFactory.doTopCall
(ContextFactory.java:393)
     [java]     at org.mozilla.javascript.ScriptRuntime.doTopCall
(ScriptRuntime.java:2834)
     [java]     at org.mozilla.javascript.gen.c2.call(Unknown Source)
     [java]     at org.mozilla.javascript.Context.call(Context.java:
548)
     [java]     at org.mozilla.javascript.JavaAdapter.callMethod
(JavaAdapter.java:507)
     [java]     at adapter1.run(<adapter>)
     [java]     at java.lang.Thread.run(Thread.java:619)
     [echo] Test Suite Finished

BUILD SUCCESSFUL
Total time: 21 seconds

Reply via email to