lib/java/packaging.rb in buildr-1.2.6 vs lib/java/packaging.rb in buildr-1.2.7
- old
+ new
@@ -19,11 +19,12 @@
# Adds support for MANIFEST.MF and other META-INF files.
module WithManifest
class << self
- protected
+ # jruby issue
+ #protected
def included(mod)
mod.alias_method_chain :initialize, :manifest
end
end
@@ -159,14 +160,14 @@
path("WEB-INF/lib").include Buildr.artifacts(@libs) unless @libs.nil? || @libs.empty?
end
end
def libs=(value) #:nodoc:
- @libs |= Buildr.artifacts(value)
+ @libs = Buildr.artifacts(value)
end
def classes=(value) #:nodoc:
- @classes |= [value].flatten.map { |dir| file(dir.to_s) }
+ @classes = [value].flatten.map { |dir| file(dir.to_s) }
end
end
# Extends the JarTask to create an AAR file (Axis2 service archive).