Ticket #104 (new defect)

Opened 11 months ago

rake package_jruby not working because ARCHLIB not being created

Reported by: stepheneb Owned by: why
Priority: major Milestone:
Component: lib/hpricot Version:
Keywords: Cc:

Description

I wanted to use the latest hpricot (with the xml case-preserving fixes) in JRuby so I checked out trunk and ran the task

$ rake package_jruby

...

hpricot-0.6.155/test/test_paths.rb
hpricot-0.6.155/test/test_preserved.rb
hpricot-0.6.155/test/test_xml.rb
cd -
  Successfully built RubyGem
  Name: hpricot
  Version: 0.6.155
  File: hpricot-0.6.155.gem
mv hpricot-0.6.155.gem pkg/hpricot-0.6.155.gem
tar zxf pkg/hpricot-0.6.155.tgz
mv hpricot-0.6.155 hpricot-0.6.155-jruby
javac -source 1.4 -target 1.4 -classpath $JRUBY_HOME/lib/jruby.jar HpricotScanService.java
error: cannot read: HpricotScanService.java
1 error
rake aborted!
Command failed with status (1): [javac -source 1.4 -target 1.4 -classpath $...]
/Users/stephen/dev/jruby-1.0.1/hpricot/rakefile:164

attached patch fixes this problem.

Note: See TracTickets for help on using tickets.