Class | Buildr::Packaging::Java::JarTask |
In: |
lib/buildr/java/packaging.rb
(CVS)
|
Parent: | ZipTask |
Extends the ZipTask to create a JAR file.
This task supports two additional attributes: manifest and meta-inf.
The manifest attribute specifies how to create the MANIFEST.MF file.
The meta-inf attribute lists one or more files that should be copied into the META-INF directory.
For example:
package(:jar).with(:manifest=>'src/MANIFEST.MF') package(:jar).meta_inf << file('README')