buildr-bnd 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +9 -0
- data/README.rdoc +5 -0
- data/buildr-bnd.gemspec +2 -2
- data/lib/buildr_bnd.rb +7 -1
- data/spec/spec_helper.rb +1 -1
- metadata +6 -4
data/CHANGELOG
ADDED
@@ -0,0 +1,9 @@
|
|
1
|
+
0.0.3 (June 1, 2010)
|
2
|
+
* Added: Buildr::Bnd.remote_repository method to get remote repository for bnd dependency.
|
3
|
+
* Deprecated: Buildr::Bnd.remote_repositories method that returned an array of repositories for bnd dependency.
|
4
|
+
|
5
|
+
0.0.2 (April 17, 2010)
|
6
|
+
* Added: Supported classpath_element method on package task
|
7
|
+
|
8
|
+
0.0.1 (April 16, 2010)
|
9
|
+
* Initial Release
|
data/README.rdoc
CHANGED
@@ -39,6 +39,11 @@ The user then needs to add the following require into the build file:
|
|
39
39
|
|
40
40
|
require 'buildr_bnd'
|
41
41
|
|
42
|
+
If the local maven repository does not contain the required bnd jars they can be downloaded
|
43
|
+
but you will need to register the remote repository by adding the following to the build file:
|
44
|
+
|
45
|
+
repositories.remote << Buildr::Bnd.remote_repository
|
46
|
+
|
42
47
|
== Defaults
|
43
48
|
|
44
49
|
The extension sets the following bnd parameters;
|
data/buildr-bnd.gemspec
CHANGED
@@ -9,10 +9,10 @@ Gem::Specification.new do |spec|
|
|
9
9
|
This is a buildr extension for packaging OSGi bundles using Bnd.
|
10
10
|
TEXT
|
11
11
|
spec.files = Dir['{lib,spec}/**/*', '*.gemspec'] +
|
12
|
-
['LICENSE', 'README.rdoc', 'Rakefile']
|
12
|
+
['LICENSE', 'README.rdoc', 'CHANGELOG', 'Rakefile']
|
13
13
|
spec.require_paths = ['lib']
|
14
14
|
|
15
15
|
spec.has_rdoc = true
|
16
|
-
spec.extra_rdoc_files = 'README.rdoc', 'LICENSE'
|
16
|
+
spec.extra_rdoc_files = 'README.rdoc', 'LICENSE', 'CHANGELOG'
|
17
17
|
spec.rdoc_options = '--title', "#{spec.name} #{spec.version}", '--main', 'README.rdoc'
|
18
18
|
end
|
data/lib/buildr_bnd.rb
CHANGED
@@ -11,7 +11,13 @@ module Buildr
|
|
11
11
|
|
12
12
|
# Repositories containing the requirements
|
13
13
|
def remote_repositories
|
14
|
-
|
14
|
+
puts "Buildr::Bnd.remote_repositories is deprecated. Please use Buildr::Bnd.remote_repository instead."
|
15
|
+
[remote_repository]
|
16
|
+
end
|
17
|
+
|
18
|
+
# Repositories containing the requirements
|
19
|
+
def remote_repository
|
20
|
+
"http://www.aQute.biz/repo"
|
15
21
|
end
|
16
22
|
|
17
23
|
def bnd_main(*args)
|
data/spec/spec_helper.rb
CHANGED
@@ -26,7 +26,7 @@ unless defined?(SpecHelpers)
|
|
26
26
|
require "#{BUILDR_DIR}/spec/spec_helpers.rb"
|
27
27
|
|
28
28
|
# Download deps into real local dir
|
29
|
-
Buildr::
|
29
|
+
Buildr::repositories.remote << Buildr::Bnd.remote_repository
|
30
30
|
Buildr::Bnd.requires.each { |spec| artifact(spec).invoke }
|
31
31
|
|
32
32
|
# Adjust specs so that they do not attempt to constantly download helper artifacts
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 0.0.
|
8
|
+
- 3
|
9
|
+
version: 0.0.3
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Peter Donald
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-
|
17
|
+
date: 2010-06-01 00:00:00 +10:00
|
18
18
|
default_executable:
|
19
19
|
dependencies: []
|
20
20
|
|
@@ -30,6 +30,7 @@ extensions: []
|
|
30
30
|
extra_rdoc_files:
|
31
31
|
- README.rdoc
|
32
32
|
- LICENSE
|
33
|
+
- CHANGELOG
|
33
34
|
files:
|
34
35
|
- lib/buildr_bnd.rb
|
35
36
|
- spec/spec_helper.rb
|
@@ -41,6 +42,7 @@ files:
|
|
41
42
|
- buildr-bnd.gemspec
|
42
43
|
- LICENSE
|
43
44
|
- README.rdoc
|
45
|
+
- CHANGELOG
|
44
46
|
- Rakefile
|
45
47
|
has_rdoc: true
|
46
48
|
homepage: http://github.com/realityforge/buildr-bnd
|
@@ -49,7 +51,7 @@ licenses: []
|
|
49
51
|
post_install_message:
|
50
52
|
rdoc_options:
|
51
53
|
- --title
|
52
|
-
- buildr-bnd 0.0.
|
54
|
+
- buildr-bnd 0.0.3
|
53
55
|
- --main
|
54
56
|
- README.rdoc
|
55
57
|
require_paths:
|