lib/java/packaging.rb in buildr-1.2.9 vs lib/java/packaging.rb in buildr-1.2.10
- old
+ new
@@ -50,9 +50,10 @@
# through instance variable not closure variable.
Tempfile.open "MANIFEST.MF" do |@manifest_tmp|
lines = String === manifest || Rake::Task === manifest ? manifest_lines_from(File.read(manifest.to_s)) :
manifest_lines_from(manifest)
@manifest_tmp.write((MANIFEST_HEADER + lines).join("\n"))
+ @manifest_tmp.write "\n"
path("META-INF").include @manifest_tmp.path, :as=>"MANIFEST.MF"
end
end
end
end