Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: JRuby 1.6
-
Fix Version/s: JRuby 1.6.5, JRuby 1.7.0.pre1
-
Component/s: None
-
Labels:None
-
Environment:OS X Lion 10.7.2
Java 1.6.0_26
ant 1.8.2
-
Number of attachments :
Description
git clone https://github.com/jruby/jruby.git cd jruby git branch --track jruby-1_6 remotes/origin/jruby-1_6 git checkout jruby-1_6 ant dist
dist:
[echo] Running rake gem
[echo] compile=OFF, threshold=20, objectspace=true threadpool=false reflection=false
[java] (in /Users/uwe/workspace/jruby/jruby)
[java] /Users/uwe/workspace/jruby/jruby/bin/jruby -S maybe_install_gems hoe
[java] /Users/uwe/workspace/jruby/jruby/bin/jruby -S rake package
[java] Successfully installed hoe-2.12.3
[java] 1 gem installed
[java] Generating ast.bat
[java] Generating autospec.bat
[java] Generating htmldiff.bat
[java] Generating install_doc.bat
[java] Generating jgem.bat
[java] Generating jrubyc.bat
[java] Generating ldiff.bat
[java] Generating rspec.bat
[java] Generating testrb.bat
[java] (in /Users/uwe/workspace/jruby/jruby/gem)
[java] rake aborted!
[java] uninitialized constant Hoe::Publish::RDoc
[java] /Users/uwe/workspace/jruby/jruby/gem/Rakefile:58:in `(root)'
[java] (See full trace by running task with --trace)
[java] rake aborted!
[java] Command failed with status (1): [/Users/uwe/workspace/jruby/jruby/bin/jruby...]
[java]
[java] (See full trace by running task with --trace)
[java] #<Gem::LoadError: Could not find rdoc (>= 0) amongst [diff-lcs-1.1.2, hoe-2.12.3, rake-0.8.7, rspec-2.4.0, rspec-core-2.4.0, rspec-expectations-2.4.0, rspec-mocks-2.4.0, sources-0.0.1]>
BUILD FAILED
/Users/uwe/workspace/jruby/jruby/build.xml:1556: The following error occurred while executing this line:
/Users/uwe/workspace/jruby/jruby/build.xml:1148: Java returned: 1
Total time: 6 minutes 28 seconds
Now that
JRUBY-6037is fixed, we see that the same happens on the master. The issue here is that when we run ant dist from a clean repo, it requires rdoc be installed.You can get around this problem by: