All,
I'm running buildr from a github clone (made today) and have the following
problem:
If I use the package target, or when doing a custom package the created jar
file can not be extracted:
Peter-Maass-MacBook-Pro:target peter$ jar -tvf dataservices-httpsession-1.jar
1826 Tue Jun 15 20:12:34 CEST 2010 .
0 Tue Jun 15 20:12:34 CEST 2010 META-INF/
193 Tue Jun 15 20:12:34 CEST 2010 META-INF/MANIFEST.MF
0 Tue Jun 15 20:12:34 CEST 2010 META-INF/spring/1
1826 Tue Jun 15 20:12:34 CEST 2010 META-INF/spring/pu.xml
Peter-Maass-MacBook-Pro:target peter$ jar -xvf dataservices-httpsession-1.jar
created: META-INF/
inflated: META-INF/MANIFEST.MF
java.io.FileNotFoundException: . (No such file or directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
at sun.tools.jar.Main.copy(Main.java:783)
at sun.tools.jar.Main.extractFile(Main.java:933)
at sun.tools.jar.Main.extract(Main.java:852)
at sun.tools.jar.Main.run(Main.java:242)
at sun.tools.jar.Main.main(Main.java:1149)
This happens with every jar created by buildr.
Environment:
* OSX 10.6.3
* Ruby: ruby 1.8.7 (2009-06-08 patchlevel 173) [universal-darwin10.0]
* java version "1.6.0_20"
Java(TM) SE Runtime Environment (build 1.6.0_20-b02-279-10M3065)
Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01-279, mixed mode)
* list of installed gems attached
If I create a jar with the jar command supplied by the install JDK I can unpack
it without any problems.
Any suggestions?
-P
actionmailer (2.3.8, 2.3.5, 1.3.6)
actionpack (2.3.8, 2.3.5, 1.13.6)
actionwebservice (1.2.6)
activerecord (2.3.8, 2.3.5, 1.15.6)
activeresource (2.3.8, 2.3.5)
activesupport (2.3.8, 2.3.5, 1.4.4)
acts_as_ferret (0.4.4, 0.4.3)
Antwrap (0.7.0)
archive-tar-minitar (0.5.2)
builder (2.1.2)
buildr (1.4.0)
capistrano (2.5.18, 2.5.2)
cgi_multipart_eof_fix (2.5.0)
daemons (1.0.10)
dnssd (1.3.1, 0.6.0)
fastthread (1.0.7, 1.0.1)
fcgi (0.8.8, 0.8.7)
ferret (0.11.6)
gem_plugin (0.2.3)
highline (1.5.2, 1.5.1, 1.5.0)
hoe (2.3.3)
hpricot (0.8.2, 0.6.164)
json (1.4.3)
json_pure (1.4.0)
libxml-ruby (1.1.4, 1.1.2)
mongrel (1.1.5)
needle (1.3.0)
net-scp (1.0.2, 1.0.1)
net-sftp (2.0.4, 2.0.2, 2.0.1, 1.1.1)
net-ssh (2.0.23, 2.0.15, 2.0.4, 1.1.4)
net-ssh-gateway (1.0.1, 1.0.0)
rack (1.1.0, 1.0.1)
rails (2.3.8, 2.3.5, 1.2.6)
rake (0.8.7, 0.8.3)
rdoc (2.5.8)
RedCloth (4.2.3, 4.1.1)
rjb (1.2.5)
rspec (1.3.0, 1.2.9)
ruby-openid (2.1.7, 2.1.2)
ruby-yadis (0.3.4)
rubyforge (2.0.4, 2.0.3, 1.0.5)
rubygems-update (1.3.7)
rubynode (0.1.5)
rubyzip (0.9.1)
sqlite3-ruby (1.3.0, 1.2.4)
termios (0.9.4)
voloko-sdoc (0.2.14.1)
xml-simple (1.0.12)
xmpp4r (0.5, 0.4)