buildr 1.4.7.pre2-java → 1.4.8-java
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +65 -2
- data/Rakefile +3 -6
- data/addon/buildr/bnd.rb +13 -3
- data/addon/buildr/{checkstyle.rake → checkstyle.rb} +1 -1
- data/addon/buildr/{findbugs.rake → findbugs.rb} +0 -0
- data/addon/buildr/git_auto_version.rb +33 -0
- data/addon/buildr/gwt.rb +82 -0
- data/addon/buildr/jacoco.rb +194 -0
- data/addon/buildr/{javancss.rake → javancss.rb} +0 -0
- data/addon/buildr/nailgun.rb +2 -2
- data/addon/buildr/{pmd.rake → pmd.rb} +3 -1
- data/addon/buildr/sonar.rb +142 -0
- data/buildr.buildfile +1 -1
- data/buildr.gemspec +37 -26
- data/doc/_layouts/default.html +0 -2
- data/doc/contributing.textile +47 -0
- data/doc/download.textile +24 -0
- data/doc/index.textile +43 -23
- data/doc/languages.textile +65 -6
- data/doc/more_stuff.textile +43 -0
- data/doc/packaging.textile +2 -0
- data/doc/settings_profiles.textile +1 -1
- data/etc/KEYS +44 -0
- data/lib/buildr.rb +3 -7
- data/lib/buildr/core/application.rb +41 -8
- data/lib/buildr/core/build.rb +102 -1
- data/lib/buildr/core/cc.rb +14 -8
- data/lib/buildr/core/doc.rb +9 -3
- data/lib/buildr/core/generate.rb +150 -9
- data/lib/buildr/core/run.rb +1 -1
- data/lib/buildr/core/shell.rb +1 -1
- data/lib/buildr/core/test.rb +1 -1
- data/lib/buildr/core/util.rb +5 -5
- data/lib/buildr/ide/eclipse.rb +118 -4
- data/lib/buildr/ide/idea.rb +278 -1
- data/lib/buildr/java/ant.rb +2 -3
- data/lib/buildr/java/bdd.rb +4 -4
- data/lib/buildr/java/commands.rb +1 -1
- data/lib/buildr/java/pom.rb +5 -4
- data/lib/buildr/java/rjb.rb +5 -4
- data/lib/buildr/java/test_result.rb +4 -0
- data/lib/buildr/packaging/artifact.rb +1 -1
- data/lib/buildr/packaging/version_requirement.rb +1 -1
- data/lib/buildr/packaging/zip.rb +1 -1
- data/lib/buildr/packaging/ziptask.rb +2 -2
- data/lib/buildr/run.rb +3 -2
- data/lib/buildr/scala.rb +1 -1
- data/lib/buildr/scala/bdd.rb +9 -2
- data/lib/buildr/scala/compiler.rb +94 -4
- data/lib/buildr/scala/doc.rb +17 -5
- data/lib/buildr/scala/org/apache/buildr/Specs2Runner.class +0 -0
- data/lib/buildr/scala/tests.rb +15 -4
- data/lib/buildr/version.rb +1 -1
- data/rakelib/all-in-one.rake +50 -47
- data/rakelib/checks.rake +4 -4
- data/rakelib/doc.rake +84 -87
- data/rakelib/metrics.rake +9 -9
- data/rakelib/package.rake +14 -35
- data/rakelib/release.rake +11 -12
- data/rakelib/rspec.rake +73 -60
- data/rakelib/stage.rake +32 -54
- data/spec/addon/bnd_spec.rb +61 -7
- data/spec/core/application_spec.rb +1 -1
- data/spec/core/build_spec.rb +117 -0
- data/spec/core/cc_spec.rb +37 -15
- data/spec/core/common_spec.rb +3 -2
- data/spec/core/compile_spec.rb +3 -3
- data/spec/core/doc_spec.rb +1 -1
- data/spec/core/generate_from_eclipse_spec.rb +280 -0
- data/spec/core/run_spec.rb +17 -4
- data/spec/core/test_spec.rb +5 -3
- data/spec/ide/idea_spec.rb +2 -2
- data/spec/java/bdd_spec.rb +2 -2
- data/spec/java/cobertura_spec.rb +4 -0
- data/spec/java/emma_spec.rb +4 -1
- data/spec/java/java_spec.rb +1 -1
- data/spec/java/packaging_spec.rb +2 -1
- data/spec/java/pom_spec.rb +125 -0
- data/spec/packaging/archive_spec.rb +25 -2
- data/spec/packaging/artifact_spec.rb +3 -3
- data/spec/sandbox.rb +7 -2
- data/spec/scala/compiler_spec.rb +41 -0
- data/spec/scala/doc_spec.rb +22 -3
- data/spec/scala/scala.rb +2 -2
- data/spec/scala/tests_spec.rb +2 -2
- data/spec/spec_helpers.rb +6 -1
- data/spec/version_requirement_spec.rb +2 -0
- metadata +651 -480
- data/lib/buildr/ide/eclipse/java.rb +0 -49
- data/lib/buildr/ide/eclipse/plugin.rb +0 -67
- data/lib/buildr/ide/eclipse/scala.rb +0 -64
File without changes
|
data/addon/buildr/nailgun.rb
CHANGED
@@ -49,7 +49,7 @@ module Buildr
|
|
49
49
|
|
50
50
|
# Returns the path to JRUBY_HOME.
|
51
51
|
def jruby_home
|
52
|
-
ENV['JRUBY_HOME'] ||
|
52
|
+
ENV['JRUBY_HOME'] || RbConfig::CONFIG['prefix']
|
53
53
|
end
|
54
54
|
|
55
55
|
# Returns the path to NAILGUN_HOME.
|
@@ -164,7 +164,7 @@ module Buildr
|
|
164
164
|
attr_reader :artifact
|
165
165
|
@artifact = Buildr.artifact(ARTIFACT_SPEC).from(nailgun_jar)
|
166
166
|
|
167
|
-
compiled_bin = file(tmp_path(NAME, NAME, 'ng' +
|
167
|
+
compiled_bin = file(tmp_path(NAME, NAME, 'ng' + RbConfig::CONFIG['EXEEXT']) => dist_dir.target) do |task|
|
168
168
|
unless task.to_s.pathmap('%x') == '.exe'
|
169
169
|
Dir.chdir(task.to_s.pathmap('%d')) do
|
170
170
|
info "Compiling #{task.to_s}"
|
@@ -54,13 +54,15 @@ module Buildr
|
|
54
54
|
def cpd(format, output_file_prefix, source_paths, options = {})
|
55
55
|
dependencies = (options[:dependencies] || []) + self.dependencies
|
56
56
|
cp = Buildr.artifacts(dependencies).each(&:invoke).map(&:to_s)
|
57
|
+
minimum_token_count = options[:minimum_token_count] || 100
|
58
|
+
encoding = options[:encoding] || 'UTF-8'
|
57
59
|
|
58
60
|
puts "PMD-CPD: Analyzing source code..."
|
59
61
|
mkdir_p File.dirname(output_file_prefix)
|
60
62
|
|
61
63
|
Buildr.ant("cpd-report") do |ant|
|
62
64
|
ant.taskdef :name=> 'cpd', :classpath => cp.join(';'), :classname => 'net.sourceforge.pmd.cpd.CPDTask'
|
63
|
-
ant.cpd :format => format, :minimumTokenCount =>
|
65
|
+
ant.cpd :format => format, :minimumTokenCount => minimum_token_count, :encoding => encoding, :outputFile => "#{output_file_prefix}.#{format}" do
|
64
66
|
source_paths.each do |src|
|
65
67
|
ant.fileset :dir=> src, :includes=>'**/*.java'
|
66
68
|
end
|
@@ -0,0 +1,142 @@
|
|
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
|
+
module Buildr
|
17
|
+
module Sonar
|
18
|
+
|
19
|
+
class << self
|
20
|
+
|
21
|
+
# The specs for requirements
|
22
|
+
def dependencies
|
23
|
+
[
|
24
|
+
'org.codehaus.sonar-plugins:sonar-ant-task:jar:1.3'
|
25
|
+
]
|
26
|
+
end
|
27
|
+
|
28
|
+
def sonar(jdbc_url, jdbc_driver_class_name, jdbc_username, jdbc_password, host_url, project_name, key, sources, binaries, libraries)
|
29
|
+
|
30
|
+
# Build the artifacts for FindBugs to analyse
|
31
|
+
Buildr.artifacts(binaries).each(&:invoke)
|
32
|
+
|
33
|
+
cp = Buildr.artifacts(self.dependencies).each(&:invoke).map(&:to_s).join(File::PATH_SEPARATOR)
|
34
|
+
|
35
|
+
args = {
|
36
|
+
:key => key,
|
37
|
+
:version => '1',
|
38
|
+
'xmlns:sonar' => 'antlib:org.sonar.ant'
|
39
|
+
}
|
40
|
+
|
41
|
+
Buildr.ant('sonar') do |ant|
|
42
|
+
ant.taskdef :name => 'sonar', :classname => 'org.sonar.ant.SonarTask', :classpath => cp
|
43
|
+
|
44
|
+
ant.property :name => 'sonar.projectName', :value => project_name
|
45
|
+
|
46
|
+
ant.property :name => 'sonar.jdbc.url', :value => jdbc_url
|
47
|
+
ant.property :name => 'sonar.jdbc.driverClassName', :value => jdbc_driver_class_name
|
48
|
+
ant.property :name => 'sonar.jdbc.username', :value => jdbc_username
|
49
|
+
ant.property :name => 'sonar.jdbc.password', :value => jdbc_password
|
50
|
+
ant.property :name => 'sonar.host.url', :value => host_url
|
51
|
+
|
52
|
+
ant.property :name => 'sonar.checkstyle.generateXml', :value => 'true'
|
53
|
+
|
54
|
+
ant.property :name => 'sonar.sources', :value => sources.join(',')
|
55
|
+
ant.property :name => 'sonar.binaries', :value => binaries.join(',')
|
56
|
+
ant.property :name => 'sonar.libraries', :value => libraries.join(',')
|
57
|
+
|
58
|
+
ant.sonar args
|
59
|
+
|
60
|
+
end
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
class Config
|
65
|
+
|
66
|
+
attr_accessor :enabled
|
67
|
+
attr_accessor :jdbc_url
|
68
|
+
attr_accessor :jdbc_driver_class_name
|
69
|
+
attr_accessor :jdbc_username
|
70
|
+
attr_accessor :jdbc_password
|
71
|
+
attr_accessor :host_url
|
72
|
+
attr_accessor :key
|
73
|
+
attr_accessor :project_name
|
74
|
+
|
75
|
+
attr_writer :sources
|
76
|
+
def sources
|
77
|
+
@sources ||= []
|
78
|
+
end
|
79
|
+
|
80
|
+
attr_writer :binaries
|
81
|
+
def binaries
|
82
|
+
@binaries ||= []
|
83
|
+
end
|
84
|
+
|
85
|
+
attr_writer :libraries
|
86
|
+
def libraries
|
87
|
+
@libraries ||= []
|
88
|
+
end
|
89
|
+
|
90
|
+
def enabled?
|
91
|
+
!!@enabled
|
92
|
+
end
|
93
|
+
|
94
|
+
protected
|
95
|
+
|
96
|
+
def initialize(project)
|
97
|
+
@project = project
|
98
|
+
end
|
99
|
+
|
100
|
+
attr_reader :project
|
101
|
+
|
102
|
+
end
|
103
|
+
|
104
|
+
module ProjectExtension
|
105
|
+
include Extension
|
106
|
+
|
107
|
+
def sonar
|
108
|
+
@sonar ||= Buildr::Sonar::Config.new(project)
|
109
|
+
end
|
110
|
+
|
111
|
+
after_define do |project|
|
112
|
+
if project.sonar.enabled?
|
113
|
+
desc 'Execute Sonar code analysis'
|
114
|
+
project.task('sonar') do
|
115
|
+
puts 'Sonar: Analyzing source code...'
|
116
|
+
|
117
|
+
sources = project.sonar.sources.flatten.compact
|
118
|
+
binaries = project.sonar.binaries.flatten.compact
|
119
|
+
libraries = project.sonar.libraries.flatten.compact
|
120
|
+
|
121
|
+
Buildr::Sonar.sonar(
|
122
|
+
project.sonar.jdbc_url,
|
123
|
+
project.sonar.jdbc_driver_class_name,
|
124
|
+
project.sonar.jdbc_username,
|
125
|
+
project.sonar.jdbc_password,
|
126
|
+
project.sonar.host_url,
|
127
|
+
project.sonar.project_name,
|
128
|
+
project.sonar.key,
|
129
|
+
sources,
|
130
|
+
binaries,
|
131
|
+
libraries
|
132
|
+
)
|
133
|
+
end
|
134
|
+
end
|
135
|
+
end
|
136
|
+
end
|
137
|
+
end
|
138
|
+
end
|
139
|
+
|
140
|
+
class Buildr::Project
|
141
|
+
include Buildr::Sonar::ProjectExtension
|
142
|
+
end
|
data/buildr.buildfile
CHANGED
@@ -18,8 +18,8 @@ require 'buildr/jetty'
|
|
18
18
|
require 'buildr/nailgun'
|
19
19
|
require 'buildr/scala'
|
20
20
|
repositories.remote << 'http://repo1.maven.org/maven2'
|
21
|
-
repositories.remote << 'http://scala-tools.org/repo-releases/'
|
22
21
|
|
22
|
+
repositories.remote << 'https://oss.sonatype.org/content/groups/scala-tools'
|
23
23
|
|
24
24
|
define 'buildr' do
|
25
25
|
compile.using :source=>'1.5', :target=>'1.5', :debug=>false
|
data/buildr.gemspec
CHANGED
@@ -18,6 +18,10 @@ unless defined?(Buildr::VERSION)
|
|
18
18
|
$LOADED_FEATURES << 'buildr/version.rb'
|
19
19
|
end
|
20
20
|
|
21
|
+
# Rakefile needs to create spec for both platforms (ruby and java), using the
|
22
|
+
# $platform global variable. In all other cases, we figure it out from RUBY_PLATFORM.
|
23
|
+
$platform ||= RUBY_PLATFORM[/java/] || 'ruby'
|
24
|
+
|
21
25
|
Gem::Specification.new do |spec|
|
22
26
|
spec.name = 'buildr'
|
23
27
|
spec.version = Buildr::VERSION.dup
|
@@ -34,9 +38,7 @@ for those one-off tasks, with a language that's a joy to use.
|
|
34
38
|
TEXT
|
35
39
|
spec.rubyforge_project = 'buildr'
|
36
40
|
|
37
|
-
|
38
|
-
# $platform global variable. In all other cases, we figure it out from RUBY_PLATFORM.
|
39
|
-
spec.platform = $platform || RUBY_PLATFORM[/java/] || 'ruby'
|
41
|
+
spec.platform = $platform
|
40
42
|
|
41
43
|
spec.files = Dir['{addon,bin,doc,etc,lib,rakelib,spec}/**/*', '*.{gemspec,buildfile}'] +
|
42
44
|
['LICENSE', 'NOTICE', 'CHANGELOG', 'README.rdoc', 'Rakefile', '_buildr', '_jbuildr']
|
@@ -52,37 +54,46 @@ for those one-off tasks, with a language that's a joy to use.
|
|
52
54
|
spec.required_rubygems_version = ">= 1.8.6"
|
53
55
|
|
54
56
|
# Tested against these dependencies.
|
55
|
-
spec.add_dependency 'rake', '0.
|
56
|
-
spec.add_dependency 'builder', '
|
57
|
-
spec.add_dependency 'net-ssh', '2.0
|
58
|
-
spec.add_dependency 'net-sftp', '2.0.
|
59
|
-
spec.add_dependency 'rubyzip', '0.9.
|
57
|
+
spec.add_dependency 'rake', '0.9.2.2'
|
58
|
+
spec.add_dependency 'builder', '3.1.3'
|
59
|
+
spec.add_dependency 'net-ssh', '2.6.0'
|
60
|
+
spec.add_dependency 'net-sftp', '2.0.5'
|
61
|
+
spec.add_dependency 'rubyzip', '0.9.9'
|
62
|
+
# Highline 1.6.15 does not seem to work on windows. We should
|
63
|
+
# investigate the root cause at a later stage before upgrading
|
60
64
|
spec.add_dependency 'highline', '1.6.2'
|
61
|
-
spec.add_dependency 'json_pure', '1.
|
62
|
-
spec.add_dependency 'rubyforge', '2.0.
|
63
|
-
spec.add_dependency 'hoe', '
|
64
|
-
spec.add_dependency 'rjb', '1.
|
65
|
+
spec.add_dependency 'json_pure', '1.7.5'
|
66
|
+
spec.add_dependency 'rubyforge', '2.0.4'
|
67
|
+
spec.add_dependency 'hoe', '3.1.0'
|
68
|
+
spec.add_dependency 'rjb', '1.4.2' if ($platform.to_s == 'x86-mswin32' || $platform.to_s == 'ruby')
|
65
69
|
spec.add_dependency 'atoulme-Antwrap', '~> 0.7.2'
|
66
|
-
spec.add_dependency 'diff-lcs', '1.1.
|
67
|
-
spec.add_dependency 'rspec-expectations', '2.
|
68
|
-
spec.add_dependency 'rspec-mocks', '2.
|
69
|
-
spec.add_dependency 'rspec-core', '2.1
|
70
|
-
spec.add_dependency 'rspec', '2.
|
71
|
-
spec.add_dependency 'xml-simple', '1.
|
70
|
+
spec.add_dependency 'diff-lcs', '1.1.3'
|
71
|
+
spec.add_dependency 'rspec-expectations', '2.11.3'
|
72
|
+
spec.add_dependency 'rspec-mocks', '2.11.3'
|
73
|
+
spec.add_dependency 'rspec-core', '2.11.1'
|
74
|
+
spec.add_dependency 'rspec', '2.11.0'
|
75
|
+
spec.add_dependency 'xml-simple', '1.1.1'
|
72
76
|
spec.add_dependency 'minitar', '0.5.3'
|
73
|
-
spec.add_dependency 'jruby-openssl', '>= 0.7' if
|
77
|
+
spec.add_dependency 'jruby-openssl', '>= 0.7' if $platform.to_s == 'java'
|
74
78
|
|
75
|
-
#
|
76
|
-
unless
|
77
|
-
spec.add_development_dependency 'jekyll', '0.11.
|
78
|
-
spec.add_development_dependency 'RedCloth', '4.2.
|
79
|
+
# Unable to get this consistently working under jruby on windows
|
80
|
+
unless $platform.to_s == 'java'
|
81
|
+
spec.add_development_dependency 'jekyll', '0.11.2'
|
82
|
+
spec.add_development_dependency 'RedCloth', '4.2.9'
|
79
83
|
spec.add_development_dependency 'jekylltask', '1.1.0'
|
80
|
-
spec.add_development_dependency 'rdoc', '3.
|
84
|
+
spec.add_development_dependency 'rdoc', '3.12'
|
81
85
|
spec.add_development_dependency 'rcov', '0.9.9'
|
82
86
|
end
|
83
87
|
|
84
|
-
spec.add_development_dependency 'ci_reporter', '1.
|
88
|
+
spec.add_development_dependency 'ci_reporter', '1.7.2'
|
85
89
|
|
90
|
+
# NOTE: Must update all-in-one.rake if this is updated
|
91
|
+
spec.add_development_dependency 'ffi-ncurses', '0.4.0' if $platform.to_s == 'java'
|
86
92
|
spec.add_development_dependency 'bundler'
|
87
|
-
spec.add_development_dependency 'win32console' if
|
93
|
+
spec.add_development_dependency 'win32console' if $platform.to_s == 'x86-mswin32'
|
94
|
+
# Ideally we would depend on psych when the platform has >= 1.9.2 support and jruby platform version > 1.6.6
|
95
|
+
#spec.add_development_dependency 'psych' if RUBY_VERSION >= '1.9.2'
|
96
|
+
spec.add_development_dependency 'pygmentize', '0.0.3'
|
97
|
+
spec.add_development_dependency 'saikuro_treemap', '0.2.0'
|
98
|
+
spec.add_development_dependency 'atoulme-Saikuro', '1.2.1'
|
88
99
|
end
|
data/doc/_layouts/default.html
CHANGED
@@ -60,8 +60,6 @@
|
|
60
60
|
<li><a href='http://issues.apache.org/jira/browse/Buildr'>Issues/Bugs</a></li>
|
61
61
|
<li><a href='https://builds.apache.org/view/A-F/view/Buildr'>CI Jobs</a></li>
|
62
62
|
<li><a href='contributing.html'>Contributing</a></li>
|
63
|
-
<li><a href='specs.html'>Specs</a></li>
|
64
|
-
<li><a href='coverage/index.html'>Coverage</a></li>
|
65
63
|
</ol>
|
66
64
|
</li>
|
67
65
|
<li>
|
data/doc/contributing.textile
CHANGED
@@ -242,6 +242,53 @@ The care and feeding of the "CI Jobs":https://builds.apache.org/view/A-F/view/Bu
|
|
242
242
|
|
243
243
|
You may also need to coordinate with the Apache infrastructure team to get accounts on the actual slave hosts that run the CI jobs. This access may be required to install tools and gems required to run the CI jobs. The main slave host to get access to is vesta.apache.org at the time of writing. You can also log on to the slave host, impersonate hudson and manually run tasks when you are attempting to track down build problems. Of course to impersonate hudson you will need to learn how to use "OPIE.":http://apache.org/dev/freebsd-jails
|
244
244
|
|
245
|
+
h3(#cilinux). Linux Setup
|
246
|
+
|
247
|
+
The tests on the Linux hosts rely on "RVM":https://rvm.io/ to setup the ruby environment. At the time of writing the Linux/x86 nodes that Apache uses for CI are based of the old "Ubuntu 10.04.4 LTS (Lucid Lynx)" operating system. As it is a relatively old operating system, it requires a little bit of manual intervention to install RVM on the node. We have installed the required tools on vesta.apache.org manually. The script looks something like;
|
248
|
+
|
249
|
+
{% highlight sh %}
|
250
|
+
ssh my_username@vesta.apache.org
|
251
|
+
sudo su - hudson
|
252
|
+
|
253
|
+
curl -L https://get.rvm.io | bash -s stable
|
254
|
+
rvm reload
|
255
|
+
rvm pkg install readline
|
256
|
+
rvm pkg install iconv
|
257
|
+
rvm pkg install curl
|
258
|
+
rvm pkg install openssl
|
259
|
+
rvm pkg install zlib
|
260
|
+
rvm pkg install autoconf
|
261
|
+
rvm pkg install ncurses
|
262
|
+
rvm pkg install pkgconfig
|
263
|
+
rvm pkg install gettext
|
264
|
+
rvm pkg install glib
|
265
|
+
rvm pkg install mono
|
266
|
+
rvm pkg install llvm
|
267
|
+
rvm pkg install libxml2
|
268
|
+
rvm pkg install libxslt
|
269
|
+
rvm pkg install libyaml
|
270
|
+
rvm install ruby-1.8.7-p358
|
271
|
+
rvm install ruby-1.9.2-p320
|
272
|
+
rvm install jruby-1.6.7
|
273
|
+
rvm install ruby-1.9.3-p194
|
274
|
+
{% endhighlight %}
|
275
|
+
|
276
|
+
It should also be noted that jruby-1.6.7 release has a native library that is compiled using a more modern version of libc than is available on this variant of the operating system. We could download the source release and recompile the library but instead we have just avoided the need for any use of the ruby native interface library in our CI infrastructure.
|
277
|
+
|
278
|
+
h3(#ciwindows). Windows Setup
|
279
|
+
|
280
|
+
The ci infrastructure on the windows host (hudson-win.apache.org) is a little fragile. First you need to RDP in and download the support libraries. We have manually installed the tools in the following locations. Note: it is important to make the locations read-write access to the hudson user.
|
281
|
+
|
282
|
+
{% highlight sh %}
|
283
|
+
F:\hudson\tools\Ruby193-p194
|
284
|
+
F:\hudson\tools\Ruby192-p290
|
285
|
+
F:\hudson\tools\Ruby187-p370
|
286
|
+
F:\hudson\tools\jruby-1.6.7
|
287
|
+
F:\hudson\tools\scala-2.9.0.1
|
288
|
+
{% endhighlight %}
|
289
|
+
|
290
|
+
WARNING: Several attempts were made to use GEM_HOME to install the dependent gems for each test in a separate location but we were unable to figure out the mechanisms via which sub-shells would inherit the paths and the ability to run tools such as rspec.
|
291
|
+
|
245
292
|
h2(#contributors). Contributors
|
246
293
|
|
247
294
|
Here is the list of people who are actively working and committing on Buildr:
|
data/doc/download.textile
CHANGED
@@ -20,6 +20,30 @@ The source code is included in both source and binary distribution, the Gem dist
|
|
20
20
|
|
21
21
|
h2(#dist). Binaries and Source Code
|
22
22
|
|
23
|
+
h3. buildr 1.4.8 (2012-11-01)
|
24
|
+
|
25
|
+
|_. Package |_. MD5 Checksum |_. PGP |
|
26
|
+
| "buildr-1.4.8-java.gem":http://www.apache.org/dyn/closer.cgi/buildr/1.4.8/buildr-1.4.8-java.gem | "68679f89f7e0f90bb4446965d1184e0a":http://www.apache.org/dist/buildr/1.4.8/buildr-1.4.8-java.gem.md5 | "Sig":http://www.apache.org/dist/buildr/1.4.8/buildr-1.4.8-java.gem.asc |
|
27
|
+
| "buildr-1.4.8-x86-mswin32.gem":http://www.apache.org/dyn/closer.cgi/buildr/1.4.8/buildr-1.4.8-x86-mswin32.gem | "40abdb4c2ff2bb7232822198e6882ee0":http://www.apache.org/dist/buildr/1.4.8/buildr-1.4.8-x86-mswin32.gem.md5 | "Sig":http://www.apache.org/dist/buildr/1.4.8/buildr-1.4.8-x86-mswin32.gem.asc |
|
28
|
+
| "buildr-1.4.8.gem":http://www.apache.org/dyn/closer.cgi/buildr/1.4.8/buildr-1.4.8.gem | "0e92c281a59d3fc475f1a0184200a70f":http://www.apache.org/dist/buildr/1.4.8/buildr-1.4.8.gem.md5 | "Sig":http://www.apache.org/dist/buildr/1.4.8/buildr-1.4.8.gem.asc |
|
29
|
+
| "buildr-1.4.8.tgz":http://www.apache.org/dyn/closer.cgi/buildr/1.4.8/buildr-1.4.8.tgz | "f19029a7dba62917978b42652328bf6c":http://www.apache.org/dist/buildr/1.4.8/buildr-1.4.8.tgz.md5 | "Sig":http://www.apache.org/dist/buildr/1.4.8/buildr-1.4.8.tgz.asc |
|
30
|
+
| "buildr-1.4.8.zip":http://www.apache.org/dyn/closer.cgi/buildr/1.4.8/buildr-1.4.8.zip | "8a484f5ec930eba0b93fe9079fd41079":http://www.apache.org/dist/buildr/1.4.8/buildr-1.4.8.zip.md5 | "Sig":http://www.apache.org/dist/buildr/1.4.8/buildr-1.4.8.zip.asc |
|
31
|
+
|
32
|
+
p>. ("Release signing keys":http://www.apache.org/dist/buildr/1.4.8/KEYS)
|
33
|
+
|
34
|
+
|
35
|
+
h3. buildr 1.4.7 (2012-05-29)
|
36
|
+
|
37
|
+
|_. Package |_. MD5 Checksum |_. PGP |
|
38
|
+
| "buildr-1.4.7-x86-mswin32.gem":http://www.apache.org/dyn/closer.cgi/buildr/1.4.7/buildr-1.4.7-x86-mswin32.gem | "062031b8890b489673be814ca08598cb":http://www.apache.org/dist/buildr/1.4.7/buildr-1.4.7-x86-mswin32.gem.md5 | "Sig":http://www.apache.org/dist/buildr/1.4.7/buildr-1.4.7-x86-mswin32.gem.asc |
|
39
|
+
| "buildr-1.4.7-java.gem":http://www.apache.org/dyn/closer.cgi/buildr/1.4.7/buildr-1.4.7-java.gem | "a7cfac76a53fb6deaac0b12acc02a82c":http://www.apache.org/dist/buildr/1.4.7/buildr-1.4.7-java.gem.md5 | "Sig":http://www.apache.org/dist/buildr/1.4.7/buildr-1.4.7-java.gem.asc |
|
40
|
+
| "buildr-1.4.7.gem":http://www.apache.org/dyn/closer.cgi/buildr/1.4.7/buildr-1.4.7.gem | "85a8ddb9ae752e04c0416e2f1d30d064":http://www.apache.org/dist/buildr/1.4.7/buildr-1.4.7.gem.md5 | "Sig":http://www.apache.org/dist/buildr/1.4.7/buildr-1.4.7.gem.asc |
|
41
|
+
| "buildr-1.4.7.tgz":http://www.apache.org/dyn/closer.cgi/buildr/1.4.7/buildr-1.4.7.tgz | "576789cb7d10216cc3b7383441fd2596":http://www.apache.org/dist/buildr/1.4.7/buildr-1.4.7.tgz.md5 | "Sig":http://www.apache.org/dist/buildr/1.4.7/buildr-1.4.7.tgz.asc |
|
42
|
+
| "buildr-1.4.7.zip":http://www.apache.org/dyn/closer.cgi/buildr/1.4.7/buildr-1.4.7.zip | "e414f72706885a695a380693e9c530c7":http://www.apache.org/dist/buildr/1.4.7/buildr-1.4.7.zip.md5 | "Sig":http://www.apache.org/dist/buildr/1.4.7/buildr-1.4.7.zip.asc |
|
43
|
+
|
44
|
+
p>. ("Release signing keys":http://www.apache.org/dist/buildr/1.4.7/KEYS)
|
45
|
+
|
46
|
+
|
23
47
|
h3. buildr 1.4.6 (2011-06-22)
|
24
48
|
|
25
49
|
|_. Package |_. MD5 Checksum |_. PGP |
|
data/doc/index.textile
CHANGED
@@ -46,29 +46,49 @@ So let's get started. You can "read the documentation online":quick_start.html,
|
|
46
46
|
|
47
47
|
h2(#news). What's New
|
48
48
|
|
49
|
-
|
50
|
-
|
51
|
-
*
|
52
|
-
* Added:
|
53
|
-
* Fixed: BUILDR-
|
54
|
-
*
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
*
|
68
|
-
* Fixed: BUILDR-
|
69
|
-
* Fixed: BUILDR-
|
70
|
-
|
71
|
-
|
49
|
+
Highlights from Buildr 1.4.8 (Nov 11th, 2012)
|
50
|
+
|
51
|
+
* Change: Revert to importing non-verbose FileUtils utility methods to match buildr 1.4.6 release and earlier.
|
52
|
+
* Added: Experimental support for jacoco code coverage tool.
|
53
|
+
* Fixed: BUILDR-655 - Support JDK1.7 under OSX
|
54
|
+
* Change: Updated dependency versions;
|
55
|
+
- builder (3.1.3)
|
56
|
+
- rubyforge (2.0.4)
|
57
|
+
- net-ssh (2.6.0)
|
58
|
+
- hoe (3.1.0)
|
59
|
+
- rjb (1.4.2)
|
60
|
+
- rdoc (3.12)
|
61
|
+
- xml-simple (1.1.1)
|
62
|
+
- rspec-expectations (2.11.3)
|
63
|
+
- rspec-mocks (2.11.3)
|
64
|
+
- rspec-core (2.11.1)
|
65
|
+
- rspec (2.11.0)
|
66
|
+
- rubyzip (0.9.9)
|
67
|
+
* Added: BUILDR-652 Generate buildfile from Eclipse workspace. (Niklaus Giger)
|
68
|
+
* Fixed: BUILDR-627 Support explicitly listed source files in buildr cc task. (Christopher Tiwald)
|
69
|
+
* Fixed: BUILDR-606 Transitive artifact resolution should not include artifacts in 'provided' scope in poms to
|
70
|
+
match maven behaviour. (Julio Arias)
|
71
|
+
* Change: BUILDR-640 Enable building jekyll and rdoc under more rubies. (Niklaus Giger)
|
72
|
+
* Change: Mark Buildr:Bnd.remote_repository as deprecated as dependencies appear in maven central.
|
73
|
+
* Added: BUILDR-654 Add the ability to configure the version of BND used by bnd addon. (Niklaus Giger)
|
74
|
+
* Added: Create the git_auto_version addon that automatically specifies a version for a git project based
|
75
|
+
on git describe.
|
76
|
+
* Added: Integrate with Zinc (incremental compilation wrapper for scalac 2.9+)
|
77
|
+
* Change: Default to Scala 2.9.2, ScalaTest 1.8, Scala Specs2 1.11,
|
78
|
+
ScalaCheck 1.10.0.
|
79
|
+
* Change: Scala artifact repository changed to
|
80
|
+
http://oss.sonatype.org/content/repositories/releases
|
81
|
+
* Added: BUILDR-645 Support Mercurial as a version control system (Tan Quach)
|
82
|
+
* Fixed: BUILDR-646 TGZ files do not keep their permissions when extracted
|
83
|
+
via Buildr::Unzip#extract
|
84
|
+
* Added: Add add_exploded_ear_artifact and add_exploded_ejb_artifact to the idea project extension.
|
85
|
+
* Change: Default to using Checkstyle 5.5 in the checkstyle addon.
|
86
|
+
* Fixed: Fix the add_exploded_war_artifact method on the idea project by adding in missing method
|
87
|
+
`partition_dependencies`.
|
88
|
+
* Fixed: Fix the extension of the gwt plugin so that it can be required as an addon.
|
89
|
+
* Fixed: Fix the undefined default_web_xml variable in the add_web_facet method on the idea project.
|
90
|
+
|
91
|
+
This is a partial list -- see the "CHANGELOG":CHANGELOG for full details.
|
72
92
|
|
73
93
|
h2(#notices). Credits & Notices
|
74
94
|
|