buildr 1.4.4-java → 1.4.5-java
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG +46 -0
- data/Rakefile +0 -1
- data/addon/buildr/bnd.rb +147 -0
- data/addon/buildr/jaxb_xjc.rb +72 -0
- data/addon/buildr/protobuf.rb +14 -1
- data/buildr.gemspec +6 -2
- data/doc/artifacts.textile +6 -0
- data/doc/contributing.textile +3 -0
- data/doc/download.textile +60 -0
- data/doc/index.textile +9 -15
- data/doc/installing.textile +23 -6
- data/doc/mailing_lists.textile +4 -0
- data/doc/more_stuff.textile +333 -6
- data/doc/packaging.textile +187 -1
- data/lib/buildr.rb +8 -1
- data/lib/buildr/clojure.rb +34 -0
- data/lib/buildr/clojure/shell.rb +52 -0
- data/lib/buildr/core.rb +3 -0
- data/lib/buildr/core/#application.rb# +700 -0
- data/lib/buildr/core/application.rb +18 -8
- data/lib/buildr/core/build.rb +2 -2
- data/lib/buildr/core/cc.rb +57 -63
- data/lib/buildr/core/checks.rb +4 -5
- data/lib/buildr/core/doc.rb +3 -1
- data/lib/buildr/core/generate.rb +2 -0
- data/lib/buildr/core/jrebel.rb +42 -0
- data/lib/buildr/core/linux.rb +30 -0
- data/lib/buildr/core/project.rb +9 -8
- data/lib/buildr/core/run.rb +3 -3
- data/lib/buildr/core/shell.rb +29 -90
- data/lib/buildr/core/test.rb +3 -3
- data/lib/buildr/core/transports.rb +5 -5
- data/lib/buildr/core/util.rb +2 -2
- data/lib/buildr/groovy.rb +1 -0
- data/lib/buildr/groovy/compiler.rb +12 -1
- data/lib/buildr/groovy/doc.rb +76 -0
- data/lib/buildr/groovy/shell.rb +24 -15
- data/lib/buildr/ide.rb +1 -1
- data/lib/buildr/ide/idea.rb +527 -141
- data/lib/buildr/java/bdd.rb +18 -13
- data/lib/buildr/java/ecj.rb +1 -3
- data/lib/buildr/java/jtestr_result.rb +295 -0
- data/lib/buildr/java/jtestr_runner.rb.erb +4 -6
- data/lib/buildr/java/packaging.rb +14 -3
- data/lib/buildr/java/pom.rb +6 -2
- data/lib/buildr/java/test_result.rb +15 -243
- data/lib/buildr/java/tests.rb +1 -1
- data/lib/buildr/packaging.rb +2 -1
- data/lib/buildr/packaging/#package.rb.rej# +19 -0
- data/lib/buildr/packaging/archive.rb +13 -3
- data/lib/buildr/packaging/artifact.rb +11 -12
- data/lib/buildr/packaging/tar.rb +4 -1
- data/lib/buildr/packaging/zip.rb +106 -1
- data/lib/buildr/resources/completed.png +0 -0
- data/lib/buildr/resources/failed.png +0 -0
- data/lib/buildr/resources/icons-license.txt +17 -0
- data/lib/buildr/run.rb +7 -14
- data/lib/buildr/scala/#Untitled-2# +7 -0
- data/lib/buildr/scala/bdd.rb +1 -1
- data/lib/buildr/scala/compiler.rb +1 -1
- data/lib/buildr/scala/doc.rb +20 -2
- data/lib/buildr/scala/shell.rb +14 -22
- data/lib/buildr/scala/tests.rb +2 -2
- data/lib/buildr/shell.rb +113 -108
- data/lib/buildr/version.rb +1 -1
- data/rakelib/checks.rake +9 -7
- data/rakelib/doc.rake +10 -0
- data/rakelib/release.rake +9 -0
- data/rakelib/rspec.rake +27 -28
- data/rakelib/setup.rake +1 -1
- data/rakelib/stage.rake +2 -2
- data/spec/addon/bnd_spec.rb +330 -0
- data/spec/addon/jaxb_xjc_spec.rb +125 -0
- data/spec/core/application_spec.rb +1 -1
- data/spec/core/build_spec.rb +7 -7
- data/spec/core/cc_spec.rb +154 -104
- data/spec/core/compile_spec.rb +3 -3
- data/spec/core/project_spec.rb +10 -0
- data/spec/core/run_spec.rb +1 -0
- data/spec/core/shell_spec.rb +146 -0
- data/spec/groovy/doc_spec.rb +65 -0
- data/spec/ide/eclipse_spec.rb +1 -1
- data/spec/ide/idea_spec.rb +1145 -0
- data/spec/java/bdd_spec.rb +3 -3
- data/spec/java/emma_spec.rb +2 -0
- data/spec/java/packaging_spec.rb +40 -11
- data/spec/java/test_coverage_helper.rb +1 -1
- data/spec/packaging/archive_spec.rb +76 -21
- data/spec/packaging/artifact_namespace_spec.rb +1 -1
- data/spec/packaging/artifact_spec.rb +14 -7
- data/spec/sandbox.rb +11 -4
- data/spec/scala/bdd_spec.rb +2 -2
- data/spec/scala/compiler_spec.rb +2 -2
- data/spec/scala/doc_spec.rb +24 -4
- data/spec/scala/scala.rb +2 -2
- data/spec/scala/tests_spec.rb +2 -2
- data/spec/spec_helpers.rb +9 -8
- data/spec/xpath_matchers.rb +121 -0
- metadata +240 -160
- data/lib/buildr/ide/idea.ipr.template +0 -300
- data/lib/buildr/ide/idea7x.ipr.template +0 -290
- data/lib/buildr/ide/idea7x.rb +0 -231
- data/spec/ide/idea7x_spec.rb +0 -96
data/spec/scala/doc_spec.rb
CHANGED
|
@@ -19,8 +19,8 @@ require File.expand_path(File.join(File.dirname(__FILE__), '..', 'spec_helpers')
|
|
|
19
19
|
describe "Scaladoc" do
|
|
20
20
|
|
|
21
21
|
before(:each) do
|
|
22
|
-
# Force Scala 2.8.
|
|
23
|
-
Buildr.settings.build['scala.version'] = "2.8.
|
|
22
|
+
# Force Scala 2.8.1 for specs; don't want to rely on SCALA_HOME
|
|
23
|
+
Buildr.settings.build['scala.version'] = "2.8.1"
|
|
24
24
|
end
|
|
25
25
|
|
|
26
26
|
it 'should pick -doc-title from project name by default' do
|
|
@@ -52,17 +52,37 @@ describe "Scaladoc" do
|
|
|
52
52
|
project('foo').doc.options[:"doc-title"].should eql('explicit')
|
|
53
53
|
end
|
|
54
54
|
|
|
55
|
-
it 'should convert :windowtitle to -doc-title for Scala 2.8.
|
|
55
|
+
it 'should convert :windowtitle to -doc-title for Scala 2.8.1' do
|
|
56
56
|
write 'src/main/scala/com/example/Test.scala', 'package com.example; class Test { val i = 1 }'
|
|
57
57
|
define('foo') do
|
|
58
58
|
doc.using :windowtitle => "foo"
|
|
59
59
|
end
|
|
60
|
-
Java.scala.tools.nsc.ScalaDoc.should_receive(:
|
|
60
|
+
Java.scala.tools.nsc.ScalaDoc.should_receive(:process) do |args|
|
|
61
61
|
# Convert Java Strings to Ruby Strings, if needed.
|
|
62
62
|
args.map { |a| a.is_a?(String) ? a : a.toString }.should include("-doc-title")
|
|
63
63
|
0 # normal return
|
|
64
64
|
end
|
|
65
65
|
project('foo').doc.invoke
|
|
66
66
|
end
|
|
67
|
+
end
|
|
68
|
+
|
|
69
|
+
describe "package(:scaladoc)" do
|
|
70
|
+
it "should generate target/project-version-scaladoc.jar" do
|
|
71
|
+
write 'src/main/scala/Foo.scala', 'class Foo'
|
|
72
|
+
define 'foo', :version=>'1.0' do
|
|
73
|
+
package(:scaladoc)
|
|
74
|
+
end
|
|
75
|
+
|
|
76
|
+
scaladoc = project('foo').package(:scaladoc)
|
|
77
|
+
scaladoc.should point_to_path('target/foo-1.0-scaladoc.jar')
|
|
67
78
|
|
|
79
|
+
lambda {
|
|
80
|
+
project('foo').task('package').invoke
|
|
81
|
+
}.should change { File.exist?('target/foo-1.0-scaladoc.jar') }.to(true)
|
|
82
|
+
|
|
83
|
+
scaladoc.should exist
|
|
84
|
+
scaladoc.should contain('index.html')
|
|
85
|
+
scaladoc.should contain('Foo.html')
|
|
86
|
+
end
|
|
68
87
|
end
|
|
88
|
+
|
data/spec/scala/scala.rb
CHANGED
|
@@ -18,8 +18,8 @@ require File.expand_path(File.join(File.dirname(__FILE__), '..', 'spec_helpers')
|
|
|
18
18
|
|
|
19
19
|
describe 'scala' do
|
|
20
20
|
# Specific version of Scala required for specs
|
|
21
|
-
required_version = '2.8.
|
|
22
|
-
scala_version_str = "2.8.
|
|
21
|
+
required_version = '2.8.1'
|
|
22
|
+
scala_version_str = "2.8.1.final"
|
|
23
23
|
|
|
24
24
|
it 'should automatically add the remote scala-tools.org repository' do
|
|
25
25
|
# NOTE: the sandbox environment clears "repositories.remote" so we can't
|
data/spec/scala/tests_spec.rb
CHANGED
|
@@ -27,8 +27,8 @@ require File.expand_path(File.join(File.dirname(__FILE__), '..', 'spec_helpers')
|
|
|
27
27
|
describe Buildr::Scala::ScalaTest do
|
|
28
28
|
|
|
29
29
|
before(:each) do
|
|
30
|
-
# Force Scala 2.8.
|
|
31
|
-
Buildr.settings.build['scala.version'] = "2.8.
|
|
30
|
+
# Force Scala 2.8.1 for specs; don't want to rely on SCALA_HOME
|
|
31
|
+
Buildr.settings.build['scala.version'] = "2.8.1"
|
|
32
32
|
end
|
|
33
33
|
|
|
34
34
|
it 'should be the default test framework when test cases are in Scala' do
|
data/spec/spec_helpers.rb
CHANGED
|
@@ -24,7 +24,7 @@ unless defined?(SpecHelpers)
|
|
|
24
24
|
spec = Gem::Specification.load(File.expand_path('../buildr.gemspec', File.dirname(__FILE__)))
|
|
25
25
|
# Dependency.version_requirements deprecated in rubygems 1.3.6
|
|
26
26
|
spec.dependencies.select {|dep| dep.type == :runtime }.each { |dep| gem dep.name, (dep.respond_to?(:requirement) ? dep.requirement.to_s : dep.version_requirements.to_s) }
|
|
27
|
-
|
|
27
|
+
|
|
28
28
|
# Make sure to load from these paths first, we don't want to load any
|
|
29
29
|
# code from Gem library.
|
|
30
30
|
$LOAD_PATH.unshift File.expand_path('../lib', File.dirname(__FILE__)),
|
|
@@ -48,7 +48,7 @@ unless defined?(SpecHelpers)
|
|
|
48
48
|
end
|
|
49
49
|
end
|
|
50
50
|
end
|
|
51
|
-
|
|
51
|
+
|
|
52
52
|
# Give a chance for plugins to do a few things before requiring the sandbox.
|
|
53
53
|
include SandboxHook if defined?(SandboxHook)
|
|
54
54
|
|
|
@@ -287,9 +287,9 @@ unless defined?(SpecHelpers)
|
|
|
287
287
|
|
|
288
288
|
# Value covered by range. For example:
|
|
289
289
|
# (1..5).should cover(3)
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
290
|
+
RSpec::Matchers.define :cover do |actual|
|
|
291
|
+
match do |range|
|
|
292
|
+
actual >= range.min && actual <= range.max
|
|
293
293
|
end
|
|
294
294
|
end
|
|
295
295
|
|
|
@@ -353,13 +353,14 @@ unless defined?(SpecHelpers)
|
|
|
353
353
|
|
|
354
354
|
# Allow using matchers within the project definition.
|
|
355
355
|
class Buildr::Project
|
|
356
|
-
include ::
|
|
356
|
+
include ::RSpec::Matchers, SpecHelpers
|
|
357
357
|
end
|
|
358
358
|
|
|
359
359
|
|
|
360
|
-
|
|
360
|
+
::RSpec.configure do |config|
|
|
361
361
|
# Make all Buildr methods accessible from test cases, and add various helper methods.
|
|
362
|
-
config.include Buildr
|
|
362
|
+
config.include Buildr
|
|
363
|
+
config.include SpecHelpers
|
|
363
364
|
|
|
364
365
|
# Sanbdox Buildr for each test.
|
|
365
366
|
config.include Sandbox
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
# Licensed to the Apache Software Foundation (ASF) under one or more
|
|
2
|
+
# contributor license agreements. See the NOTICE file distributed with this
|
|
3
|
+
# work for additional information regarding copyright ownership. The ASF
|
|
4
|
+
# licenses this file to you under the Apache License, Version 2.0 (the
|
|
5
|
+
# "License"); you may not use this file except in compliance with the License.
|
|
6
|
+
# You may obtain a copy of the License at
|
|
7
|
+
#
|
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
#
|
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
12
|
+
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
13
|
+
# License for the specific language governing permissions and limitations under
|
|
14
|
+
# the License.
|
|
15
|
+
|
|
16
|
+
require 'rexml/document'
|
|
17
|
+
require 'rexml/element'
|
|
18
|
+
|
|
19
|
+
module RSpec
|
|
20
|
+
module Matchers
|
|
21
|
+
|
|
22
|
+
# check if the xpath exists one or more times
|
|
23
|
+
class HaveXpath
|
|
24
|
+
def initialize(xpath)
|
|
25
|
+
@xpath = xpath
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
def matches?(response)
|
|
29
|
+
@response = response
|
|
30
|
+
doc = response.is_a?(REXML::Document) ? response : REXML::Document.new(@response)
|
|
31
|
+
match = REXML::XPath.match(doc, @xpath)
|
|
32
|
+
not match.empty?
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
def failure_message
|
|
36
|
+
"Did not find expected xpath #{@xpath}"
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
def negative_failure_message
|
|
40
|
+
"Did find unexpected xpath #{@xpath}"
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
def description
|
|
44
|
+
"match the xpath expression #{@xpath}"
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
def have_xpath(xpath)
|
|
49
|
+
HaveXpath.new(xpath)
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
# check if the xpath has the specified value
|
|
53
|
+
# value is a string and there must be a single result to match its
|
|
54
|
+
# equality against
|
|
55
|
+
class MatchXpath
|
|
56
|
+
def initialize(xpath, val)
|
|
57
|
+
@xpath = xpath
|
|
58
|
+
@val= val
|
|
59
|
+
end
|
|
60
|
+
|
|
61
|
+
def matches?(response)
|
|
62
|
+
@response = response
|
|
63
|
+
doc = response.is_a?(REXML::Document) ? response : REXML::Document.new(@response)
|
|
64
|
+
ok = true
|
|
65
|
+
REXML::XPath.each(doc, @xpath) do |e|
|
|
66
|
+
@actual_val = case e
|
|
67
|
+
when REXML::Attribute
|
|
68
|
+
e.to_s
|
|
69
|
+
when REXML::Element
|
|
70
|
+
e.text
|
|
71
|
+
else
|
|
72
|
+
e.to_s
|
|
73
|
+
end
|
|
74
|
+
return false unless @val == @actual_val
|
|
75
|
+
end
|
|
76
|
+
return ok
|
|
77
|
+
end
|
|
78
|
+
|
|
79
|
+
def failure_message
|
|
80
|
+
"The xpath #{@xpath} did not have the value '#{@val}' It was '#{@actual_val}'"
|
|
81
|
+
end
|
|
82
|
+
|
|
83
|
+
def description
|
|
84
|
+
"match the xpath expression #{@xpath} with #{@val}"
|
|
85
|
+
end
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
def match_xpath(xpath, val)
|
|
89
|
+
MatchXpath.new(xpath, val)
|
|
90
|
+
end
|
|
91
|
+
|
|
92
|
+
# checks if the given xpath occurs num times
|
|
93
|
+
class HaveNodes #:nodoc:
|
|
94
|
+
def initialize(xpath, num)
|
|
95
|
+
@xpath= xpath
|
|
96
|
+
@num = num
|
|
97
|
+
end
|
|
98
|
+
|
|
99
|
+
def matches?(response)
|
|
100
|
+
@response = response
|
|
101
|
+
doc = response.is_a?(REXML::Document) ? response : REXML::Document.new(@response)
|
|
102
|
+
match = REXML::XPath.match(doc, @xpath)
|
|
103
|
+
@num_found= match.size
|
|
104
|
+
@num_found == @num
|
|
105
|
+
end
|
|
106
|
+
|
|
107
|
+
def failure_message
|
|
108
|
+
"Did not find expected number of nodes #{@num} in xpath #{@xpath} Found #{@num_found}"
|
|
109
|
+
end
|
|
110
|
+
|
|
111
|
+
def description
|
|
112
|
+
"match the number of nodes #{@num}"
|
|
113
|
+
end
|
|
114
|
+
end
|
|
115
|
+
|
|
116
|
+
def have_nodes(xpath, num)
|
|
117
|
+
HaveNodes.new(xpath, num)
|
|
118
|
+
end
|
|
119
|
+
|
|
120
|
+
end
|
|
121
|
+
end
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: buildr
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
5
|
-
prerelease:
|
|
4
|
+
hash: 13
|
|
5
|
+
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 1
|
|
8
8
|
- 4
|
|
9
|
-
-
|
|
10
|
-
version: 1.4.
|
|
9
|
+
- 5
|
|
10
|
+
version: 1.4.5
|
|
11
11
|
platform: java
|
|
12
12
|
authors:
|
|
13
13
|
- Apache Buildr
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date:
|
|
18
|
+
date: 2011-02-21 00:00:00 -08:00
|
|
19
19
|
default_executable:
|
|
20
20
|
dependencies:
|
|
21
21
|
- !ruby/object:Gem::Dependency
|
|
@@ -90,12 +90,12 @@ dependencies:
|
|
|
90
90
|
requirements:
|
|
91
91
|
- - "="
|
|
92
92
|
- !ruby/object:Gem::Version
|
|
93
|
-
hash:
|
|
93
|
+
hash: 51
|
|
94
94
|
segments:
|
|
95
95
|
- 0
|
|
96
96
|
- 9
|
|
97
|
-
-
|
|
98
|
-
version: 0.9.
|
|
97
|
+
- 4
|
|
98
|
+
version: 0.9.4
|
|
99
99
|
type: :runtime
|
|
100
100
|
version_requirements: *id005
|
|
101
101
|
- !ruby/object:Gem::Dependency
|
|
@@ -179,25 +179,89 @@ dependencies:
|
|
|
179
179
|
type: :runtime
|
|
180
180
|
version_requirements: *id010
|
|
181
181
|
- !ruby/object:Gem::Dependency
|
|
182
|
-
name:
|
|
182
|
+
name: diff-lcs
|
|
183
183
|
prerelease: false
|
|
184
184
|
requirement: &id011 !ruby/object:Gem::Requirement
|
|
185
185
|
none: false
|
|
186
186
|
requirements:
|
|
187
|
-
- -
|
|
187
|
+
- - "="
|
|
188
188
|
- !ruby/object:Gem::Version
|
|
189
|
-
hash:
|
|
189
|
+
hash: 23
|
|
190
190
|
segments:
|
|
191
191
|
- 1
|
|
192
|
-
- 3
|
|
193
192
|
- 1
|
|
194
|
-
|
|
193
|
+
- 2
|
|
194
|
+
version: 1.1.2
|
|
195
195
|
type: :runtime
|
|
196
196
|
version_requirements: *id011
|
|
197
197
|
- !ruby/object:Gem::Dependency
|
|
198
|
-
name:
|
|
198
|
+
name: rspec-expectations
|
|
199
199
|
prerelease: false
|
|
200
200
|
requirement: &id012 !ruby/object:Gem::Requirement
|
|
201
|
+
none: false
|
|
202
|
+
requirements:
|
|
203
|
+
- - "="
|
|
204
|
+
- !ruby/object:Gem::Version
|
|
205
|
+
hash: 11
|
|
206
|
+
segments:
|
|
207
|
+
- 2
|
|
208
|
+
- 1
|
|
209
|
+
- 0
|
|
210
|
+
version: 2.1.0
|
|
211
|
+
type: :runtime
|
|
212
|
+
version_requirements: *id012
|
|
213
|
+
- !ruby/object:Gem::Dependency
|
|
214
|
+
name: rspec-mocks
|
|
215
|
+
prerelease: false
|
|
216
|
+
requirement: &id013 !ruby/object:Gem::Requirement
|
|
217
|
+
none: false
|
|
218
|
+
requirements:
|
|
219
|
+
- - "="
|
|
220
|
+
- !ruby/object:Gem::Version
|
|
221
|
+
hash: 11
|
|
222
|
+
segments:
|
|
223
|
+
- 2
|
|
224
|
+
- 1
|
|
225
|
+
- 0
|
|
226
|
+
version: 2.1.0
|
|
227
|
+
type: :runtime
|
|
228
|
+
version_requirements: *id013
|
|
229
|
+
- !ruby/object:Gem::Dependency
|
|
230
|
+
name: rspec-core
|
|
231
|
+
prerelease: false
|
|
232
|
+
requirement: &id014 !ruby/object:Gem::Requirement
|
|
233
|
+
none: false
|
|
234
|
+
requirements:
|
|
235
|
+
- - "="
|
|
236
|
+
- !ruby/object:Gem::Version
|
|
237
|
+
hash: 11
|
|
238
|
+
segments:
|
|
239
|
+
- 2
|
|
240
|
+
- 1
|
|
241
|
+
- 0
|
|
242
|
+
version: 2.1.0
|
|
243
|
+
type: :runtime
|
|
244
|
+
version_requirements: *id014
|
|
245
|
+
- !ruby/object:Gem::Dependency
|
|
246
|
+
name: rspec
|
|
247
|
+
prerelease: false
|
|
248
|
+
requirement: &id015 !ruby/object:Gem::Requirement
|
|
249
|
+
none: false
|
|
250
|
+
requirements:
|
|
251
|
+
- - "="
|
|
252
|
+
- !ruby/object:Gem::Version
|
|
253
|
+
hash: 11
|
|
254
|
+
segments:
|
|
255
|
+
- 2
|
|
256
|
+
- 1
|
|
257
|
+
- 0
|
|
258
|
+
version: 2.1.0
|
|
259
|
+
type: :runtime
|
|
260
|
+
version_requirements: *id015
|
|
261
|
+
- !ruby/object:Gem::Dependency
|
|
262
|
+
name: xml-simple
|
|
263
|
+
prerelease: false
|
|
264
|
+
requirement: &id016 !ruby/object:Gem::Requirement
|
|
201
265
|
none: false
|
|
202
266
|
requirements:
|
|
203
267
|
- - "="
|
|
@@ -209,11 +273,11 @@ dependencies:
|
|
|
209
273
|
- 12
|
|
210
274
|
version: 1.0.12
|
|
211
275
|
type: :runtime
|
|
212
|
-
version_requirements: *
|
|
276
|
+
version_requirements: *id016
|
|
213
277
|
- !ruby/object:Gem::Dependency
|
|
214
278
|
name: minitar
|
|
215
279
|
prerelease: false
|
|
216
|
-
requirement: &
|
|
280
|
+
requirement: &id017 !ruby/object:Gem::Requirement
|
|
217
281
|
none: false
|
|
218
282
|
requirements:
|
|
219
283
|
- - "="
|
|
@@ -225,11 +289,11 @@ dependencies:
|
|
|
225
289
|
- 3
|
|
226
290
|
version: 0.5.3
|
|
227
291
|
type: :runtime
|
|
228
|
-
version_requirements: *
|
|
292
|
+
version_requirements: *id017
|
|
229
293
|
- !ruby/object:Gem::Dependency
|
|
230
294
|
name: jruby-openssl
|
|
231
295
|
prerelease: false
|
|
232
|
-
requirement: &
|
|
296
|
+
requirement: &id018 !ruby/object:Gem::Requirement
|
|
233
297
|
none: false
|
|
234
298
|
requirements:
|
|
235
299
|
- - ">="
|
|
@@ -240,11 +304,11 @@ dependencies:
|
|
|
240
304
|
- 7
|
|
241
305
|
version: "0.7"
|
|
242
306
|
type: :runtime
|
|
243
|
-
version_requirements: *
|
|
307
|
+
version_requirements: *id018
|
|
244
308
|
- !ruby/object:Gem::Dependency
|
|
245
309
|
name: sdoc
|
|
246
310
|
prerelease: false
|
|
247
|
-
requirement: &
|
|
311
|
+
requirement: &id019 !ruby/object:Gem::Requirement
|
|
248
312
|
none: false
|
|
249
313
|
requirements:
|
|
250
314
|
- - ">="
|
|
@@ -254,7 +318,7 @@ dependencies:
|
|
|
254
318
|
- 0
|
|
255
319
|
version: "0"
|
|
256
320
|
type: :development
|
|
257
|
-
version_requirements: *
|
|
321
|
+
version_requirements: *id019
|
|
258
322
|
description: |
|
|
259
323
|
Apache Buildr is a build system for Java-based applications, including support
|
|
260
324
|
for Scala, Groovy and a growing number of JVM languages and tools. We wanted
|
|
@@ -273,201 +337,217 @@ extra_rdoc_files:
|
|
|
273
337
|
- LICENSE
|
|
274
338
|
- NOTICE
|
|
275
339
|
files:
|
|
276
|
-
- addon/buildr/
|
|
277
|
-
- addon/buildr/
|
|
278
|
-
- addon/buildr/antlr.rb
|
|
279
|
-
- addon/buildr/hibernate.rb
|
|
280
|
-
- addon/buildr/javacc.rb
|
|
281
|
-
- addon/buildr/jdepend.rb
|
|
282
|
-
- addon/buildr/org/apache/buildr/BuildrNail.java
|
|
340
|
+
- addon/buildr/org/apache/buildr/BuildrNail$Main.class
|
|
341
|
+
- addon/buildr/org/apache/buildr/BuildrNail.class
|
|
283
342
|
- addon/buildr/org/apache/buildr/JettyWrapper.java
|
|
343
|
+
- addon/buildr/org/apache/buildr/JettyWrapper.class
|
|
344
|
+
- addon/buildr/org/apache/buildr/BuildrNail.java
|
|
284
345
|
- addon/buildr/org/apache/buildr/JettyWrapper$1.class
|
|
285
346
|
- addon/buildr/org/apache/buildr/JettyWrapper$BuildrHandler.class
|
|
286
|
-
- addon/buildr/
|
|
287
|
-
- addon/buildr/
|
|
288
|
-
- addon/buildr/org/apache/buildr/BuildrNail.class
|
|
289
|
-
- addon/buildr/openjpa.rb
|
|
290
|
-
- addon/buildr/jibx.rb
|
|
347
|
+
- addon/buildr/hibernate.rb
|
|
348
|
+
- addon/buildr/javacc.rb
|
|
291
349
|
- addon/buildr/cobertura.rb
|
|
292
350
|
- addon/buildr/protobuf.rb
|
|
293
|
-
- addon/buildr/
|
|
351
|
+
- addon/buildr/nailgun.rb
|
|
294
352
|
- addon/buildr/jetty.rb
|
|
353
|
+
- addon/buildr/xmlbeans.rb
|
|
354
|
+
- addon/buildr/jdepend.rb
|
|
355
|
+
- addon/buildr/jibx.rb
|
|
356
|
+
- addon/buildr/drb.rb
|
|
357
|
+
- addon/buildr/jaxb_xjc.rb
|
|
358
|
+
- addon/buildr/antlr.rb
|
|
295
359
|
- addon/buildr/emma.rb
|
|
360
|
+
- addon/buildr/openjpa.rb
|
|
361
|
+
- addon/buildr/bnd.rb
|
|
296
362
|
- bin/buildr
|
|
297
|
-
- doc/testing.textile
|
|
298
|
-
- doc/preface.textile
|
|
299
|
-
- doc/building.textile
|
|
300
|
-
- doc/index.textile
|
|
301
|
-
- doc/releasing.textile
|
|
302
|
-
- doc/_config.yml
|
|
303
|
-
- doc/extending.textile
|
|
304
|
-
- doc/more_stuff.textile
|
|
305
|
-
- doc/download.textile
|
|
306
|
-
- doc/projects.textile
|
|
307
363
|
- doc/css/default.css
|
|
308
364
|
- doc/css/syntax.css
|
|
309
365
|
- doc/css/print.css
|
|
310
366
|
- doc/scripts/install-osx.sh
|
|
311
|
-
- doc/scripts/gitflow.rb
|
|
312
367
|
- doc/scripts/buildr-git.rb
|
|
368
|
+
- doc/scripts/gitflow.rb
|
|
313
369
|
- doc/scripts/install-jruby.sh
|
|
314
370
|
- doc/scripts/install-linux.sh
|
|
315
|
-
- doc/
|
|
316
|
-
- doc/_layouts/default.html
|
|
317
|
-
- doc/_layouts/preface.html
|
|
371
|
+
- doc/projects.textile
|
|
318
372
|
- doc/settings_profiles.textile
|
|
319
|
-
- doc/
|
|
373
|
+
- doc/contributing.textile
|
|
374
|
+
- doc/more_stuff.textile
|
|
375
|
+
- doc/installing.textile
|
|
376
|
+
- doc/languages.textile
|
|
377
|
+
- doc/mailing_lists.textile
|
|
378
|
+
- doc/testing.textile
|
|
379
|
+
- doc/_config.yml
|
|
380
|
+
- doc/releasing.textile
|
|
320
381
|
- doc/artifacts.textile
|
|
321
|
-
- doc/
|
|
322
|
-
- doc/
|
|
323
|
-
- doc/
|
|
382
|
+
- doc/download.textile
|
|
383
|
+
- doc/building.textile
|
|
384
|
+
- doc/extending.textile
|
|
385
|
+
- doc/images/growl-icon.tiff
|
|
324
386
|
- doc/images/asf-logo.gif
|
|
325
387
|
- doc/images/zbuildr.png
|
|
326
|
-
- doc/images/zbuildr.tif
|
|
327
|
-
- doc/images/buildr.png
|
|
328
|
-
- doc/images/note.png
|
|
329
|
-
- doc/images/growl-icon.tiff
|
|
330
|
-
- doc/images/tip.png
|
|
331
388
|
- doc/images/1442160941-frontcover.jpg
|
|
332
389
|
- doc/images/asf-logo.png
|
|
333
|
-
- doc/
|
|
334
|
-
- doc/
|
|
335
|
-
- doc/
|
|
336
|
-
- doc/
|
|
390
|
+
- doc/images/project-structure.png
|
|
391
|
+
- doc/images/note.png
|
|
392
|
+
- doc/images/buildr.png
|
|
393
|
+
- doc/images/buildr-hires.png
|
|
394
|
+
- doc/images/favicon.png
|
|
395
|
+
- doc/images/tip.png
|
|
396
|
+
- doc/images/zbuildr.tif
|
|
397
|
+
- doc/_layouts/preface.html
|
|
398
|
+
- doc/_layouts/default.html
|
|
399
|
+
- doc/packaging.textile
|
|
400
|
+
- doc/index.textile
|
|
401
|
+
- doc/preface.textile
|
|
402
|
+
- doc/quick_start.textile
|
|
337
403
|
- etc/KEYS
|
|
404
|
+
- lib/buildr.rb
|
|
338
405
|
- lib/buildr/scala.rb
|
|
339
|
-
- lib/buildr/shell.rb
|
|
340
|
-
- lib/buildr/ide.rb
|
|
341
|
-
- lib/buildr/core.rb
|
|
342
|
-
- lib/buildr/packaging/artifact.rb
|
|
343
|
-
- lib/buildr/packaging/ziptask.rb
|
|
344
|
-
- lib/buildr/packaging/gems.rb
|
|
345
|
-
- lib/buildr/packaging/artifact_namespace.rb
|
|
346
|
-
- lib/buildr/packaging/archive.rb
|
|
347
|
-
- lib/buildr/packaging/package.rb
|
|
348
|
-
- lib/buildr/packaging/version_requirement.rb
|
|
349
|
-
- lib/buildr/packaging/zip.rb
|
|
350
|
-
- lib/buildr/packaging/artifact_search.rb
|
|
351
|
-
- lib/buildr/packaging/tar.rb
|
|
352
|
-
- lib/buildr/ide/idea.ipr.template
|
|
353
406
|
- lib/buildr/ide/eclipse/scala.rb
|
|
354
|
-
- lib/buildr/ide/eclipse/java.rb
|
|
355
407
|
- lib/buildr/ide/eclipse/plugin.rb
|
|
408
|
+
- lib/buildr/ide/eclipse/java.rb
|
|
356
409
|
- lib/buildr/ide/eclipse.rb
|
|
357
410
|
- lib/buildr/ide/idea.rb
|
|
358
|
-
- lib/buildr/
|
|
359
|
-
- lib/buildr/
|
|
360
|
-
- lib/buildr/
|
|
411
|
+
- lib/buildr/packaging/artifact_namespace.rb
|
|
412
|
+
- lib/buildr/packaging/gems.rb
|
|
413
|
+
- lib/buildr/packaging/zip.rb
|
|
414
|
+
- lib/buildr/packaging/#package.rb.rej#
|
|
415
|
+
- lib/buildr/packaging/package.rb
|
|
416
|
+
- lib/buildr/packaging/ziptask.rb
|
|
417
|
+
- lib/buildr/packaging/artifact_search.rb
|
|
418
|
+
- lib/buildr/packaging/archive.rb
|
|
419
|
+
- lib/buildr/packaging/artifact.rb
|
|
420
|
+
- lib/buildr/packaging/tar.rb
|
|
421
|
+
- lib/buildr/packaging/version_requirement.rb
|
|
422
|
+
- lib/buildr/resources/icons-license.txt
|
|
361
423
|
- lib/buildr/resources/buildr.icns
|
|
424
|
+
- lib/buildr/resources/completed.png
|
|
425
|
+
- lib/buildr/resources/failed.png
|
|
426
|
+
- lib/buildr/ide.rb
|
|
427
|
+
- lib/buildr/version.rb
|
|
428
|
+
- lib/buildr/shell.rb
|
|
429
|
+
- lib/buildr/core.rb
|
|
362
430
|
- lib/buildr/packaging.rb
|
|
363
|
-
- lib/buildr/
|
|
364
|
-
- lib/buildr/groovy/shell.rb
|
|
365
|
-
- lib/buildr/groovy/bdd.rb
|
|
366
|
-
- lib/buildr/java/compiler.rb
|
|
367
|
-
- lib/buildr/java/tests.rb
|
|
368
|
-
- lib/buildr/java/org/apache/buildr/JavaTestFilter.java
|
|
369
|
-
- lib/buildr/java/org/apache/buildr/JavaTestFilter.class
|
|
370
|
-
- lib/buildr/java/bdd.rb
|
|
371
|
-
- lib/buildr/java/rjb.rb
|
|
372
|
-
- lib/buildr/java/jtestr_runner.rb.erb
|
|
373
|
-
- lib/buildr/java/packaging.rb
|
|
374
|
-
- lib/buildr/java/deprecated.rb
|
|
375
|
-
- lib/buildr/java/version_requirement.rb
|
|
376
|
-
- lib/buildr/java/doc.rb
|
|
377
|
-
- lib/buildr/java/external.rb
|
|
378
|
-
- lib/buildr/java/cobertura.rb
|
|
379
|
-
- lib/buildr/java/commands.rb
|
|
380
|
-
- lib/buildr/java/ant.rb
|
|
381
|
-
- lib/buildr/java/test_result.rb
|
|
382
|
-
- lib/buildr/java/ecj.rb
|
|
383
|
-
- lib/buildr/java/jruby.rb
|
|
384
|
-
- lib/buildr/java/emma.rb
|
|
385
|
-
- lib/buildr/java/pom.rb
|
|
386
|
-
- lib/buildr/groovy.rb
|
|
387
|
-
- lib/buildr/scala/compiler.rb
|
|
388
|
-
- lib/buildr/scala/shell.rb
|
|
389
|
-
- lib/buildr/scala/tests.rb
|
|
390
|
-
- lib/buildr/scala/org/apache/buildr/SpecsSingletonRunner.java
|
|
431
|
+
- lib/buildr/clojure/shell.rb
|
|
391
432
|
- lib/buildr/scala/org/apache/buildr/SpecsSingletonRunner.class
|
|
433
|
+
- lib/buildr/scala/org/apache/buildr/SpecsSingletonRunner.java
|
|
392
434
|
- lib/buildr/scala/bdd.rb
|
|
435
|
+
- lib/buildr/scala/shell.rb
|
|
436
|
+
- lib/buildr/scala/#Untitled-2#
|
|
437
|
+
- lib/buildr/scala/compiler.rb
|
|
438
|
+
- lib/buildr/scala/tests.rb
|
|
393
439
|
- lib/buildr/scala/doc.rb
|
|
440
|
+
- lib/buildr/java.rb
|
|
441
|
+
- lib/buildr/core/osx.rb
|
|
442
|
+
- lib/buildr/core/build.rb
|
|
443
|
+
- lib/buildr/core/progressbar.rb
|
|
444
|
+
- lib/buildr/core/application.rb
|
|
445
|
+
- lib/buildr/core/generate.rb
|
|
446
|
+
- lib/buildr/core/util.rb
|
|
447
|
+
- lib/buildr/core/#application.rb#
|
|
448
|
+
- lib/buildr/core/shell.rb
|
|
449
|
+
- lib/buildr/core/compile.rb
|
|
450
|
+
- lib/buildr/core/help.rb
|
|
394
451
|
- lib/buildr/core/common.rb
|
|
395
452
|
- lib/buildr/core/test.rb
|
|
396
453
|
- lib/buildr/core/environment.rb
|
|
397
|
-
- lib/buildr/core/shell.rb
|
|
398
|
-
- lib/buildr/core/osx.rb
|
|
399
|
-
- lib/buildr/core/generate.rb
|
|
400
|
-
- lib/buildr/core/transports.rb
|
|
401
|
-
- lib/buildr/core/checks.rb
|
|
402
|
-
- lib/buildr/core/application.rb
|
|
403
454
|
- lib/buildr/core/filter.rb
|
|
404
|
-
- lib/buildr/core/
|
|
455
|
+
- lib/buildr/core/checks.rb
|
|
456
|
+
- lib/buildr/core/cc.rb
|
|
405
457
|
- lib/buildr/core/doc.rb
|
|
406
|
-
- lib/buildr/core/
|
|
407
|
-
- lib/buildr/core/
|
|
458
|
+
- lib/buildr/core/transports.rb
|
|
459
|
+
- lib/buildr/core/jrebel.rb
|
|
408
460
|
- lib/buildr/core/project.rb
|
|
409
|
-
- lib/buildr/core/help.rb
|
|
410
|
-
- lib/buildr/core/util.rb
|
|
411
|
-
- lib/buildr/core/cc.rb
|
|
412
461
|
- lib/buildr/core/run.rb
|
|
413
|
-
- lib/buildr/
|
|
462
|
+
- lib/buildr/core/linux.rb
|
|
463
|
+
- lib/buildr/java/org/apache/buildr/JavaTestFilter.java
|
|
464
|
+
- lib/buildr/java/org/apache/buildr/JavaTestFilter.class
|
|
465
|
+
- lib/buildr/java/bdd.rb
|
|
466
|
+
- lib/buildr/java/external.rb
|
|
467
|
+
- lib/buildr/java/pom.rb
|
|
468
|
+
- lib/buildr/java/ecj.rb
|
|
469
|
+
- lib/buildr/java/rjb.rb
|
|
470
|
+
- lib/buildr/java/cobertura.rb
|
|
471
|
+
- lib/buildr/java/jtestr_result.rb
|
|
472
|
+
- lib/buildr/java/packaging.rb
|
|
473
|
+
- lib/buildr/java/compiler.rb
|
|
474
|
+
- lib/buildr/java/jruby.rb
|
|
475
|
+
- lib/buildr/java/tests.rb
|
|
476
|
+
- lib/buildr/java/commands.rb
|
|
477
|
+
- lib/buildr/java/doc.rb
|
|
478
|
+
- lib/buildr/java/jtestr_runner.rb.erb
|
|
479
|
+
- lib/buildr/java/ant.rb
|
|
480
|
+
- lib/buildr/java/deprecated.rb
|
|
481
|
+
- lib/buildr/java/test_result.rb
|
|
482
|
+
- lib/buildr/java/emma.rb
|
|
483
|
+
- lib/buildr/java/version_requirement.rb
|
|
484
|
+
- lib/buildr/groovy.rb
|
|
485
|
+
- lib/buildr/groovy/bdd.rb
|
|
486
|
+
- lib/buildr/groovy/shell.rb
|
|
487
|
+
- lib/buildr/groovy/compiler.rb
|
|
488
|
+
- lib/buildr/groovy/doc.rb
|
|
489
|
+
- lib/buildr/clojure.rb
|
|
414
490
|
- lib/buildr/run.rb
|
|
415
|
-
- lib/buildr.rb
|
|
416
|
-
- rakelib/all-in-one.rake
|
|
417
491
|
- rakelib/checks.rake
|
|
418
|
-
- rakelib/
|
|
419
|
-
- rakelib/setup.rake
|
|
492
|
+
- rakelib/package.rake
|
|
420
493
|
- rakelib/metrics.rake
|
|
421
|
-
- rakelib/stage.rake
|
|
422
|
-
- rakelib/release.rake
|
|
423
494
|
- rakelib/doc.rake
|
|
424
|
-
- rakelib/
|
|
425
|
-
-
|
|
495
|
+
- rakelib/release.rake
|
|
496
|
+
- rakelib/stage.rake
|
|
497
|
+
- rakelib/all-in-one.rake
|
|
498
|
+
- rakelib/setup.rake
|
|
499
|
+
- rakelib/rspec.rake
|
|
500
|
+
- spec/ide/idea_spec.rb
|
|
501
|
+
- spec/ide/eclipse_spec.rb
|
|
426
502
|
- spec/sandbox.rb
|
|
427
|
-
- spec/packaging/artifact_namespace_spec.rb
|
|
428
|
-
- spec/packaging/artifact_spec.rb
|
|
429
503
|
- spec/packaging/packaging_spec.rb
|
|
430
504
|
- spec/packaging/archive_spec.rb
|
|
431
505
|
- spec/packaging/packaging_helper.rb
|
|
432
|
-
- spec/
|
|
433
|
-
- spec/
|
|
434
|
-
- spec/version_requirement_spec.rb
|
|
506
|
+
- spec/packaging/artifact_spec.rb
|
|
507
|
+
- spec/packaging/artifact_namespace_spec.rb
|
|
435
508
|
- spec/addon/drb_spec.rb
|
|
436
|
-
- spec/
|
|
437
|
-
- spec/
|
|
438
|
-
- spec/
|
|
439
|
-
- spec/java/external_spec.rb
|
|
440
|
-
- spec/java/run_spec.rb
|
|
441
|
-
- spec/java/packaging_spec.rb
|
|
442
|
-
- spec/java/bdd_spec.rb
|
|
443
|
-
- spec/java/emma_spec.rb
|
|
444
|
-
- spec/java/doc_spec.rb
|
|
445
|
-
- spec/java/test_coverage_helper.rb
|
|
446
|
-
- spec/java/commands_spec.rb
|
|
447
|
-
- spec/java/java_spec.rb
|
|
448
|
-
- spec/java/cobertura_spec.rb
|
|
449
|
-
- spec/java/ant_spec.rb
|
|
450
|
-
- spec/java/tests_spec.rb
|
|
451
|
-
- spec/java/compiler_spec.rb
|
|
452
|
-
- spec/scala/scala.rb
|
|
509
|
+
- spec/addon/jaxb_xjc_spec.rb
|
|
510
|
+
- spec/addon/bnd_spec.rb
|
|
511
|
+
- spec/spec_helpers.rb
|
|
453
512
|
- spec/scala/bdd_spec.rb
|
|
454
|
-
- spec/scala/
|
|
513
|
+
- spec/scala/scala.rb
|
|
455
514
|
- spec/scala/tests_spec.rb
|
|
456
515
|
- spec/scala/compiler_spec.rb
|
|
516
|
+
- spec/scala/doc_spec.rb
|
|
517
|
+
- spec/version_requirement_spec.rb
|
|
518
|
+
- spec/core/cc_spec.rb
|
|
519
|
+
- spec/core/extension_spec.rb
|
|
520
|
+
- spec/core/build_spec.rb
|
|
457
521
|
- spec/core/application_spec.rb
|
|
458
522
|
- spec/core/compile_spec.rb
|
|
459
|
-
- spec/core/
|
|
523
|
+
- spec/core/shell_spec.rb
|
|
460
524
|
- spec/core/util_spec.rb
|
|
461
|
-
- spec/core/generate_spec.rb
|
|
462
|
-
- spec/core/run_spec.rb
|
|
463
525
|
- spec/core/checks_spec.rb
|
|
464
|
-
- spec/core/transport_spec.rb
|
|
465
|
-
- spec/core/doc_spec.rb
|
|
466
|
-
- spec/core/extension_spec.rb
|
|
467
526
|
- spec/core/test_spec.rb
|
|
468
|
-
- spec/core/
|
|
527
|
+
- spec/core/generate_spec.rb
|
|
528
|
+
- spec/core/doc_spec.rb
|
|
469
529
|
- spec/core/common_spec.rb
|
|
470
|
-
- spec/core/
|
|
530
|
+
- spec/core/transport_spec.rb
|
|
531
|
+
- spec/core/run_spec.rb
|
|
532
|
+
- spec/core/project_spec.rb
|
|
533
|
+
- spec/java/bdd_spec.rb
|
|
534
|
+
- spec/java/test_coverage_helper.rb
|
|
535
|
+
- spec/java/packaging_spec.rb
|
|
536
|
+
- spec/java/commands_spec.rb
|
|
537
|
+
- spec/java/ecj_spec.rb
|
|
538
|
+
- spec/java/external_spec.rb
|
|
539
|
+
- spec/java/java_spec.rb
|
|
540
|
+
- spec/java/cobertura_spec.rb
|
|
541
|
+
- spec/java/tests_spec.rb
|
|
542
|
+
- spec/java/ant_spec.rb
|
|
543
|
+
- spec/java/compiler_spec.rb
|
|
544
|
+
- spec/java/emma_spec.rb
|
|
545
|
+
- spec/java/doc_spec.rb
|
|
546
|
+
- spec/java/run_spec.rb
|
|
547
|
+
- spec/xpath_matchers.rb
|
|
548
|
+
- spec/groovy/bdd_spec.rb
|
|
549
|
+
- spec/groovy/compiler_spec.rb
|
|
550
|
+
- spec/groovy/doc_spec.rb
|
|
471
551
|
- buildr.gemspec
|
|
472
552
|
- buildr.buildfile
|
|
473
553
|
- LICENSE
|
|
@@ -513,7 +593,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
513
593
|
requirements: []
|
|
514
594
|
|
|
515
595
|
rubyforge_project: buildr
|
|
516
|
-
rubygems_version: 1.
|
|
596
|
+
rubygems_version: 1.5.2
|
|
517
597
|
signing_key:
|
|
518
598
|
specification_version: 3
|
|
519
599
|
summary: Build like you code
|