buildr 1.2.9 → 1.2.10

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,3 +1,9 @@
1
+ 1.2.10 (11/26/2007)
2
+ * Changed: Resources sets permission on copied files to make them read/write-able.
3
+ * Changed: Artifact download no longer generates destination directory if not downloaded.
4
+ * Fixed: EOL in MANIFEST.MF.
5
+ * Fixed: Bunch of typos, courtesy of Merlyn Albery-Speyer and Soemirno Kartosoewito.
6
+
1
7
  1.2.9 (11/8/2007)
2
8
  * Changed: Upgraded to RJB 1.0.11.
3
9
  * Fixed: Backward compatibility in Java.rjb/wrapper.
@@ -0,0 +1 @@
1
+ Apache Buildr is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.
data/LICENSE CHANGED
@@ -174,29 +174,3 @@
174
174
  of your accepting any such warranty or additional liability.
175
175
 
176
176
  END OF TERMS AND CONDITIONS
177
-
178
- APPENDIX: How to apply the Apache License to your work.
179
-
180
- To apply the Apache License to your work, attach the following
181
- boilerplate notice, with the fields enclosed by brackets "[]"
182
- replaced with your own identifying information. (Don't include
183
- the brackets!) The text should be enclosed in the appropriate
184
- comment syntax for the file format. We also recommend that a
185
- file or class name and description of purpose be included on the
186
- same "printed page" as the copyright notice for easier
187
- identification within third-party archives.
188
-
189
- Copyright 2006-2007, Intalio Inc.
190
-
191
- Licensed under the Apache License, Version 2.0 (the "License");
192
- you may not use this file except in compliance with the License.
193
- You may obtain a copy of the License at
194
-
195
- http://www.apache.org/licenses/LICENSE-2.0
196
-
197
- Unless required by applicable law or agreed to in writing, software
198
- distributed under the License is distributed on an "AS IS" BASIS,
199
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
- See the License for the specific language governing permissions and
201
- limitations under the License.
202
-
data/NOTICE ADDED
@@ -0,0 +1,16 @@
1
+ =========================================================================
2
+ == NOTICE file for use with the Apache License, Version 2.0, ==
3
+ == in this case for the Apache Buildr distribution. ==
4
+ =========================================================================
5
+
6
+ Apache Buildr
7
+ This product includes software developed at
8
+ The Apache Software Foundation (http://www.apache.org/).
9
+
10
+ COPYRIGHT NOTICES
11
+
12
+ Copyright 2007 Intalio
13
+
14
+ This product includes software developed by Intalio
15
+ http://www.intalio.com
16
+
data/README CHANGED
@@ -2,22 +2,28 @@
2
2
 
3
3
  This is Buildr, the build system that doesn't suck.
4
4
 
5
- http://buildr.rubyforge.org
5
+ http://incubator.apache.org/buildr/
6
6
 
7
7
  == Get Started
8
8
 
9
9
  === Install Buildr:
10
+ Make sure to set JAVA_HOME environment variable first, then:
11
+
10
12
  gem install buildr
11
13
 
14
+ (Use su for Linux and OS/X)
15
+
12
16
  === RTFM:
13
17
 
14
- * Buildr documentation: http://buildr.rubyforge.org
18
+ * Buildr documentation: http://incubator.apache.org/buildr/
15
19
  * More about Rake: http://docs.rubyrake.org
16
20
  * Antwrap documentation: http://antwrap.rubyforge.org
17
21
 
18
- === Join Buildr-talk mailing list:
22
+ === Mailing list:
23
+
24
+ * Users: buildr-user@incubator.apache.org (subscribe: buildr-user-subscribe@incubator.apache.org, archive: http://mail-archives.apache.org/mod_mbox/incubator-buildr-user/
19
25
 
20
- * http://groups.google.com/group/buildr-talk
26
+ * Developers: buildr-dev@incubator.apache.org (subscribe: buildr-dev-subscribe@incubator.apache.org, archive: http://mail-archives.apache.org/mod_mbox/incubator-buildr-dev/
21
27
 
22
28
  Create your own Buildfile and start living the life!
23
29
 
@@ -52,8 +58,8 @@ To install:
52
58
  == Living On the Edge
53
59
 
54
60
  You can check the latest sources from SVN:
55
- svn co http://www.intalio.org/buildr/trunk/ buildr
56
- Or browse the SVN repository online: http://blog.intalio.org/viewrep/Buildr
61
+ svn co http://svn.apache.org/repos/asf/incubator/buildr/trunk
62
+ Or browse the SVN repository online: http://svn.apache.org/repos/asf/incubator/buildr
57
63
 
58
64
  To install Buildr locally from source, do:
59
65
 
data/Rakefile CHANGED
@@ -9,11 +9,11 @@ def specify(platform)
9
9
  Gem::Specification.new do |spec|
10
10
  spec.name = "buildr"
11
11
  spec.version = File.read(__FILE__.pathmap("%d/lib/buildr.rb")).scan(/VERSION\s*=\s*(['"])(.*)\1/)[0][1]
12
- spec.author = "Assaf Arkin"
13
- spec.email = "arkin@intalio.com"
14
- spec.homepage = "http://#{spec.name}.rubyforge.org"
12
+ spec.author = "Apache Buildr"
13
+ spec.email = "buildr-user@incubator.apache.org"
14
+ spec.homepage = "http://incubator.apache.org/#{spec.name}/"
15
15
  spec.summary = "A build system that doesn't suck"
16
- spec.files = FileList["lib/**/*", "CHANGELOG", "README", "LICENSE", "Rakefile"].collect
16
+ spec.files = FileList["lib/**/*", "CHANGELOG", "README", "LICENSE", "NOTICE", "DISCLAIMER", "Rakefile"].collect
17
17
  spec.require_path = "lib"
18
18
  spec.autorequire = "buildr.rb"
19
19
  spec.has_rdoc = true
@@ -96,7 +96,7 @@ begin
96
96
  rdoc.rdoc_files.include spec.extra_rdoc_files
97
97
  end
98
98
 
99
- web_collection = Docter.collection.using("doc/web.toc.textile").include("doc/pages", "CHANGELOG", "LICENSE")
99
+ web_collection = Docter.collection.using("doc/web.toc.textile").include("doc/pages", "CHANGELOG")
100
100
  web_template = Docter.template("doc/web.haml").include("doc/css", "doc/images")
101
101
  print_collection = Docter.collection.using("doc/print.toc.textile").include("doc/pages")
102
102
  print_template = Docter.template("doc/print.haml").include("doc/css", "doc/images")
@@ -141,15 +141,15 @@ namespace :svn do
141
141
 
142
142
  task :tag do |task|
143
143
  cur_url = `svn info`.scan(/URL: (.*)/)[0][0]
144
- new_url = cur_url.sub(/trunk$/, "tags/#{spec.version.to_s}")
145
- system "svn", "remove", new_url, "-m", "Removing old copy" rescue nil
144
+ new_url = cur_url.sub(/(trunk$)|(branches\/\w*)$/, "tags/#{spec.version.to_s}")
146
145
  system "svn", "copy", cur_url, new_url, "-m", "Release #{spec.version.to_s}"
147
146
  end
148
147
  end
149
148
 
150
149
  namespace :upload do
150
+
151
151
  task :docs=>"rake:docs" do |task|
152
- sh "rsync -r --del --progress html/* rubyforge.org:/var/www/gforge-projects/#{spec.rubyforge_project.downcase}"
152
+ sh "rsync -r --del --progress html/* people.apache.org:/www/incubator.apache.org/#{spec.rubyforge_project.downcase}/"
153
153
  end
154
154
 
155
155
  task :packages=>["rake:docs", "rake:package"] do |task|
@@ -30,7 +30,7 @@ require "builder"
30
30
 
31
31
 
32
32
  module Buildr
33
- VERSION = "1.2.9".freeze # unless const_defined?(:VERSION)
33
+ VERSION = "1.2.10".freeze # unless const_defined?(:VERSION)
34
34
  end
35
35
 
36
36
 
@@ -472,6 +472,7 @@ module Buildr
472
472
  File.open(dest, "wb") { |file| file.write mapped }
473
473
  when nil # No mapping.
474
474
  cp source, dest
475
+ File.chmod(0664, dest)
475
476
  else
476
477
  fail "Filter can be a hash (key=>value), or a proc/method; I don't understand #{mapping}"
477
478
  end
@@ -309,7 +309,6 @@ module Buildr
309
309
  exact_success = remote.find do |repo_url|
310
310
  begin
311
311
  path = "#{group_path}/#{id}/#{version}/#{File.basename(name)}"
312
- mkpath File.dirname(name), :verbose=>false
313
312
  URI.download repo_url + path, name
314
313
  true
315
314
  rescue URI::NotFoundError
@@ -52,6 +52,7 @@ module Buildr
52
52
  lines = String === manifest || Rake::Task === manifest ? manifest_lines_from(File.read(manifest.to_s)) :
53
53
  manifest_lines_from(manifest)
54
54
  @manifest_tmp.write((MANIFEST_HEADER + lines).join("\n"))
55
+ @manifest_tmp.write "\n"
55
56
  path("META-INF").include @manifest_tmp.path, :as=>"MANIFEST.MF"
56
57
  end
57
58
  end
metadata CHANGED
@@ -1,103 +1,21 @@
1
1
  --- !ruby/object:Gem::Specification
2
- rubygems_version: 0.9.4
3
- specification_version: 1
4
2
  name: buildr
5
3
  version: !ruby/object:Gem::Version
6
- version: 1.2.9
7
- date: 2007-11-08 00:00:00 -08:00
8
- summary: A build system that doesn't suck
9
- require_paths:
10
- - lib
11
- email: arkin@intalio.com
12
- homepage: http://buildr.rubyforge.org
13
- rubyforge_project: buildr
14
- description:
15
- autorequire: buildr.rb
16
- default_executable:
17
- bindir: bin
18
- has_rdoc: true
19
- required_ruby_version: !ruby/object:Gem::Version::Requirement
20
- requirements:
21
- - - ">"
22
- - !ruby/object:Gem::Version
23
- version: 0.0.0
24
- version:
4
+ version: 1.2.10
25
5
  platform: ruby
26
- signing_key:
27
- cert_chain:
28
- post_install_message:
29
6
  authors:
30
- - Assaf Arkin
31
- files:
32
- - lib/tasks
33
- - lib/tasks/tar.rb
34
- - lib/tasks/concat.rb
35
- - lib/tasks/zip.rb
36
- - lib/core
37
- - lib/core/generate.rb
38
- - lib/core/transports.rb
39
- - lib/core/application.rb
40
- - lib/core/build.rb
41
- - lib/core/checks.rb
42
- - lib/core/help.rb
43
- - lib/core/project.rb
44
- - lib/core/rake_ext.rb
45
- - lib/core/common.rb
46
- - lib/buildr.rb
47
- - lib/buildr
48
- - lib/buildr/jetty.rb
49
- - lib/buildr/hibernate.rb
50
- - lib/buildr/scala.rb
51
- - lib/buildr/xmlbeans.rb
52
- - lib/buildr/javacc.rb
53
- - lib/buildr/cobertura.rb
54
- - lib/buildr/jdepend.rb
55
- - lib/buildr/openjpa.rb
56
- - lib/buildr/antlr.rb
57
- - lib/buildr/jetty
58
- - lib/buildr/jetty/JettyWrapper.java
59
- - lib/buildr/jetty/JettyWrapper$1.class
60
- - lib/buildr/jetty/JettyWrapper$BuildrHandler.class
61
- - lib/buildr/jetty/JettyWrapper.class
62
- - lib/java
63
- - lib/java/test.rb
64
- - lib/java/idea.rb
65
- - lib/java/eclipse.rb
66
- - lib/java/pom.rb
67
- - lib/java/java.rb
68
- - lib/java/ant.rb
69
- - lib/java/artifact.rb
70
- - lib/java/idea.ipr.template
71
- - lib/java/packaging.rb
72
- - lib/java/compile.rb
73
- - CHANGELOG
74
- - README
75
- - LICENSE
76
- - Rakefile
77
- test_files: []
78
-
79
- rdoc_options:
80
- - --title
81
- - Buildr -- A build system that doesn't suck
82
- - --main
83
- - README
84
- - --line-numbers
85
- - -inline-source
86
- extra_rdoc_files:
87
- - README
88
- - CHANGELOG
89
- - LICENSE
90
- executables:
91
- - buildr
92
- extensions: []
93
-
94
- requirements: []
7
+ - Apache Buildr
8
+ autorequire: buildr.rb
9
+ bindir: bin
10
+ cert_chain: []
95
11
 
12
+ date: 2007-11-26 00:00:00 -08:00
13
+ default_executable:
96
14
  dependencies:
97
15
  - !ruby/object:Gem::Dependency
98
16
  name: rake
99
17
  version_requirement:
100
- version_requirements: !ruby/object:Gem::Version::Requirement
18
+ version_requirements: !ruby/object:Gem::Requirement
101
19
  requirements:
102
20
  - - "="
103
21
  - !ruby/object:Gem::Version
@@ -106,7 +24,7 @@ dependencies:
106
24
  - !ruby/object:Gem::Dependency
107
25
  name: facets
108
26
  version_requirement:
109
- version_requirements: !ruby/object:Gem::Version::Requirement
27
+ version_requirements: !ruby/object:Gem::Requirement
110
28
  requirements:
111
29
  - - "="
112
30
  - !ruby/object:Gem::Version
@@ -115,7 +33,7 @@ dependencies:
115
33
  - !ruby/object:Gem::Dependency
116
34
  name: builder
117
35
  version_requirement:
118
- version_requirements: !ruby/object:Gem::Version::Requirement
36
+ version_requirements: !ruby/object:Gem::Requirement
119
37
  requirements:
120
38
  - - "="
121
39
  - !ruby/object:Gem::Version
@@ -124,7 +42,7 @@ dependencies:
124
42
  - !ruby/object:Gem::Dependency
125
43
  name: net-ssh
126
44
  version_requirement:
127
- version_requirements: !ruby/object:Gem::Version::Requirement
45
+ version_requirements: !ruby/object:Gem::Requirement
128
46
  requirements:
129
47
  - - "="
130
48
  - !ruby/object:Gem::Version
@@ -133,7 +51,7 @@ dependencies:
133
51
  - !ruby/object:Gem::Dependency
134
52
  name: net-sftp
135
53
  version_requirement:
136
- version_requirements: !ruby/object:Gem::Version::Requirement
54
+ version_requirements: !ruby/object:Gem::Requirement
137
55
  requirements:
138
56
  - - "="
139
57
  - !ruby/object:Gem::Version
@@ -142,7 +60,7 @@ dependencies:
142
60
  - !ruby/object:Gem::Dependency
143
61
  name: rubyzip
144
62
  version_requirement:
145
- version_requirements: !ruby/object:Gem::Version::Requirement
63
+ version_requirements: !ruby/object:Gem::Requirement
146
64
  requirements:
147
65
  - - "="
148
66
  - !ruby/object:Gem::Version
@@ -151,7 +69,7 @@ dependencies:
151
69
  - !ruby/object:Gem::Dependency
152
70
  name: highline
153
71
  version_requirement:
154
- version_requirements: !ruby/object:Gem::Version::Requirement
72
+ version_requirements: !ruby/object:Gem::Requirement
155
73
  requirements:
156
74
  - - "="
157
75
  - !ruby/object:Gem::Version
@@ -160,7 +78,7 @@ dependencies:
160
78
  - !ruby/object:Gem::Dependency
161
79
  name: Antwrap
162
80
  version_requirement:
163
- version_requirements: !ruby/object:Gem::Version::Requirement
81
+ version_requirements: !ruby/object:Gem::Requirement
164
82
  requirements:
165
83
  - - "="
166
84
  - !ruby/object:Gem::Version
@@ -169,7 +87,7 @@ dependencies:
169
87
  - !ruby/object:Gem::Dependency
170
88
  name: rspec
171
89
  version_requirement:
172
- version_requirements: !ruby/object:Gem::Version::Requirement
90
+ version_requirements: !ruby/object:Gem::Requirement
173
91
  requirements:
174
92
  - - "="
175
93
  - !ruby/object:Gem::Version
@@ -178,7 +96,7 @@ dependencies:
178
96
  - !ruby/object:Gem::Dependency
179
97
  name: xml-simple
180
98
  version_requirement:
181
- version_requirements: !ruby/object:Gem::Version::Requirement
99
+ version_requirements: !ruby/object:Gem::Requirement
182
100
  requirements:
183
101
  - - "="
184
102
  - !ruby/object:Gem::Version
@@ -187,7 +105,7 @@ dependencies:
187
105
  - !ruby/object:Gem::Dependency
188
106
  name: archive-tar-minitar
189
107
  version_requirement:
190
- version_requirements: !ruby/object:Gem::Version::Requirement
108
+ version_requirements: !ruby/object:Gem::Requirement
191
109
  requirements:
192
110
  - - "="
193
111
  - !ruby/object:Gem::Version
@@ -196,9 +114,100 @@ dependencies:
196
114
  - !ruby/object:Gem::Dependency
197
115
  name: rjb
198
116
  version_requirement:
199
- version_requirements: !ruby/object:Gem::Version::Requirement
117
+ version_requirements: !ruby/object:Gem::Requirement
200
118
  requirements:
201
119
  - - ">="
202
120
  - !ruby/object:Gem::Version
203
121
  version: 1.0.11
204
122
  version:
123
+ description:
124
+ email: buildr-user@incubator.apache.org
125
+ executables:
126
+ - buildr
127
+ extensions: []
128
+
129
+ extra_rdoc_files:
130
+ - README
131
+ - CHANGELOG
132
+ - LICENSE
133
+ files:
134
+ - lib/tasks
135
+ - lib/tasks/tar.rb
136
+ - lib/tasks/concat.rb
137
+ - lib/tasks/zip.rb
138
+ - lib/core
139
+ - lib/core/generate.rb
140
+ - lib/core/transports.rb
141
+ - lib/core/application.rb
142
+ - lib/core/build.rb
143
+ - lib/core/checks.rb
144
+ - lib/core/help.rb
145
+ - lib/core/project.rb
146
+ - lib/core/rake_ext.rb
147
+ - lib/core/common.rb
148
+ - lib/buildr.rb
149
+ - lib/buildr
150
+ - lib/buildr/jetty.rb
151
+ - lib/buildr/hibernate.rb
152
+ - lib/buildr/scala.rb
153
+ - lib/buildr/xmlbeans.rb
154
+ - lib/buildr/javacc.rb
155
+ - lib/buildr/cobertura.rb
156
+ - lib/buildr/jdepend.rb
157
+ - lib/buildr/openjpa.rb
158
+ - lib/buildr/antlr.rb
159
+ - lib/buildr/jetty
160
+ - lib/buildr/jetty/JettyWrapper.java
161
+ - lib/buildr/jetty/JettyWrapper$1.class
162
+ - lib/buildr/jetty/JettyWrapper$BuildrHandler.class
163
+ - lib/buildr/jetty/JettyWrapper.class
164
+ - lib/java
165
+ - lib/java/test.rb
166
+ - lib/java/idea.rb
167
+ - lib/java/eclipse.rb
168
+ - lib/java/pom.rb
169
+ - lib/java/java.rb
170
+ - lib/java/ant.rb
171
+ - lib/java/artifact.rb
172
+ - lib/java/idea.ipr.template
173
+ - lib/java/packaging.rb
174
+ - lib/java/compile.rb
175
+ - CHANGELOG
176
+ - README
177
+ - LICENSE
178
+ - NOTICE
179
+ - DISCLAIMER
180
+ - Rakefile
181
+ has_rdoc: true
182
+ homepage: http://incubator.apache.org/buildr/
183
+ post_install_message:
184
+ rdoc_options:
185
+ - --title
186
+ - Buildr -- A build system that doesn't suck
187
+ - --main
188
+ - README
189
+ - --line-numbers
190
+ - -inline-source
191
+ require_paths:
192
+ - lib
193
+ required_ruby_version: !ruby/object:Gem::Requirement
194
+ requirements:
195
+ - - ">="
196
+ - !ruby/object:Gem::Version
197
+ version: "0"
198
+ version:
199
+ required_rubygems_version: !ruby/object:Gem::Requirement
200
+ requirements:
201
+ - - ">="
202
+ - !ruby/object:Gem::Version
203
+ version: "0"
204
+ version:
205
+ requirements: []
206
+
207
+ rubyforge_project: buildr
208
+ rubygems_version: 0.9.5
209
+ signing_key:
210
+ specification_version: 2
211
+ summary: A build system that doesn't suck
212
+ test_files: []
213
+