public
Rubygem
Description: Apache Buildr
Homepage: http://incubator.apache.org/buildr
Clone URL: git://github.com/vic/buildr.git
Search Repo:
Added Apache license

git-svn-id: https://svn.apache.org/repos/asf/incubator/buildr/trunk@630084 
13f79535-47bb-0310-9956-ffa450edef68
Assaf (author)
Thu Feb 21 19:44:38 -0800 2008
commit  d8c7a79df118f2ccf9379bc94bbd8bf73c659cfa
tree    b82008c3b6e64989c3585cc55c9e8d20be821ba1
parent  af0bed3eeef79c861b5ebf2c54a388063d64241f
0
...
14
15
16
 
17
18
19
...
63
64
65
 
 
 
 
 
66
67
68
...
70
71
72
 
 
 
 
...
14
15
16
17
18
19
20
...
64
65
66
67
68
69
70
71
72
73
74
...
76
77
78
79
80
81
82
0
@@ -14,6 +14,7 @@
0
 This product includes software developed by Intalio
0
 http://www.intalio.com
0
 
0
+
0
 THIRD-PARTY DEPENDENCIES
0
 ------------------------
0
 Even though those dependencies aren't shipped with Buildr, Buildr needs
0
@@ -63,6 +64,11 @@
0
 Licensed under the Ruby License
0
 Copyright 2004 Mauricio Julio Fernández Pradier and Austin Ziegler
0
 
0
+MATERIALS IN DOCUMENTATION
0
+--------------------------
0
+The following materials are incorporated into the documentation
0
+of this software.
0
+
0
 * DejaVu - http://dejavu.sourceforge.net
0
 Copyright (c) 2003 by Bitstream, Inc. All Rights Reserved.
0
 Bitstream Vera is a trademark of Bitstream, Inc.
0
@@ -70,4 +76,8 @@
0
 * ColorCons - http://www.mouserunner.com/
0
 Licensed under Creative Commons Attribution-ShareAlike 2.5
0
 Copyright (c) 2006 Ken Saunders
0
+
0
+* Ultraviolet stylesheets - http://ultraviolet.rubyforge.org
0
+Licensed under MIT
0
+Copyright (c) 2007 FIX
...
48
49
50
 
 
51
52
53
54
55
56
57
58
59
 
60
61
62
63
64
...
93
94
95
96
 
97
98
99
100
101
102
103
104
105
106
107
108
109
110
 
111
112
113
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
114
115
116
117
...
150
151
152
153
154
155
 
 
 
156
157
158
159
160
 
161
162
163
...
284
285
286
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
...
48
49
50
51
52
53
 
 
 
 
 
 
 
 
54
55
56
57
58
59
...
88
89
90
 
91
92
93
94
95
96
 
 
 
 
 
 
 
 
 
97
98
 
 
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
...
151
152
153
 
 
 
154
155
156
157
158
159
160
 
161
162
163
164
...
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
0
@@ -48,15 +48,10 @@
0
 # Packaging and local installation.
0
 #
0
 ruby_spec = specify(Gem::Platform::RUBY)
0
+ruby_package = Rake::GemPackageTask.new(ruby_spec) { |pkg| pkg.need_tar = pkg.need_zip = true }
0
+
0
 jruby_spec = specify('java')
0
-ruby_package = Rake::GemPackageTask.new(ruby_spec) do |pkg|
0
- pkg.need_tar = true
0
- pkg.need_zip = true
0
-end
0
-jruby_package = Rake::GemPackageTask.new(jruby_spec) do |pkg|
0
- pkg.need_tar = false
0
- pkg.need_zip = false
0
-end
0
+jruby_package = Rake::GemPackageTask.new(jruby_spec) { |pkg| pkg.need_tar = pkg.need_zip = false }
0
 
0
 desc 'Install the package locally'
0
 task :install=>:package do |task|
0
0
0
@@ -93,24 +88,30 @@
0
   task.spec_opts << '--options' << 'spec/spec.opts' << '--format' << 'failing_examples:failing'
0
 end
0
 
0
-desc 'Run all failing examples'
0
+desc 'Run all failing examples from previous run'
0
 Spec::Rake::SpecTask.new('failing') do |task|
0
   task.spec_files = FileList['spec/**/*_spec.rb']
0
   task.spec_opts << '--options' << 'spec/spec.opts' << '--format' << 'failing_examples:failing' << '--example' << 'failing'
0
 end
0
 
0
-desc 'Run all specs and generate reports in html directory'
0
-Spec::Rake::SpecTask.new('spec:report') do |task|
0
- mkpath 'html'
0
- task.spec_files = FileList['spec/**/*_spec.rb']
0
- task.spec_opts << '--format' << 'html:html/report.html' << '--backtrace'
0
- task.rcov = true
0
- task.rcov_dir = 'html/coverage'
0
- task.rcov_opts = ['--exclude', 'spec,bin']
0
-end
0
+namespace 'spec' do
0
 
0
-task 'spec:jruby' do
0
- system 'jruby -S rake spec'
0
+ desc 'Run all specs and generate test/coverage reports in html directory'
0
+ Spec::Rake::SpecTask.new('report') do |task|
0
+ mkpath 'html'
0
+ task.spec_files = FileList['spec/**/*_spec.rb']
0
+ task.spec_opts << '--format' << 'html:html/report.html' << '--backtrace'
0
+ task.rcov = true
0
+ task.rcov_dir = 'html/coverage'
0
+ task.rcov_opts = ['--exclude', 'spec,bin']
0
+ end
0
+
0
+ desc 'Run all specs specifically with Ruby'
0
+ task('ruby') { system 'ruby -S rake spec' }
0
+
0
+ desc 'Run all specs specifically with JRuby'
0
+ task('jruby') { system 'jruby -S rake spec' }
0
+
0
 end
0
 
0
 
0
0
@@ -150,14 +151,14 @@
0
     :template => Docter.template('doc/print.haml').include('doc/css', 'doc/images')
0
   }
0
 
0
- Docter.filter_for(:footnote) do |html|
0
- html.gsub(/<p id="fn(\d+)">(.*?)<\/p>/, %{<p id="fn\\1" class="footnote">\\2</p>})
0
- end
0
+ #Docter.filter_for(:footnote) do |html|
0
+ # html.gsub(/<p id="fn(\d+)">(.*?)<\/p>/, %{<p id="fn\\1" class="footnote">\\2</p>})
0
+ #end
0
 
0
   desc 'Generate HTML documentation'
0
   html = Docter::Rake.generate('html', web_docs[:collection], web_docs[:template])
0
   desc 'Run Docter server'
0
- Docter::Rake.serve :docter, web_docs[:collection], web_docs[:template], :port=>3000
0
+ Docter::Rake.serve 'docter', web_docs[:collection], web_docs[:template], :port=>3000
0
   task('docs').enhance [html]
0
   task('clobber') { rm_rf html.to_s }
0
 
0
@@ -284,4 +285,40 @@
0
 # Apache release:
0
 # - Create MD5/SHA1/PGP signatures
0
 # - Upload to people.apache.org:/www/www.apache.org/dist/incubator/buildr
0
+#
0
+namespace 'release' do
0
+
0
+ task 'prepare'=>'clobber'
0
+
0
+ # Check that all source files have licenses.
0
+ task 'prepare' do
0
+ puts 'Checking that files contain the Apache license'
0
+ directories = 'lib', 'spec', 'docs', 'bin'
0
+ ignore = 'class', 'opts'
0
+ FileList['lib/**/*', 'spec/**/*', 'bin/**', 'doc/css/*', 'doc/scripts/*'].
0
+ exclude('doc/css/eiffel.css').reject { |file| File.directory?(file) || ignore.include?(file[/[^.]*$/]) }.each do |file|
0
+ comments = File.read(file).scan(/(\/\*(.*?)\*\/)|^#\s+(.*?)$|<!--(.*?)-->/m).
0
+ map { |match| match.reject(&:nil?) }.flatten.join("\n")
0
+ fail "File #{file} missing Apache License, please add it before making a release!" unless
0
+ comments =~ /Licensed to the Apache Software Foundation/ && comments =~ /http:\/\/www.apache.org\/licenses\/LICENSE-2.0/
0
+ end
0
+ end
0
+
0
+ # Compile Java libraries.
0
+ task 'prepare'=>'compile' do
0
+ FileList['lib/**/*.java'].each { |src| fail "Can't find .class file for #{src}!" unless File.exist?(src.ext('class')) }
0
+ end
0
+
0
+ # Make sure we have RDoc template, Docter and PDF genereation.
0
+ task 'prepare'=>[rdoc.template, pdf] do
0
+ fail 'Release requires the Allison RDoc template, please gem install allison!' unless rdoc.template =~ /allison.rb/
0
+ fail 'No PDF generated, you need to install PrinceXML!' unless File.exist?('html/buildr.pdf')
0
+ end
0
+
0
+ # Run specs on Ruby and JRuby, make sure we generate test/coverage reports.
0
+ task 'prepare'=>['spec:jruby', 'spec:report'] do
0
+ fail 'No test reports in html directory!' unless File.exist?('html/report.html')
0
+ fail 'No coverage reports in html directory!' unless File.exist?('html/coverage/index.html')
0
+ end
0
+end
...
1
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
4
5
...
1
 
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
0
@@ -1,5 +1,18 @@
0
 #!/usr/bin/env ruby
0
-
0
+# Licensed to the Apache Software Foundation (ASF) under one or more
0
+# contributor license agreements. See the NOTICE file distributed with this
0
+# work for additional information regarding copyright ownership. The ASF
0
+# licenses this file to you under the Apache License, Version 2.0 (the
0
+# "License"); you may not use this file except in compliance with the License.
0
+# You may obtain a copy of the License at
0
+#
0
+# http://www.apache.org/licenses/LICENSE-2.0
0
+#
0
+# Unless required by applicable law or agreed to in writing, software
0
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
0
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
0
+# License for the specific language governing permissions and limitations under
0
+# the License.
0
 require 'rubygems'
0
 begin
0
   require 'buildr'
...
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
0
@@ -1,3 +1,20 @@
0
+/* Licensed to the Apache Software Foundation (ASF) under one or more
0
+ * contributor license agreements. See the NOTICE file distributed with this
0
+ * work for additional information regarding copyright ownership. The ASF
0
+ * licenses this file to you under the Apache License, Version 2.0 (the
0
+ * "License"); you may not use this file except in compliance with the License.
0
+ * You may obtain a copy of the License at
0
+ *
0
+ * http://www.apache.org/licenses/LICENSE-2.0
0
+ *
0
+ * Unless required by applicable law or agreed to in writing, software
0
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
0
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
0
+ * License for the specific language governing permissions and limitations
0
+ * under the License.
0
+ */
0
+
0
+
0
 body {
0
   background-color: #fff;
0
   color: #000;
...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
...
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
0
@@ -1,102 +1,34 @@
0
-pre.eiffel .EmbeddedSource {
0
-}
0
-pre.eiffel .LibraryObject {
0
- color: #6D79DE;
0
-}
0
-pre.eiffel .Section {
0
-}
0
-pre.eiffel .FunctionArgumentAndResultTypes {
0
- color: #70727E;
0
-}
0
-pre.eiffel .TypeName {
0
-}
0
-pre.eiffel .Number {
0
- color: #CD0000;
0
-}
0
-pre.eiffel .MarkupList {
0
- color: #B90690;
0
-}
0
-pre.eiffel .MarkupTagAttribute {
0
-}
0
-pre.eiffel .LibraryVariable {
0
- color: #21439C;
0
-}
0
-pre.eiffel .line-numbers {
0
- background-color: #C3DCFF;
0
- color: #000000;
0
-}
0
-pre.eiffel .FunctionParameter {
0
-}
0
-pre.eiffel .MarkupTag {
0
-}
0
-pre.eiffel {
0
- background-color: #FFFFFF;
0
- color: #000000;
0
-}
0
-pre.eiffel .MarkupHeading {
0
- -font-weight: bold;
0
- color: #0C07FF;
0
-}
0
-pre.eiffel .JsOperator {
0
- color: #687687;
0
-}
0
-pre.eiffel .InheritedClassName {
0
-}
0
-pre.eiffel .StringInterpolation {
0
- color: #26B31A;
0
-}
0
-pre.eiffel .MarkupQuote {
0
- color: #000000;
0
-}
0
-pre.eiffel .MarkupNameOfTag {
0
- color: #1C02FF;
0
-}
0
-pre.eiffel .InvalidTrailingWhitespace {
0
- background-color: #FFD0D0;
0
-}
0
-pre.eiffel .LibraryConstant {
0
- color: #06960E;
0
-}
0
-pre.eiffel .MarkupXmlDeclaration {
0
- color: #68685B;
0
-}
0
-pre.eiffel .PreprocessorDirective {
0
- color: #0C450D;
0
-}
0
-pre.eiffel .BuiltInConstant {
0
- color: #585CF6;
0
-}
0
-pre.eiffel .MarkupDtd {
0
-}
0
-pre.eiffel .Invalid {
0
- background-color: #990000;
0
- color: #FFFFFF;
0
-}
0
-pre.eiffel .LibraryFunction {
0
- color: #3C4C72;
0
-}
0
-pre.eiffel .String {
0
- color: #D80800;
0
-}
0
-pre.eiffel .UserDefinedConstant {
0
- color: #C5060B;
0
-}
0
-pre.eiffel .Keyword {
0
- color: #0100B6;
0
-}
0
-pre.eiffel .MarkupDoctype {
0
- color: #888888;
0
-}
0
-pre.eiffel .FunctionName {
0
- color: #0000A2;
0
-}
0
-pre.eiffel .PreprocessorLine {
0
- color: #1A921C;
0
-}
0
-pre.eiffel .Variable {
0
- color: #0206FF;
0
-}
0
-pre.eiffel .Comment {
0
- color: #00B418;
0
-}
0
+/* Derived from Ultraviolet.
0
+ * Copyright (c) 2007 FIX
0
+ *
0
+ * Permission is hereby granted, free of charge, to any person obtaining
0
+ * a copy of this software and associated documentation files (the
0
+ * 'Software'), to deal in the Software without restriction, including
0
+ * without limitation the rights to use, copy, modify, merge, publish,
0
+ * distribute, sublicense, and/or sell copies of the Software, and to
0
+ * permit persons to whom the Software is furnished to do so, subject to
0
+ * the following conditions:
0
+ *
0
+ * The above copyright notice and this permission notice shall be
0
+ * included in all copies or substantial portions of the Software.
0
+ *
0
+ * THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
0
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
0
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
0
+ * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
0
+ * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
0
+ * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
0
+ * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
0
+ */
0
+pre .Comment { color: #00B418; }
0
+pre .Number { color: #CD0000; }
0
+pre .String { color: #D80800; }
0
+pre .Variable { color: #0206FF; }
0
+pre .FunctionName { color: #0000A2; }
0
+pre .Keyword { color: #0100B6; }
0
+pre .UserDefinedConstant { color: #C5060B; }
0
+pre .LibraryObject { color: #6D79DE; }
0
+pre .StringInterpolation { color: #26B31A; }
0
+pre .MarkupNameOfTag { color: #1C02FF; }
0
+pre .BuiltInConstant { color: #585CF6; }
...
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
0
@@ -1,3 +1,20 @@
0
+/* Licensed to the Apache Software Foundation (ASF) under one or more
0
+ * contributor license agreements. See the NOTICE file distributed with this
0
+ * work for additional information regarding copyright ownership. The ASF
0
+ * licenses this file to you under the Apache License, Version 2.0 (the
0
+ * "License"); you may not use this file except in compliance with the License.
0
+ * You may obtain a copy of the License at
0
+ *
0
+ * http://www.apache.org/licenses/LICENSE-2.0
0
+ *
0
+ * Unless required by applicable law or agreed to in writing, software
0
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
0
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
0
+ * License for the specific language governing permissions and limitations
0
+ * under the License.
0
+ */
0
+
0
+
0
 @page { margin: 1in 0.75in 1in 0.75in; }
0
 @page:left {
0
   @top-left { content: counter(page); }
...
1
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
4
5
...
1
 
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
0
@@ -1,5 +1,18 @@
0
 #!/bin/sh
0
-
0
+# Licensed to the Apache Software Foundation (ASF) under one or more
0
+# contributor license agreements. See the NOTICE file distributed with this
0
+# work for additional information regarding copyright ownership. The ASF
0
+# licenses this file to you under the Apache License, Version 2.0 (the
0
+# "License"); you may not use this file except in compliance with the License.
0
+# You may obtain a copy of the License at
0
+#
0
+# http://www.apache.org/licenses/LICENSE-2.0
0
+#
0
+# Unless required by applicable law or agreed to in writing, software
0
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
0
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
0
+# License for the specific language governing permissions and limitations under
0
+# the License.
0
 if [ -z `which jruby` ] ; then
0
   version=1.1RC2
0
   target=/opt/jruby
...
1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
3
4
...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
0
@@ -1,4 +1,18 @@
0
 #!/bin/sh
0
+# Licensed to the Apache Software Foundation (ASF) under one or more
0
+# contributor license agreements. See the NOTICE file distributed with this
0
+# work for additional information regarding copyright ownership. The ASF
0
+# licenses this file to you under the Apache License, Version 2.0 (the
0
+# "License"); you may not use this file except in compliance with the License.
0
+# You may obtain a copy of the License at
0
+#
0
+# http://www.apache.org/licenses/LICENSE-2.0
0
+#
0
+# Unless required by applicable law or agreed to in writing, software
0
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
0
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
0
+# License for the specific language governing permissions and limitations under
0
+# the License.
0
 if [ -z `which ruby` ] ; then
0
   echo "You do not have Ruby 1.8.6 ..."
0
   # yum comes first since some people have apt-get installed in addition to yum.
...
1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
3
4
...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
0
@@ -1,4 +1,18 @@
0
 #!/bin/sh
0
+# Licensed to the Apache Software Foundation (ASF) under one or more
0
+# contributor license agreements. See the NOTICE file distributed with this
0
+# work for additional information regarding copyright ownership. The ASF
0
+# licenses this file to you under the Apache License, Version 2.0 (the
0
+# "License"); you may not use this file except in compliance with the License.
0
+# You may obtain a copy of the License at
0
+#
0
+# http://www.apache.org/licenses/LICENSE-2.0
0
+#
0
+# Unless required by applicable law or agreed to in writing, software
0
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
0
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
0
+# License for the specific language governing permissions and limitations under
0
+# the License.
0
 version=$(ruby --version)
0
 if [ ${version:5:5} \< '1.8.6' ] ; then
0
   echo "You do not have Ruby 1.8.6 or later, attempting to install a newer version."
...
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
0
@@ -1,3 +1,19 @@
0
+# Licensed to the Apache Software Foundation (ASF) under one or more
0
+# contributor license agreements. See the NOTICE file distributed with this
0
+# work for additional information regarding copyright ownership. The ASF
0
+# licenses this file to you under the Apache License, Version 2.0 (the
0
+# "License"); you may not use this file except in compliance with the License.
0
+# You may obtain a copy of the License at
0
+#
0
+# http://www.apache.org/licenses/LICENSE-2.0
0
+#
0
+# Unless required by applicable law or agreed to in writing, software
0
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
0
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
0
+# License for the specific language governing permissions and limitations under
0
+# the License.
0
+
0
+
0
 # in order to work around a bug in jruby (1.0.1 and trunk as of oct11, 2007)
0
 # needle and net/ssh need to be loaded before -anything- else. please see
0
 # http://jira.codehaus.org/browse/JRUBY-1188 for more info.
...
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
0
@@ -1,3 +1,19 @@
0
+# Licensed to the Apache Software Foundation (ASF) under one or more
0
+# contributor license agreements. See the NOTICE file distributed with this
0
+# work for additional information regarding copyright ownership. The ASF
0
+# licenses this file to you under the Apache License, Version 2.0 (the
0
+# "License"); you may not use this file except in compliance with the License.
0
+# You may obtain a copy of the License at
0
+#
0
+# http://www.apache.org/licenses/LICENSE-2.0
0
+#
0
+# Unless required by applicable law or agreed to in writing, software
0
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
0
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
0
+# License for the specific language governing permissions and limitations under
0
+# the License.
0
+
0
+
0
 require "java/java"
0
 
0
 module Buildr
...
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
0
@@ -1,3 +1,19 @@
0
+# Licensed to the Apache Software Foundation (ASF) under one or more
0
+# contributor license agreements. See the NOTICE file distributed with this
0
+# work for additional information regarding copyright ownership. The ASF
0
+# licenses this file to you under the Apache License, Version 2.0 (the
0
+# "License"); you may not use this file except in compliance with the License.
0
+# You may obtain a copy of the License at
0
+#
0
+# http://www.apache.org/licenses/LICENSE-2.0
0
+#
0
+# Unless required by applicable law or agreed to in writing, software
0
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
0
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
0
+# License for the specific language governing permissions and limitations under
0
+# the License.
0
+
0
+
0
 module Buildr
0
 
0
   # Addes the <code>cobertura:html</code> and <code>cobertura:xml</code> tasks.
...
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
0
@@ -1,3 +1,19 @@
0
+# Licensed to the Apache Software Foundation (ASF) under one or more
0
+# contributor license agreements. See the NOTICE file distributed with this
0
+# work for additional information regarding copyright ownership. The ASF
0
+# licenses this file to you under the Apache License, Version 2.0 (the
0
+# "License"); you may not use this file except in compliance with the License.
0
+# You may obtain a copy of the License at
0
+#
0
+# http://www.apache.org/licenses/LICENSE-2.0
0
+#
0
+# Unless required by applicable law or agreed to in writing, software
0
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
0
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
0
+# License for the specific language governing permissions and limitations under
0
+# the License.
0
+
0
+
0
 require "java/java"
0
 require "java/ant"
0
 
...
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
0
@@ -1,3 +1,19 @@
0
+# Licensed to the Apache Software Foundation (ASF) under one or more
0
+# contributor license agreements. See the NOTICE file distributed with this
0
+# work for additional information regarding copyright ownership. The ASF
0
+# licenses this file to you under the Apache License, Version 2.0 (the
0
+# "License"); you may not use this file except in compliance with the License.
0
+# You may obtain a copy of the License at
0
+#
0
+# http://www.apache.org/licenses/LICENSE-2.0
0
+#
0
+# Unless required by applicable law or agreed to in writing, software
0
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
0
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
0
+# License for the specific language governing permissions and limitations under
0
+# the License.
0
+
0
+
0
 require "java/java"
0
 
0
 module Buildr
...
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
0
@@ -1,3 +1,19 @@
0
+# Licensed to the Apache Software Foundation (ASF) under one or more
0
+# contributor license agreements. See the NOTICE file distributed with this
0
+# work for additional information regarding copyright ownership. The ASF
0
+# licenses this file to you under the Apache License, Version 2.0 (the
0
+# "License"); you may not use this file except in compliance with the License.
0
+# You may obtain a copy of the License at
0
+#
0
+# http://www.apache.org/licenses/LICENSE-2.0
0
+#
0
+# Unless required by applicable law or agreed to in writing, software
0
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
0
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
0
+# License for the specific language governing permissions and limitations under
0
+# the License.
0
+
0
+
0
 module Buildr
0
 
0
   # Addes the <code>jdepend:swing</code>, <code>jdepend:text</code> and <code>jdepend:xml</code> tasks.
...
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
0
@@ -1,3 +1,19 @@
0
+# Licensed to the Apache Software Foundation (ASF) under one or more
0
+# contributor license agreements. See the NOTICE file distributed with this
0
+# work for additional information regarding copyright ownership. The ASF
0
+# licenses this file to you under the Apache License, Version 2.0 (the
0
+# "License"); you may not use this file except in compliance with the License.
0
+# You may obtain a copy of the License at
0
+#
0
+# http://www.apache.org/licenses/LICENSE-2.0
0
+#
0
+# Unless required by applicable law or agreed to in writing, software
0
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
0
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
0
+# License for the specific language governing permissions and limitations under
0
+# the License.
0
+
0
+
0
 require "uri"
0
 require "net/http"
0
 require "core/project"
...
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
0
@@ -1,3 +1,19 @@
0
+# Licensed to the Apache Software Foundation (ASF) under one or more
0
+# contributor license agreements. See the NOTICE file distributed with this
0
+# work for additional information regarding copyright ownership. The ASF
0
+# licenses this file to you under the Apache License, Version 2.0 (the
0
+# "License"); you may not use this file except in compliance with the License.
0
+# You may obtain a copy of the License at
0
+#
0
+# http://www.apache.org/licenses/LICENSE-2.0
0
+#
0
+# Unless required by applicable law or agreed to in writing, software
0
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
0
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
0
+# License for the specific language governing permissions and limitations under
0
+# the License.
0
+
0
+
0
 require "java/java"
0
 
0
 module Buildr
...
37
38
39
40
 
41
42
43
44
 
 
...
37
38
39
 
40
41
42
 
 
43
44
0
@@ -37,9 +37,9 @@
0
 access$100V(Lorg/apache/buildr/JettyWrapper;)Lorg/mortbay/jetty/handler/ContextHandlerCollection;2org/mortbay/jetty/handler/ContextHandlerCollection removeHandler(Lorg/mortbay/jetty/Handler;)Vremove'(Ljava/lang/String;Ljava/lang/String;)VsetConfigurationClasses([Ljava/lang/String;)V+(Lorg/mortbay/jetty/webapp/WebAppContext;)VsetClassLoader(Ljava/lang/ClassLoader;)V
0
 addHandlerstartput8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;getTempDirectory()Ljava/io/File;(Ljava/lang/Object;)VprintStackTrace&