ivy4r 0.12.1 → 0.12.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,7 @@
1
+ === 0.12.2 / 2010-10-19
2
+ * Removed use of "facets/blank" using now "empty?" did not find the use when removing the require
3
+ * Add fix for error while merging additional infos into manifest files. Some jars, ears or wars do not have a manifest no just do nothing.
4
+
1
5
  === 0.12.1 / 2010-10-13
2
6
  * Use [project target dir]/pom.xml as default name for generated POM files.
3
7
  * Works with MRI and JRuby
@@ -114,7 +114,7 @@ module Buildr
114
114
  end
115
115
 
116
116
  [confs, types].each do |t|
117
- t.reject! {|c| c.nil? || c.blank? }
117
+ t.reject! {|c| c.nil? || c.empty? }
118
118
  end
119
119
 
120
120
  unless confs.empty?
@@ -413,7 +413,7 @@ module Buildr
413
413
  if artifacts
414
414
  artifacts = artifacts.find_all do |lib|
415
415
  lib = File.basename(lib)
416
- includes = includes.reject {|i| i.nil? || i.blank? }
416
+ includes = includes.reject {|i| i.nil? || i.empty? }
417
417
  should_include = includes.empty? || includes.any? {|include| include === lib }
418
418
  should_include && !excludes.any? {|exclude| exclude === lib}
419
419
  end
@@ -603,8 +603,12 @@ module IvyExtension
603
603
  pkgs.each do |pkg|
604
604
  name = "#{pkg.name}manifest"
605
605
  task = project.task name => project.ivy.file_project.task('ivy:resolve') do
606
- pkg.with :manifest => pkg.manifest.merge(project.manifest.merge(project.ivy.manifest))
607
- info "Adding manifest entries to package '#{pkg.name}'"
606
+ if pkg.manifest # source jars have no manifest, only add to existing manifest files
607
+ pkg.with :manifest => pkg.manifest.merge(project.manifest.merge(project.ivy.manifest))
608
+ info "Adding manifest entries to package '#{pkg.name}'"
609
+ else
610
+ info "Could not merge info to package '#{pkg.to_s}' it has no manifest!"
611
+ end
608
612
  end
609
613
  project.task :build => task
610
614
  end
@@ -36,7 +36,7 @@ is
36
36
  =end
37
37
  class Ivy4r
38
38
 
39
- VERSION = '0.12.1'
39
+ VERSION = '0.12.2'
40
40
 
41
41
  # Set the ant home directory to load ant classes from if no custom __antwrap__ is provided
42
42
  # and the default provided ant version 1.7.1 should not be used.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ivy4r
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.1
4
+ version: 0.12.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Klaas Reineke
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-10-13 00:00:00 +02:00
12
+ date: 2010-10-19 00:00:00 +02:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency