Skip to content

Instantly share code, notes, and snippets.

@klauern
Created December 29, 2011 01:10
Show Gist options
  • Select an option

  • Save klauern/1530900 to your computer and use it in GitHub Desktop.

Select an option

Save klauern/1530900 to your computer and use it in GitHub Desktop.
failed 'ant clean test' on Win
PS C:\jruby> ant clean test
Buildfile: C:\jruby\build.xml
init:
prepare-bin-jruby:
clean:
[delete] Deleting directory C:\jruby\build
[delete] Deleting directory C:\jruby\docs\api
[delete] Deleting directory C:\jruby\src_gen
need-clean-ng:
clean-ng:
clean-tzdata:
[echo] Reset joda-time jar
init:
jar:
init:
create-dirs:
[mkdir] Created dir: C:\jruby\build
[mkdir] Created dir: C:\jruby\build\classes
[mkdir] Created dir: C:\jruby\build\classes\jruby
[mkdir] Created dir: C:\jruby\build\classes\test
[mkdir] Created dir: C:\jruby\build\test-results
[mkdir] Created dir: C:\jruby\build\test-results\html
[mkdir] Created dir: C:\jruby\docs\api
copy-resources:
[copy] Copying 35 files to C:\jruby\build\classes\jruby
update-constants:
[echo] Updating Constants.java
[echo] ...using git revision = b106f6b, tzdata = 2010k
[copy] Warning: Could not find file C:\jruby\src_gen\org\jruby\runtime\Constants.java to copy.
[copy] Copying 1 file to C:\jruby\src_gen\org\jruby\runtime
_uc_internal_:
[copy] Copying 1 file to C:\jruby\src_gen\org\jruby\runtime
[javac] Compiling 1 source file to C:\jruby\build\classes\jruby
[javac] warning: [options] bootstrap class path not set in conjunction with -source 1.5
[javac] 1 warning
prepare:
compile-annotation-binder:
[javac] Compiling 18 source files to C:\jruby\build\classes\jruby
[javac] warning: [options] bootstrap class path not set in conjunction with -source 1.5
[javac] 1 warning
compile-jruby:
[apt] Since compiler setting isn't classic or modern, ignoring fork setting.
[apt] Compiling 1199 source files to C:\jruby\build\classes\jruby
[apt] Since compiler setting isn't classic or modern, ignoring fork setting.
[apt]
[apt] warning: The apt tool and its associated API are planned to be
[apt] removed in the next major JDK release. These features have been
[apt] superseded by javac and the standardized annotation processing API,
[apt] javax.annotation.processing and javax.lang.model. Users are
[apt] recommended to migrate to the annotation processing features of
[apt] javac; see the javac man page for more information.
[apt] warning: [options] bootstrap class path not set in conjunction with -source 1.5
[apt] warning: Annotation types without processors: java.lang.SuppressWarnings,java.lang.Override,java.lang.Deprecated,org.jruby.anno.JRubyModule,java.lang.annotation.Retention,java.lang.annotation.Target,org.jruby.compiler.ir.Interp,org.jruby.anno.JRubyConstant,jnr.ffi.annotations.In,jnr.ffi.annotations.Transient,jnr.ffi.annotations.Out
[apt] 2 warnings
[apt] warning: [options] bootstrap class path not set in conjunction with -source 1.5
[apt] C:\jruby\src\org\jruby\ext\tempfile\Tempfile.java:41: warning: [deprecation] RubyTempfile in org.jruby has been deprecated
[apt] import org.jruby.RubyTempfile;
[apt] ^
[apt] C:\jruby\src\org\jruby\ext\tempfile\Tempfile.java:62: warning: [deprecation] RubyTempfile in org.jruby has been deprecated
[apt] public class Tempfile extends RubyTempfile {
[apt] ^
[apt] C:\jruby\src\org\jruby\RubyString.java:890: warning: [deprecation] replace(byte[]) in ByteList has been deprecated
[apt] value.replace(bytes);
[apt] ^
[apt] C:\jruby\src\org\jruby\util\io\SelectBlob.java:164: warning: [deprecation] writeDataBuffered() in RubyIO has been deprecated
[apt] if (ioObj.writeDataBuffered()) {
[apt] ^
[apt] Note: Some input files use unchecked or unsafe operations.
[apt] Note: Recompile with -Xlint:unchecked for details.
[apt] 5 warnings
emma:
instrument:
generate-method-classes:
_gmc_internal_:
[echo] Generating invokers...
[echo] Compiling populators...
[javac] Compiling 193 source files to C:\jruby\build\classes\jruby
[javac] warning: [options] bootstrap class path not set in conjunction with -source 1.5
[javac] 1 warning
[delete] Deleting: C:\jruby\src_gen\annotated_classes.txt
generate-unsafe:
_gu_internal_:
[echo] Generating Unsafe impl...
compile:
unzip-native-libs:
jar-jruby:
[jar] Building jar: C:\jruby\lib\jruby.jar
add-emma-jars:
compile-test:
[javac] Compiling 169 source files to C:\jruby\build\classes\test
[javac] warning: [options] bootstrap class path not set in conjunction with -source 1.5
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 1 warning
copy-test-files:
[copy] Copying 18 files to C:\jruby\build\classes\test
install-dev-gems:
install-jruby-launcher-gem:
install-gems:
run-junit-interpreted-short:
[echo] compile=OFF, jit.threshold=20, jit.maxsize=1000000000, jit.max=-1, objectspace=false threadpool=false reflection=false version=ruby1_8
[junit] Testsuite: org.jruby.test.ScriptTestSuite
[junit] Tests run: 32, Failures: 0, Errors: 0, Time elapsed: 11.688 sec
[junit]
[junit] Testsuite: org.jruby.test.JRubyTestSuite
[junit] LoadError: no such file to load -- jruby
[junit] require at org/jruby/RubyKernel.java:961
[junit] (root) at jar:file:C:/jruby/lib/jruby.jar!/jruby/java/java_ext/java.io.rb:1
[junit] require at org/jruby/RubyKernel.java:961
[junit] (root) at jar:file:C:/jruby/lib/jruby.jar!/jruby/java/java_ext/java.io.rb:6
[junit] require at org/jruby/RubyKernel.java:961
[junit] (root) at jar:file:C:/jruby/lib/jruby.jar!/jruby/java/java_ext.rb:41
[junit] require at org/jruby/RubyKernel.java:961
[junit] (root) at jar:file:C:/jruby/lib/jruby.jar!/jruby/java.rb:1
[junit] at :1
[junit] at :1
[junit] send at org/jruby/RubyKernel.java:1949
[junit] each at org/jruby/RubyArray.java:1609
[junit] LoadError: no such file to load -- jruby
[junit] require at org/jruby/RubyKernel.java:961
[junit] (root) at jar:file:C:/jruby/lib/jruby.jar!/jruby/java/java_ext/java.io.rb:1
[junit] require at org/jruby/RubyKernel.java:961
[junit] (root) at jar:file:C:/jruby/lib/jruby.jar!/jruby/java/java_ext/java.io.rb:6
[junit] require at org/jruby/RubyKernel.java:961
[junit] (root) at jar:file:C:/jruby/lib/jruby.jar!/jruby/java/java_ext.rb:41
[junit] require at org/jruby/RubyKernel.java:961
[junit] (root) at jar:file:C:/jruby/lib/jruby.jar!/jruby/java.rb:1
[junit] at :1
[junit] at :1
[junit] send at org/jruby/RubyKernel.java:1949
[junit] each at org/jruby/RubyArray.java:1609
[junit] LoadError: no such file to load -- jruby
[junit] require at org/jruby/RubyKernel.java:961
[junit] (root) at jar:file:C:/jruby/lib/jruby.jar!/jruby/java/java_ext/java.io.rb:1
[junit] require at org/jruby/RubyKernel.java:961
[junit] (root) at jar:file:C:/jruby/lib/jruby.jar!/jruby/java/java_ext/java.io.rb:6
[junit] require at org/jruby/RubyKernel.java:961
[junit] (root) at jar:file:C:/jruby/lib/jruby.jar!/jruby/java/java_ext.rb:41
[junit] require at org/jruby/RubyKernel.java:961
[junit] (root) at jar:file:C:/jruby/lib/jruby.jar!/jruby/java.rb:1
[junit] at :1
[junit] at :1
[junit] send at org/jruby/RubyKernel.java:1949
[junit] each at org/jruby/RubyArray.java:1609
[junit] LoadError: no such file to load -- jruby
[junit] require at org/jruby/RubyKernel.java:961
[junit] (root) at jar:file:C:/jruby/lib/jruby.jar!/jruby/java/java_ext/java.io.rb:1
[junit] require at org/jruby/RubyKernel.java:961
[junit] (root) at jar:file:C:/jruby/lib/jruby.jar!/jruby/java/java_ext/java.io.rb:6
[junit] require at org/jruby/RubyKernel.java:961
[junit] (root) at jar:file:C:/jruby/lib/jruby.jar!/jruby/java/java_ext.rb:41
[junit] require at org/jruby/RubyKernel.java:961
[junit] (root) at jar:file:C:/jruby/lib/jruby.jar!/jruby/java.rb:1
[junit] at :1
[junit] at :1
[junit] send at org/jruby/RubyKernel.java:1949
[junit] each at org/jruby/RubyArray.java:1609
[junit] LoadError: no such file to load -- jruby
[junit] require at org/jruby/RubyKernel.java:961
[junit] (root) at jar:file:C:/jruby/lib/jruby.jar!/jruby/java/java_ext/java.io.rb:1
[junit] require at org/jruby/RubyKernel.java:961
[junit] (root) at jar:file:C:/jruby/lib/jruby.jar!/jruby/java/java_ext/java.io.rb:6
[junit] require at org/jruby/RubyKernel.java:961
[junit] (root) at jar:file:C:/jruby/lib/jruby.jar!/jruby/java/java_ext.rb:41
[junit] require at org/jruby/RubyKernel.java:961
[junit] (root) at jar:file:C:/jruby/lib/jruby.jar!/jruby/java.rb:1
[junit] at :1
[junit] at :1
[junit] send at org/jruby/RubyKernel.java:1949
[junit] each at org/jruby/RubyArray.java:1609
[junit] LoadError: no such file to load -- jruby
[junit] require at org/jruby/RubyKernel.java:961
[junit] (root) at jar:file:C:/jruby/lib/jruby.jar!/jruby/java/java_ext/java.io.rb:1
[junit] require at org/jruby/RubyKernel.java:961
[junit] (root) at jar:file:C:/jruby/lib/jruby.jar!/jruby/java/java_ext/java.io.rb:6
[junit] require at org/jruby/RubyKernel.java:961
[junit] (root) at jar:file:C:/jruby/lib/jruby.jar!/jruby/java/java_ext.rb:41
[junit] require at org/jruby/RubyKernel.java:961
[junit] (root) at jar:file:C:/jruby/lib/jruby.jar!/jruby/java.rb:1
[junit] at :1
[junit] at :1
[junit] send at org/jruby/RubyKernel.java:1949
[junit] each at org/jruby/RubyArray.java:1609
[junit] Tests run: 45, Failures: 1, Errors: 0, Time elapsed: 29.735 sec
[junit] LoadError: no such file to load -- jruby
[junit]
[junit] require at org/jruby/RubyKernel.java:961
[junit] ------------- Standard Error -----------------
[junit] (root) at jar:file:C:/jruby/lib/jruby.jar!/jruby/java/java_ext/java.io.rb:1
[junit] LoadError: no such file to load -- jruby
[junit] require at org/jruby/RubyKernel.java:961
[junit] require at org/jruby/RubyKernel.java:961
[junit] (root) at jar:file:C:/jruby/lib/jruby.jar!/jruby/java/java_ext/java.io.rb:6
[junit] (root) at jar:file:C:/jruby/lib/jruby.jar!/jruby/java/java_ext/java.io.rb:1
[junit] require at org/jruby/RubyKernel.java:961
[junit] require at org/jruby/RubyKernel.java:961
[junit] (root) at jar:file:C:/jruby/lib/jruby.jar!/jruby/java/java_ext.rb:41
[junit] (root) at jar:file:C:/jruby/lib/jruby.jar!/jruby/java/java_ext/java.io.rb:6
[junit] require at org/jruby/RubyKernel.java:961
[junit] require at org/jruby/RubyKernel.java:961
[junit] (root) at jar:file:C:/jruby/lib/jruby.jar!/jruby/java.rb:1
[junit] (root) at jar:file:C:/jruby/lib/jruby.jar!/jruby/java/java_ext.rb:41
[junit] at :1
[junit] require at org/jruby/RubyKernel.java:961
[junit] at :1
[junit] (root) at jar:file:C:/jruby/lib/jruby.jar!/jruby/java.rb:1
[junit] at :1
[junit] send at org/jruby/RubyKernel.java:1949
[junit] at :1
[junit] each at org/jruby/RubyArray.java:1609
[junit] send at org/jruby/RubyKernel.java:1949
[junit] each at org/jruby/RubyArray.java:1609
[junit] LoadError: no such file to load -- jruby
[junit] require at org/jruby/RubyKernel.java:961
[junit] (root) at jar:file:C:/jruby/lib/jruby.jar!/jruby/java/java_ext/java.io.rb:1
[junit] require at org/jruby/RubyKernel.java:961
[junit] (root) at jar:file:C:/jruby/lib/jruby.jar!/jruby/java/java_ext/java.io.rb:6
[junit] require at org/jruby/RubyKernel.java:961
[junit] (root) at jar:file:C:/jruby/lib/jruby.jar!/jruby/java/java_ext.rb:41
[junit] require at org/jruby/RubyKernel.java:961
[junit] (root) at jar:file:C:/jruby/lib/jruby.jar!/jruby/java.rb:1
[junit] at :1
[junit] at :1
[junit] send at org/jruby/RubyKernel.java:1949
[junit] each at org/jruby/RubyArray.java:1609
[junit] LoadError: no such file to load -- jruby
[junit] require at org/jruby/RubyKernel.java:961
[junit] (root) at jar:file:C:/jruby/lib/jruby.jar!/jruby/java/java_ext/java.io.rb:1
[junit] require at org/jruby/RubyKernel.java:961
[junit] (root) at jar:file:C:/jruby/lib/jruby.jar!/jruby/java/java_ext/java.io.rb:6
[junit] require at org/jruby/RubyKernel.java:961
[junit] (root) at jar:file:C:/jruby/lib/jruby.jar!/jruby/java/java_ext.rb:41
[junit] require at org/jruby/RubyKernel.java:961
[junit] (root) at jar:file:C:/jruby/lib/jruby.jar!/jruby/java.rb:1
[junit] at :1
[junit] at :1
[junit] send at org/jruby/RubyKernel.java:1949
[junit] each at org/jruby/RubyArray.java:1609
[junit] LoadError: no such file to load -- jruby
[junit] require at org/jruby/RubyKernel.java:961
[junit] (root) at jar:file:C:/jruby/lib/jruby.jar!/jruby/java/java_ext/java.io.rb:1
[junit] require at org/jruby/RubyKernel.java:961
[junit] (root) at jar:file:C:/jruby/lib/jruby.jar!/jruby/java/java_ext/java.io.rb:6
[junit] require at org/jruby/RubyKernel.java:961
[junit] (root) at jar:file:C:/jruby/lib/jruby.jar!/jruby/java/java_ext.rb:41
[junit] require at org/jruby/RubyKernel.java:961
[junit] (root) at jar:file:C:/jruby/lib/jruby.jar!/jruby/java.rb:1
[junit] at :1
[junit] at :1
[junit] send at org/jruby/RubyKernel.java:1949
[junit] each at org/jruby/RubyArray.java:1609
[junit] LoadError: no such file to load -- jruby
[junit] require at org/jruby/RubyKernel.java:961
[junit] (root) at jar:file:C:/jruby/lib/jruby.jar!/jruby/java/java_ext/java.io.rb:1
[junit] require at org/jruby/RubyKernel.java:961
[junit] (root) at jar:file:C:/jruby/lib/jruby.jar!/jruby/java/java_ext/java.io.rb:6
[junit] require at org/jruby/RubyKernel.java:961
[junit] (root) at jar:file:C:/jruby/lib/jruby.jar!/jruby/java/java_ext.rb:41
[junit] require at org/jruby/RubyKernel.java:961
[junit] (root) at jar:file:C:/jruby/lib/jruby.jar!/jruby/java.rb:1
[junit] at :1
[junit] at :1
[junit] send at org/jruby/RubyKernel.java:1949
[junit] each at org/jruby/RubyArray.java:1609
[junit] LoadError: no such file to load -- jruby
[junit] require at org/jruby/RubyKernel.java:961
[junit] (root) at jar:file:C:/jruby/lib/jruby.jar!/jruby/java/java_ext/java.io.rb:1
[junit] require at org/jruby/RubyKernel.java:961
[junit] (root) at jar:file:C:/jruby/lib/jruby.jar!/jruby/java/java_ext/java.io.rb:6
[junit] require at org/jruby/RubyKernel.java:961
[junit] (root) at jar:file:C:/jruby/lib/jruby.jar!/jruby/java/java_ext.rb:41
[junit] require at org/jruby/RubyKernel.java:961
[junit] (root) at jar:file:C:/jruby/lib/jruby.jar!/jruby/java.rb:1
[junit] at :1
[junit] at :1
[junit] send at org/jruby/RubyKernel.java:1949
[junit] each at org/jruby/RubyArray.java:1609
[junit] LoadError: no such file to load -- jruby
[junit] require at org/jruby/RubyKernel.java:961
[junit] (root) at jar:file:C:/jruby/lib/jruby.jar!/jruby/java/java_ext/java.io.rb:1
[junit] require at org/jruby/RubyKernel.java:961
[junit] (root) at jar:file:C:/jruby/lib/jruby.jar!/jruby/java/java_ext/java.io.rb:6
[junit] require at org/jruby/RubyKernel.java:961
[junit] (root) at jar:file:C:/jruby/lib/jruby.jar!/jruby/java/java_ext.rb:41
[junit] require at org/jruby/RubyKernel.java:961
[junit] (root) at jar:file:C:/jruby/lib/jruby.jar!/jruby/java.rb:1
[junit] at :1
[junit] at :1
[junit] send at org/jruby/RubyKernel.java:1949
[junit] each at org/jruby/RubyArray.java:1609
[junit] ------------- ---------------- ---------------
[junit] Testcase: test_load(org.jruby.test.TestUnitTestSuite$ScriptTest): FAILED
[junit] Faults encountered running test\test_load, complete output follows:
[junit] Error:
[junit] test_cwd_plus_dotdot_jar_loading(TestLoad):
[junit] NativeException: org.jruby.embed.EvalFailedException: (LoadError) no such file to load -- jruby
[junit] org/jruby/embed/internal/EmbedEvalUnitImpl.java:127:in `run'
[junit] org/jruby/embed/ScriptingContainer.java:1266:in `runUnit'
[junit] org/jruby/embed/ScriptingContainer.java:1259:in `runScriptlet'
[junit] ./test/test_helper.rb:69:in `run_in_sub_runtime'
[junit] ./test/test_load.rb:252:in `test_cwd_plus_dotdot_jar_loading'
[junit] org/jruby/RubyKernel.java:1949:in `send'
[junit] org/jruby/RubyArray.java:1609:in `each'
[junit] Error:
[junit] test_loading_jar_with_dot_so(TestLoad):
[junit] NativeException: org.jruby.embed.EvalFailedException: (LoadError) no such file to load -- jruby
[junit] org/jruby/embed/internal/EmbedEvalUnitImpl.java:127:in `run'
[junit] org/jruby/embed/ScriptingContainer.java:1266:in `runUnit'
[junit] org/jruby/embed/ScriptingContainer.java:1259:in `runScriptlet'
[junit] ./test/test_helper.rb:69:in `run_in_sub_runtime'
[junit] ./test/test_helper.rb:74:in `assert_in_sub_runtime'
[junit] ./test/test_load.rb:243:in `test_loading_jar_with_dot_so'
[junit] org/jruby/RubyKernel.java:1949:in `send'
[junit] org/jruby/RubyArray.java:1609:in `each'
[junit] Error:
[junit] test_require_jar_should_make_its_scripts_accessible(TestLoad):
[junit] NativeException: org.jruby.embed.EvalFailedException: (LoadError) no such file to load -- jruby
[junit] org/jruby/embed/internal/EmbedEvalUnitImpl.java:127:in `run'
[junit] org/jruby/embed/ScriptingContainer.java:1266:in `runUnit'
[junit] org/jruby/embed/ScriptingContainer.java:1259:in `runScriptlet'
[junit] ./test/test_helper.rb:69:in `run_in_sub_runtime'
[junit] ./test/test_load.rb:71:in `test_require_jar_should_make_its_scripts_accessible'
[junit] org/jruby/RubyKernel.java:1949:in `send'
[junit] org/jruby/RubyArray.java:1609:in `each'
[junit] Error:
[junit] test_require_nested_jar_enables_class_loading_from_that_jar(TestLoad):
[junit] NativeException: org.jruby.embed.EvalFailedException: (LoadError) no such file to load -- jruby
[junit] org/jruby/embed/internal/EmbedEvalUnitImpl.java:127:in `run'
[junit] org/jruby/embed/internal/EmbedEvalUnitImpl.java:127:in `run'
[junit] org/jruby/embed/ScriptingContainer.java:1266:in `runUnit'
[junit] org/jruby/embed/ScriptingContainer.java:1259:in `runScriptlet'
[junit] ./test/test_helper.rb:69:in `run_in_sub_runtime'
[junit] ./test/test_helper.rb:74:in `assert_in_sub_runtime'
[junit] ./test/test_load.rb:90:in `test_require_nested_jar_enables_class_loading_from_that_jar'
[junit] org/jruby/RubyKernel.java:1949:in `send'
[junit] org/jruby/RubyArray.java:1609:in `each'
[junit] Error:
[junit] test_require_nested_jar_should_make_its_scripts_accessible(TestLoad):
[junit] NativeException: org.jruby.embed.EvalFailedException: (LoadError) no such file to load -- jruby
[junit] org/jruby/embed/internal/EmbedEvalUnitImpl.java:127:in `run'
[junit] org/jruby/embed/ScriptingContainer.java:1266:in `runUnit'
[junit] org/jruby/embed/ScriptingContainer.java:1259:in `runScriptlet'
[junit] ./test/test_helper.rb:69:in `run_in_sub_runtime'
[junit] ./test/test_load.rb:80:in `test_require_nested_jar_should_make_its_scripts_accessible'
[junit] org/jruby/RubyKernel.java:1949:in `send'
[junit] org/jruby/RubyArray.java:1609:in `each'
[junit] Error:
[junit] test_require_relative_from_jar_in_classpath(TestLoad):
[junit] NativeException: org.jruby.embed.EvalFailedException: (LoadError) no such file to load -- jruby
[junit] org/jruby/embed/internal/EmbedEvalUnitImpl.java:127:in `run'
[junit] org/jruby/embed/ScriptingContainer.java:1266:in `runUnit'
[junit] org/jruby/embed/ScriptingContainer.java:1259:in `runScriptlet'
[junit] ./test/test_helper.rb:69:in `run_in_sub_runtime'
[junit] ./test/test_helper.rb:74:in `assert_in_sub_runtime'
[junit] ./test/test_load.rb:206:in `test_require_relative_from_jar_in_classpath'
[junit] org/jruby/RubyKernel.java:1949:in `send'
[junit] org/jruby/RubyArray.java:1609:in `each'
[junit] Error:
[junit] test_requ
BUILD FAILED
C:\jruby\build.xml:901: The following error occurred while executing this line:
C:\jruby\build.xml:1022: The following error occurred while executing this line:
C:\jruby\build.xml:966: Tests failed
Total time: 4 minutes 39 seconds
PS C:\jruby>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment