ittayd-buildr 1.3.4 → 1.3.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (169) hide show
  1. data/CHANGELOG +62 -9
  2. data/NOTICE +1 -1
  3. data/README.rdoc +9 -21
  4. data/Rakefile +20 -39
  5. data/_buildr +1 -0
  6. data/{spec/java/ant.rb → _jbuildr} +11 -15
  7. metadata +30 -210
  8. data/DISCLAIMER +0 -7
  9. data/addon/buildr/antlr.rb +0 -65
  10. data/addon/buildr/cobertura.rb +0 -22
  11. data/addon/buildr/drb.rb +0 -281
  12. data/addon/buildr/emma.rb +0 -22
  13. data/addon/buildr/hibernate.rb +0 -142
  14. data/addon/buildr/javacc.rb +0 -85
  15. data/addon/buildr/jdepend.rb +0 -60
  16. data/addon/buildr/jetty.rb +0 -248
  17. data/addon/buildr/jibx.rb +0 -86
  18. data/addon/buildr/nailgun.rb +0 -221
  19. data/addon/buildr/openjpa.rb +0 -90
  20. data/addon/buildr/org/apache/buildr/BuildrNail$Main.class +0 -0
  21. data/addon/buildr/org/apache/buildr/BuildrNail.class +0 -0
  22. data/addon/buildr/org/apache/buildr/BuildrNail.java +0 -41
  23. data/addon/buildr/org/apache/buildr/JettyWrapper$1.class +0 -0
  24. data/addon/buildr/org/apache/buildr/JettyWrapper$BuildrHandler.class +0 -0
  25. data/addon/buildr/org/apache/buildr/JettyWrapper.class +0 -0
  26. data/addon/buildr/org/apache/buildr/JettyWrapper.java +0 -144
  27. data/addon/buildr/path.rb +0 -136
  28. data/addon/buildr/xmlbeans.rb +0 -93
  29. data/buildr.buildfile +0 -53
  30. data/buildr.gemspec +0 -58
  31. data/doc/css/default.css +0 -228
  32. data/doc/css/print.css +0 -100
  33. data/doc/css/syntax.css +0 -52
  34. data/doc/images/apache-incubator-logo.png +0 -0
  35. data/doc/images/buildr-hires.png +0 -0
  36. data/doc/images/buildr.png +0 -0
  37. data/doc/images/favicon.png +0 -0
  38. data/doc/images/growl-icon.tiff +0 -0
  39. data/doc/images/note.png +0 -0
  40. data/doc/images/project-structure.png +0 -0
  41. data/doc/images/tip.png +0 -0
  42. data/doc/images/zbuildr.tif +0 -0
  43. data/doc/pages/artifacts.textile +0 -207
  44. data/doc/pages/building.textile +0 -240
  45. data/doc/pages/contributing.textile +0 -208
  46. data/doc/pages/download.textile +0 -62
  47. data/doc/pages/extending.textile +0 -175
  48. data/doc/pages/getting_started.textile +0 -273
  49. data/doc/pages/index.textile +0 -42
  50. data/doc/pages/languages.textile +0 -407
  51. data/doc/pages/mailing_lists.textile +0 -17
  52. data/doc/pages/more_stuff.textile +0 -314
  53. data/doc/pages/packaging.textile +0 -427
  54. data/doc/pages/projects.textile +0 -274
  55. data/doc/pages/recipes.textile +0 -103
  56. data/doc/pages/settings_profiles.textile +0 -274
  57. data/doc/pages/testing.textile +0 -212
  58. data/doc/pages/troubleshooting.textile +0 -103
  59. data/doc/pages/whats_new.textile +0 -323
  60. data/doc/print.haml +0 -51
  61. data/doc/print.toc.yaml +0 -29
  62. data/doc/scripts/buildr-git.rb +0 -412
  63. data/doc/scripts/install-jruby.sh +0 -44
  64. data/doc/scripts/install-linux.sh +0 -64
  65. data/doc/scripts/install-osx.sh +0 -52
  66. data/doc/site.haml +0 -56
  67. data/doc/site.toc.yaml +0 -47
  68. data/etc/KEYS +0 -151
  69. data/etc/git-svn-authors +0 -16
  70. data/lib/buildr.rb +0 -33
  71. data/lib/buildr/core.rb +0 -29
  72. data/lib/buildr/core/application.rb +0 -665
  73. data/lib/buildr/core/build.rb +0 -311
  74. data/lib/buildr/core/checks.rb +0 -254
  75. data/lib/buildr/core/common.rb +0 -150
  76. data/lib/buildr/core/compile.rb +0 -590
  77. data/lib/buildr/core/environment.rb +0 -117
  78. data/lib/buildr/core/filter.rb +0 -366
  79. data/lib/buildr/core/generate.rb +0 -195
  80. data/lib/buildr/core/help.rb +0 -119
  81. data/lib/buildr/core/osx.rb +0 -49
  82. data/lib/buildr/core/progressbar.rb +0 -156
  83. data/lib/buildr/core/project.rb +0 -923
  84. data/lib/buildr/core/test.rb +0 -715
  85. data/lib/buildr/core/transports.rb +0 -560
  86. data/lib/buildr/core/util.rb +0 -294
  87. data/lib/buildr/groovy.rb +0 -18
  88. data/lib/buildr/groovy/bdd.rb +0 -106
  89. data/lib/buildr/groovy/compiler.rb +0 -138
  90. data/lib/buildr/ide.rb +0 -19
  91. data/lib/buildr/ide/eclipse.rb +0 -222
  92. data/lib/buildr/ide/idea.ipr.template +0 -300
  93. data/lib/buildr/ide/idea.rb +0 -190
  94. data/lib/buildr/ide/idea7x.ipr.template +0 -290
  95. data/lib/buildr/ide/idea7x.rb +0 -212
  96. data/lib/buildr/java.rb +0 -23
  97. data/lib/buildr/java/ant.rb +0 -92
  98. data/lib/buildr/java/bdd.rb +0 -451
  99. data/lib/buildr/java/cobertura.rb +0 -236
  100. data/lib/buildr/java/commands.rb +0 -211
  101. data/lib/buildr/java/compiler.rb +0 -348
  102. data/lib/buildr/java/deprecated.rb +0 -141
  103. data/lib/buildr/java/emma.rb +0 -238
  104. data/lib/buildr/java/jruby.rb +0 -117
  105. data/lib/buildr/java/jtestr_runner.rb.erb +0 -116
  106. data/lib/buildr/java/org/apache/buildr/JavaTestFilter.class +0 -0
  107. data/lib/buildr/java/org/apache/buildr/JavaTestFilter.java +0 -119
  108. data/lib/buildr/java/packaging.rb +0 -717
  109. data/lib/buildr/java/pom.rb +0 -174
  110. data/lib/buildr/java/rjb.rb +0 -155
  111. data/lib/buildr/java/test_result.rb +0 -307
  112. data/lib/buildr/java/tests.rb +0 -329
  113. data/lib/buildr/java/version_requirement.rb +0 -172
  114. data/lib/buildr/packaging.rb +0 -24
  115. data/lib/buildr/packaging/archive.rb +0 -488
  116. data/lib/buildr/packaging/artifact.rb +0 -759
  117. data/lib/buildr/packaging/artifact_namespace.rb +0 -972
  118. data/lib/buildr/packaging/artifact_search.rb +0 -140
  119. data/lib/buildr/packaging/gems.rb +0 -102
  120. data/lib/buildr/packaging/package.rb +0 -233
  121. data/lib/buildr/packaging/tar.rb +0 -186
  122. data/lib/buildr/packaging/version_requirement.rb +0 -172
  123. data/lib/buildr/packaging/zip.rb +0 -64
  124. data/lib/buildr/packaging/ziptask.rb +0 -313
  125. data/lib/buildr/resources/buildr.icns +0 -0
  126. data/lib/buildr/scala.rb +0 -19
  127. data/lib/buildr/scala/compiler.rb +0 -109
  128. data/lib/buildr/scala/tests.rb +0 -203
  129. data/rakelib/apache.rake +0 -191
  130. data/rakelib/changelog.rake +0 -57
  131. data/rakelib/doc.rake +0 -103
  132. data/rakelib/package.rake +0 -76
  133. data/rakelib/release.rake +0 -65
  134. data/rakelib/rspec.rake +0 -83
  135. data/rakelib/rubyforge.rake +0 -56
  136. data/rakelib/scm.rake +0 -49
  137. data/rakelib/setup.rake +0 -81
  138. data/rakelib/stage.rake +0 -48
  139. data/spec/addon/drb_spec.rb +0 -328
  140. data/spec/core/application_spec.rb +0 -419
  141. data/spec/core/build_spec.rb +0 -423
  142. data/spec/core/checks_spec.rb +0 -519
  143. data/spec/core/common_spec.rb +0 -670
  144. data/spec/core/compile_spec.rb +0 -582
  145. data/spec/core/generate_spec.rb +0 -33
  146. data/spec/core/project_spec.rb +0 -776
  147. data/spec/core/test_spec.rb +0 -1098
  148. data/spec/core/transport_spec.rb +0 -500
  149. data/spec/groovy/bdd_spec.rb +0 -80
  150. data/spec/groovy/compiler_spec.rb +0 -239
  151. data/spec/ide/eclipse_spec.rb +0 -311
  152. data/spec/java/bdd_spec.rb +0 -358
  153. data/spec/java/cobertura_spec.rb +0 -77
  154. data/spec/java/compiler_spec.rb +0 -446
  155. data/spec/java/emma_spec.rb +0 -120
  156. data/spec/java/java_spec.rb +0 -96
  157. data/spec/java/packaging_spec.rb +0 -1120
  158. data/spec/java/test_coverage_spec.rb +0 -255
  159. data/spec/java/tests_spec.rb +0 -471
  160. data/spec/packaging/archive_spec.rb +0 -503
  161. data/spec/packaging/artifact_namespace_spec.rb +0 -646
  162. data/spec/packaging/artifact_spec.rb +0 -795
  163. data/spec/packaging/packaging_helper.rb +0 -63
  164. data/spec/packaging/packaging_spec.rb +0 -589
  165. data/spec/sandbox.rb +0 -139
  166. data/spec/scala/compiler_spec.rb +0 -228
  167. data/spec/scala/tests_spec.rb +0 -215
  168. data/spec/spec_helpers.rb +0 -327
  169. data/spec/version_requirement_spec.rb +0 -123
data/CHANGELOG CHANGED
@@ -1,30 +1,83 @@
1
- 1.3.4 (Pending)
1
+ 1.3.5 (Pending)
2
+ * Added: Mandriva (urpmi) installation support (with help from Franck Villaume).
3
+ * Added: BUILDR-163 cobertura:check (Marko Sibakov, Daniel Spiewak).
4
+
5
+ 1.3.4 (2009-04-21)
6
+ * Added: BUILDR-93 Add specs for ScalaCheck integration
7
+ * Added: BUILDR-94 Add specs for Scala Specs integration
8
+ * Added: BUILDR-136 Support Scala/Java Joint Compiler (Daniel Spiewak).
2
9
  * Added: BUILDR-159 Improved 'check' to accept both tar and tgz archives.
3
10
  * Added: BUILDR-164 New 'artifacts:sources' task to download source code
4
11
  for artifact jars.
12
+ * Added: BUILDR-222 Support Git as a version control system
13
+ * Added BUILDR-223 Release Task: customizable commit message
14
+ * Added: BUILDR-242 Include Scala-Tools Repository by Default.
15
+ * Added: BUILDR-268 Allow proxying for https connections (Joel Muzzerall).
16
+ * Added: Info message "Packaging filename.ext" now displayed for packaging tasks
17
+ * Added: Added Scala.version and Scala.version_str
18
+ * Change: require 'buildr/scala' is now officially required to use Scala features
5
19
  * Change: Introduced new options from Rake 0.8.3: -I (libdir), -R (rakelib),
6
20
  --rules, --no-search, --silent.
7
- * Changed: Upgraded to Rubyforge 1.0.1.
8
- * Change: BUILDR-147 Upgraded to use Rake 0.8.3.
9
- * Change: BUILDR-166 Upgraded to use RSpec 1.1.11.
21
+ * Change: Upgraded to Rubyforge 1.0.1.
22
+ * Change: Upgraded to use Rake 0.8.4.
23
+ * Change: Upgraded to use Net-SSH 2.0.11.
24
+ * Change: Upgraded to use RSpec 1.2.2.
25
+ * Change: Upgraded to use JRuby 1.1.6 (when auto-installing).
26
+ * Change: Buildr, no longer in incubation (hurray!): new site, mailing list, SVN, Git.
10
27
  * Change: BUILDR-171 Eclipse task generates meta-data files for projects with
11
28
  test source code but no main source code.
12
29
  * Change: BUILDR-177 Moved cobertura and emma extensions to lib directory.
13
30
  * Change: BUILDR-187 Source code attachment for Eclipse .classpath.
14
31
  * Change: BUILDR-188 Source code attachment for IDEA .iml file (Marko Sibakov).
32
+ * Change: BUILDR-209 Scala Specs Should Use src/specs/scala/
33
+ * Change: BUILDR-237 Use MacPorts Scala on OS X.
34
+ * Change: BUILDR-260 Upgrade to Scala 2.7.3 compatible dependencies:
35
+ ScalaSpecs 1.4.3, ScalaCheck 1.5 and ScalaTest 0.9.5
36
+ * Change: Buildr now uses Jekyll to generate Web site/documentation:
37
+ http://github.com/mojombo/jekyll/ This replaces Docter so less code to
38
+ maintain and the same Textile/Liquid mechanism as when using Github pages.
39
+ * Change: To access Release object (e.g. to set tag_name) use Release.find.
15
40
  * Fixed: Removed double complete/fail messages showing up on console.
41
+ * Fixed: BUILDR-140 Get rid of const_defined? all across the board.
16
42
  * Fixed: BUILDR-158 Nailgun is now a delegate for buildr/drb (a pure-ruby dRuby server)
17
43
  * Fixed: BUILDR-170 ArtifactNamespace#method_missing has a condition that is never true.
18
44
  * Fixed: BUILDR-172 Scala compiler not loaded by default.
19
45
  * Fixed: BUILDR-175 Fail to find child project when calling project method inside project definition.
46
+ * Fixed: BUILDR-185 Exception if using artifact names with hyphen (Joel
47
+ Muzzerall).
20
48
  * Fixed: BUILDR-192 TestNG report results are overwritten (Alexis Midon).
21
49
  * Fixed: BUILDR-193 TestNG uses project name for suite name (not valid file
22
50
  name on Windows).
23
- * Fixed: BUILDR-194 Buildr always adds 'Manifest-Version' to generated manifest file.
24
- * Fixed: BUILDR-198 Filter#run always calls mkpath with :verbose.
25
- * Fixed: BUILDR-199 ArchiveTask#needed uses 'each' with no effect (Ittay Dror).
26
- * Fixed: BUILDR-201 Sample project is not valid (Alexis Midon).
27
- * Fixed: BUILDR-216 Profiles documentation is wrong (Shane Witbeck).
51
+ * Fixed: BUILDR-194 Buildr always adds 'Manifest-Version' to generated manifest file.
52
+ * Fixed: BUILDR-198 Filter#run always calls mkpath with :verbose.
53
+ * Fixed: BUILDR-199 ArchiveTask#needed uses 'each' with no effect (Ittay Dror).
54
+ * Fixed: BUILDR-201 Sample project is not valid (Alexis Midon).
55
+ * Fixed: BUILDR-214 Buildr is stuck uploading to sftp repository (Heikki Hulkko).
56
+ * Fixed: BUILDR-216 Profiles documentation is wrong (Shane Witbeck).
57
+ * Fixed: BUILDR-218 Manifest.from_zip fails if the zip doesn't already have
58
+ META-INF/MANIFEST.MF (Joel Muzzerall).
59
+ * Fixed: BUILDR-226 Release task should use XML output of "svn info" instead
60
+ of human-readable output (Alexis Midon).
61
+ * Fixed: BUILDR-230 release task fails if there's a space in the path to the
62
+ Buildfile.
63
+ * Fixed: BUILDR-235 JRuby download link is broke (Alexis Midon).
64
+ * Fixed: BUILDR-239 HTTP redirects lose authentication information (Joel
65
+ Muzzerall).
66
+ * Fixed: BUILDR-240 Make TestNG print traces in the console (Alex Midon).
67
+ * Fixed: BUILDR-241 IDEA7X IPR generation does not pay attention to base_dir
68
+ for submodules (Rhett Sutphin).
69
+ * Fixed: BUILDR-247 OpenObject does not work with Hash#only (Rhett Sutphin).
70
+ * Fixed: BUILDR-253 ZipTask now uses Zlib::DEFAULT_COMPRESSION instead of NO_COMPRESSION
71
+ * Fixed: BUILDR-255 tasks/*.rake files are loaded more than once.
72
+ * Fixed: BUILDR-261 ScalaSpecs should be run with Scala dependencies
73
+ * Fixed: BUILDR-263 package(:war).merge not working correctly with exclude()
74
+ * Fixed: BUILDR-271 Using buildr --environment leads to "Don't know how to
75
+ build task XXX".
76
+ * Fixed: BUILDR-269 rspec bdd is broken (Jeff Hodges)
77
+ * Fixed: BUILDR-272 'rake gem' does not build gem under JRuby (Clinton R.
78
+ Nixon).
79
+ * Remove: BUILDR-215 buildr:freeze and unfreeze tasks don't work since we're
80
+ no longer running with the rake command.
28
81
 
29
82
  1.3.3 (2008-10-08)
30
83
  * Added: JtestR support. Implemented pending jtestr specs.
data/NOTICE CHANGED
@@ -1,5 +1,5 @@
1
1
  Apache Buildr
2
- Copyright 2008 The Apache Software Foundation
2
+ Copyright 2007-2009 The Apache Software Foundation
3
3
 
4
4
  This product includes software developed at
5
5
  The Apache Software Foundation (http://www.apache.org/).
@@ -2,8 +2,7 @@
2
2
 
3
3
  This is Buildr, the build system that doesn't suck.
4
4
 
5
- http://incubator.apache.org/buildr/
6
-
5
+ http://buildr.apache.org/
7
6
 
8
7
  == Get Started
9
8
 
@@ -23,21 +22,21 @@ Make sure to set JAVA_HOME environment variable first, then:
23
22
  (Use sudo for Linux and OS X)
24
23
 
25
24
  More installation and setup instructions available online
26
- http://incubator.apache.org/buildr/
25
+ http://buildr.apache.org/
27
26
 
28
27
 
29
28
  === RTFM
30
29
 
31
- * Buildr documentation: http://incubator.apache.org/buildr/
30
+ * Buildr documentation: http://buildr.apache.org/
32
31
  * More about Rake: http://docs.rubyrake.org
33
32
  * Antwrap documentation: http://antwrap.rubyforge.org
34
33
 
35
34
 
36
35
  === Mailing list
37
36
 
38
- Users: http://mail-archives.apache.org/mod_mbox/incubator-buildr-user/
37
+ Users: users-subscribe@buildr.apache.org http://buildr.markmail.org/search/list:users
39
38
 
40
- Developers: http://mail-archives.apache.org/mod_mbox/incubator-buildr-dev/
39
+ Developers: dev-subscribe@buildr.apache.org http://buildr.markmail.org/search/list:dev
41
40
 
42
41
  Create your own Buildfile and start living the life!
43
42
 
@@ -97,14 +96,14 @@ When prompted for a platform, select ruby.
97
96
 
98
97
  You can check the latest sources from SVN:
99
98
 
100
- svn co http://svn.apache.org/repos/asf/incubator/buildr/trunk
99
+ svn co http://svn.apache.org/repos/asf/buildr/trunk
101
100
 
102
101
  Or browse the SVN repository online:
103
- http://svn.apache.org/repos/asf/incubator/buildr
102
+ http://svn.apache.org/repos/asf/buildr
104
103
 
105
- If you prefer Git, a Git fork is available from http://github.com/vic/buildr/tree/master:
104
+ If you prefer Git, a Git fork is available from http://github.com/buildr/buildr/tree/master:
106
105
 
107
- git clone git://github.com/vic/buildr.git
106
+ git clone git://github.com/buildr/buildr.git
108
107
 
109
108
  To install Buildr locally from source:
110
109
 
@@ -133,14 +132,3 @@ distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
133
132
  WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
134
133
  License for the specific language governing permissions and limitations under
135
134
  the License.
136
-
137
-
138
- == Disclaimer
139
-
140
- Apache Buildr is an effort undergoing incubation at The Apache Software
141
- Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of
142
- all newly accepted projects until a further review indicates that the
143
- infrastructure, communications, and decision making process have stabilized in
144
- a manner consistent with other successful ASF projects. While incubation status
145
- is not necessarily a reflection of the completeness or stability of the code,
146
- it does indicate that the project has yet to be fully endorsed by the ASF.
data/Rakefile CHANGED
@@ -14,51 +14,32 @@
14
14
  # the License.
15
15
 
16
16
 
17
- require 'rake/gempackagetask'
17
+ # We need JAVA_HOME for most things (setup, spec, etc).
18
+ unless ENV['JAVA_HOME']
19
+ if RUBY_PLATFORM[/java/]
20
+ ENV['JAVA_HOME'] = java.lang.System.getProperty('java.home')
21
+ elsif RUBY_PLATFORM[/darwin/]
22
+ ENV['JAVA_HOME'] = '/System/Library/Frameworks/JavaVM.framework/Home'
23
+ else
24
+ fail "Please set JAVA_HOME first (set JAVA_HOME=... or env JAVA_HOME=... rake ...)"
25
+ end
26
+ end
27
+
18
28
 
29
+ # Load the Gem specification for the current platform (Ruby or JRuby).
19
30
  def spec(platform = RUBY_PLATFORM[/java/] || 'ruby')
20
- @specs ||= ['ruby', 'java'].inject({}) { |hash, platform|
21
- $platform = platform
22
- hash.update(platform=>Gem::Specification.load('buildr.gemspec'))
31
+ @specs ||= ['ruby', 'java'].inject({}) { |hash, spec_platform|
32
+ $platform = spec_platform
33
+ hash.update(spec_platform=>Gem::Specification.load('buildr.gemspec'))
23
34
  }
24
35
  @specs[platform]
25
36
  end
26
37
 
27
-
28
- desc 'Compile Java libraries used by Buildr'
29
- task 'compile' do
30
- puts 'Compiling Java libraries ...'
31
- args = File.expand_path('_buildr'), '--buildfile=buildr.buildfile', 'compile'
32
- args << '--trace' if Rake.application.options.trace
33
- sh *args
34
- puts 'OK'
35
- end
36
- file Rake::GemPackageTask.new(spec).package_dir=>'compile'
37
- file Rake::GemPackageTask.new(spec).package_dir_path=>'compile'
38
-
39
- # We also need the other package (JRuby if building on Ruby, and vice versa)
40
- Rake::GemPackageTask.new spec(RUBY_PLATFORM =~ /java/ ? 'ruby' : 'java') do |task|
41
- # Block necessary otherwise doesn't do full job.
38
+ # Tell us if we need sudo for various commands.
39
+ def sudo_needed?
40
+ Config::CONFIG['host_os'] !~ /windows|cygwin|bccwin|cygwin|djgpp|mingw|mswin|wince/i && !ENV['GEM_HOME']
42
41
  end
43
42
 
44
43
 
45
- ENV['incubating'] = 'true'
46
- ENV['staging'] = "people.apache.org:~/public_html/#{spec.name}/#{spec.version}"
47
-
48
- task('apache:license').enhance FileList[spec.files].exclude('.class', '.png', '.jar', '.tif', '.textile', '.icns',
49
- 'README', 'LICENSE', 'CHANGELOG', 'DISCLAIMER', 'NOTICE', 'etc/KEYS', 'etc/git-svn-authors')
50
-
51
- task 'stage:check' do
52
- print 'Checking that we have JRuby, Scala and Groovy available ... '
53
- fail 'Full testing requires JRuby!' unless which('jruby')
54
- fail 'Full testing requires Scala!' unless which('scala')
55
- fail 'Full testing requires Groovy!' unless which('groovy')
56
- puts 'OK'
57
- end
58
-
59
- task 'stage:check' do
60
- # Dependency check for the other platform, i.e. if making a release with Ruby,
61
- # run dependency checks with JRuby. (Also, good opportunity to upgrade other
62
- # platform's dependencies)
63
- sh RUBY_PLATFORM =~ /java/ ? 'ruby' : 'jruby -S rake setup dependency'
64
- end
44
+ desc 'Clean up all temporary directories used for running tests, creating documentation, packaging, etc.'
45
+ task :clobber
data/_buildr CHANGED
@@ -23,6 +23,7 @@ spec = Gem::Specification.load(File.join(File.dirname(__FILE__), 'buildr.gemspec
23
23
  spec.dependencies.each do |dep|
24
24
  gem dep.name, dep.version_requirements.to_s
25
25
  end
26
+ Gem.loaded_specs['buildr'] = spec # Prevents RubyGem from loading files from installed Buildr gems
26
27
 
27
28
  require 'buildr'
28
29
  Buildr.application.run
@@ -1,3 +1,4 @@
1
+ #!/usr/bin/env jruby
1
2
  # Licensed to the Apache Software Foundation (ASF) under one or more
2
3
  # contributor license agreements. See the NOTICE file distributed with this
3
4
  # work for additional information regarding copyright ownership. The ASF
@@ -14,20 +15,15 @@
14
15
  # the License.
15
16
 
16
17
 
17
- require File.join(File.dirname(__FILE__), '../spec_helpers')
18
-
19
-
20
- describe Buildr::Ant do
21
-
22
- it 'should pick Ant version from ant build settings' do
23
- Buildr::Ant.instance_eval { @dependencies = nil }
24
- write 'build.yaml', 'ant: 1.2.3'
25
- Buildr::Ant.dependencies.should include("org.apache.ant:ant:jar:1.2.3")
26
- end
27
-
28
- it 'should have REQUIRES up to version 1.5 since it was deprecated in version 1.3.3' do
29
- Buildr::VERSION.should < '1.5'
30
- lambda { Ant::REQUIRES }.should_not raise_error
31
- end
18
+ # Run buildr from source, specifically for testing stuff without doing a rake install.
32
19
 
20
+ require 'rubygems'
21
+ $LOAD_PATH << File.join(File.dirname(__FILE__), 'lib') << File.join(File.dirname(__FILE__), 'addon')
22
+ spec = Gem::Specification.load(File.join(File.dirname(__FILE__), 'buildr.gemspec'))
23
+ spec.dependencies.each do |dep|
24
+ gem dep.name, dep.version_requirements.to_s
33
25
  end
26
+ Gem.loaded_specs['buildr'] = spec # Prevents RubyGem from loading files from installed Buildr gems
27
+
28
+ require 'buildr'
29
+ Buildr.application.run
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ittayd-buildr
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.4
4
+ version: 1.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Apache Buildr
@@ -9,20 +9,22 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-10-27 00:00:00 -07:00
12
+ date: 2009-05-16 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rake
17
+ type: :runtime
17
18
  version_requirement:
18
19
  version_requirements: !ruby/object:Gem::Requirement
19
20
  requirements:
20
21
  - - "="
21
22
  - !ruby/object:Gem::Version
22
- version: 0.8.3
23
+ version: 0.8.4
23
24
  version:
24
25
  - !ruby/object:Gem::Dependency
25
26
  name: builder
27
+ type: :runtime
26
28
  version_requirement:
27
29
  version_requirements: !ruby/object:Gem::Requirement
28
30
  requirements:
@@ -32,24 +34,27 @@ dependencies:
32
34
  version:
33
35
  - !ruby/object:Gem::Dependency
34
36
  name: net-ssh
37
+ type: :runtime
35
38
  version_requirement:
36
39
  version_requirements: !ruby/object:Gem::Requirement
37
40
  requirements:
38
41
  - - "="
39
42
  - !ruby/object:Gem::Version
40
- version: 2.0.4
43
+ version: 2.0.11
41
44
  version:
42
45
  - !ruby/object:Gem::Dependency
43
46
  name: net-sftp
47
+ type: :runtime
44
48
  version_requirement:
45
49
  version_requirements: !ruby/object:Gem::Requirement
46
50
  requirements:
47
51
  - - "="
48
52
  - !ruby/object:Gem::Version
49
- version: 2.0.1
53
+ version: 2.0.2
50
54
  version:
51
55
  - !ruby/object:Gem::Dependency
52
56
  name: rubyzip
57
+ type: :runtime
53
58
  version_requirement:
54
59
  version_requirements: !ruby/object:Gem::Requirement
55
60
  requirements:
@@ -59,33 +64,37 @@ dependencies:
59
64
  version:
60
65
  - !ruby/object:Gem::Dependency
61
66
  name: highline
67
+ type: :runtime
62
68
  version_requirement:
63
69
  version_requirements: !ruby/object:Gem::Requirement
64
70
  requirements:
65
71
  - - "="
66
72
  - !ruby/object:Gem::Version
67
- version: 1.4.0
73
+ version: 1.5.0
68
74
  version:
69
75
  - !ruby/object:Gem::Dependency
70
76
  name: rubyforge
77
+ type: :runtime
71
78
  version_requirement:
72
79
  version_requirements: !ruby/object:Gem::Requirement
73
80
  requirements:
74
81
  - - "="
75
82
  - !ruby/object:Gem::Version
76
- version: 1.0.1
83
+ version: 1.0.3
77
84
  version:
78
85
  - !ruby/object:Gem::Dependency
79
86
  name: hoe
87
+ type: :runtime
80
88
  version_requirement:
81
89
  version_requirements: !ruby/object:Gem::Requirement
82
90
  requirements:
83
91
  - - "="
84
92
  - !ruby/object:Gem::Version
85
- version: 1.8.1
93
+ version: 1.12.2
86
94
  version:
87
95
  - !ruby/object:Gem::Dependency
88
96
  name: rjb
97
+ type: :runtime
89
98
  version_requirement:
90
99
  version_requirements: !ruby/object:Gem::Requirement
91
100
  requirements:
@@ -95,6 +104,7 @@ dependencies:
95
104
  version:
96
105
  - !ruby/object:Gem::Dependency
97
106
  name: Antwrap
107
+ type: :runtime
98
108
  version_requirement:
99
109
  version_requirements: !ruby/object:Gem::Requirement
100
110
  requirements:
@@ -104,24 +114,27 @@ dependencies:
104
114
  version:
105
115
  - !ruby/object:Gem::Dependency
106
116
  name: rspec
117
+ type: :runtime
107
118
  version_requirement:
108
119
  version_requirements: !ruby/object:Gem::Requirement
109
120
  requirements:
110
121
  - - "="
111
122
  - !ruby/object:Gem::Version
112
- version: 1.1.11
123
+ version: 1.2.4
113
124
  version:
114
125
  - !ruby/object:Gem::Dependency
115
126
  name: xml-simple
127
+ type: :runtime
116
128
  version_requirement:
117
129
  version_requirements: !ruby/object:Gem::Requirement
118
130
  requirements:
119
131
  - - "="
120
132
  - !ruby/object:Gem::Version
121
- version: 1.0.11
133
+ version: 1.0.12
122
134
  version:
123
135
  - !ruby/object:Gem::Dependency
124
136
  name: archive-tar-minitar
137
+ type: :runtime
125
138
  version_requirement:
126
139
  version_requirements: !ruby/object:Gem::Requirement
127
140
  requirements:
@@ -129,8 +142,8 @@ dependencies:
129
142
  - !ruby/object:Gem::Version
130
143
  version: 0.5.2
131
144
  version:
132
- description:
133
- email: buildr-user@incubator.apache.org
145
+ description: Apache Buildr is a build system for Java-based applications, including support for Scala, Groovy and a growing number of JVM languages and tools. We wanted something that's simple and intuitive to use, so we only need to tell it what to do, and it takes care of the rest. But also something we can easily extend for those one-off tasks, with a language that's a joy to use.
146
+ email: users@buildr.apache.org
134
147
  executables:
135
148
  - buildr
136
149
  extensions: []
@@ -140,217 +153,24 @@ extra_rdoc_files:
140
153
  - CHANGELOG
141
154
  - LICENSE
142
155
  - NOTICE
143
- - DISCLAIMER
144
156
  files:
145
- - lib/buildr
146
- - lib/buildr/ide
147
- - lib/buildr/ide/idea.ipr.template
148
- - lib/buildr/ide/eclipse.rb
149
- - lib/buildr/ide/idea7x.ipr.template
150
- - lib/buildr/ide/idea7x.rb
151
- - lib/buildr/ide/idea.rb
152
- - lib/buildr/core
153
- - lib/buildr/core/progressbar.rb
154
- - lib/buildr/core/transports.rb
155
- - lib/buildr/core/common.rb
156
- - lib/buildr/core/filter.rb
157
- - lib/buildr/core/compile.rb
158
- - lib/buildr/core/test.rb
159
- - lib/buildr/core/osx.rb
160
- - lib/buildr/core/help.rb
161
- - lib/buildr/core/project.rb
162
- - lib/buildr/core/checks.rb
163
- - lib/buildr/core/build.rb
164
- - lib/buildr/core/util.rb
165
- - lib/buildr/core/generate.rb
166
- - lib/buildr/core/environment.rb
167
- - lib/buildr/core/application.rb
168
- - lib/buildr/java
169
- - lib/buildr/java/org
170
- - lib/buildr/java/org/apache
171
- - lib/buildr/java/org/apache/buildr
172
- - lib/buildr/java/org/apache/buildr/JavaTestFilter.class
173
- - lib/buildr/java/org/apache/buildr/JavaTestFilter.java
174
- - lib/buildr/java/packaging.rb
175
- - lib/buildr/java/cobertura.rb
176
- - lib/buildr/java/commands.rb
177
- - lib/buildr/java/jruby.rb
178
- - lib/buildr/java/jtestr_runner.rb.erb
179
- - lib/buildr/java/compiler.rb
180
- - lib/buildr/java/emma.rb
181
- - lib/buildr/java/version_requirement.rb
182
- - lib/buildr/java/tests.rb
183
- - lib/buildr/java/deprecated.rb
184
- - lib/buildr/java/bdd.rb
185
- - lib/buildr/java/ant.rb
186
- - lib/buildr/java/pom.rb
187
- - lib/buildr/java/rjb.rb
188
- - lib/buildr/java/test_result.rb
189
- - lib/buildr/core.rb
190
- - lib/buildr/packaging.rb
191
- - lib/buildr/scala
192
- - lib/buildr/scala/compiler.rb
193
- - lib/buildr/scala/tests.rb
194
- - lib/buildr/scala.rb
195
- - lib/buildr/groovy
196
- - lib/buildr/groovy/compiler.rb
197
- - lib/buildr/groovy/bdd.rb
198
- - lib/buildr/ide.rb
199
- - lib/buildr/groovy.rb
200
- - lib/buildr/resources
201
- - lib/buildr/resources/buildr.icns
202
- - lib/buildr/packaging
203
- - lib/buildr/packaging/ziptask.rb
204
- - lib/buildr/packaging/artifact_search.rb
205
- - lib/buildr/packaging/artifact_namespace.rb
206
- - lib/buildr/packaging/version_requirement.rb
207
- - lib/buildr/packaging/archive.rb
208
- - lib/buildr/packaging/gems.rb
209
- - lib/buildr/packaging/tar.rb
210
- - lib/buildr/packaging/zip.rb
211
- - lib/buildr/packaging/artifact.rb
212
- - lib/buildr/packaging/package.rb
213
- - lib/buildr/java.rb
214
- - lib/buildr.rb
215
- - bin/buildr
216
- - addon/buildr
217
- - addon/buildr/org
218
- - addon/buildr/org/apache
219
- - addon/buildr/org/apache/buildr
220
- - addon/buildr/org/apache/buildr/JettyWrapper.java
221
- - addon/buildr/org/apache/buildr/JettyWrapper$BuildrHandler.class
222
- - addon/buildr/org/apache/buildr/BuildrNail.java
223
- - addon/buildr/org/apache/buildr/JettyWrapper.class
224
- - addon/buildr/org/apache/buildr/BuildrNail$Main.class
225
- - addon/buildr/org/apache/buildr/BuildrNail.class
226
- - addon/buildr/org/apache/buildr/JettyWrapper$1.class
227
- - addon/buildr/nailgun.rb
228
- - addon/buildr/cobertura.rb
229
- - addon/buildr/hibernate.rb
230
- - addon/buildr/antlr.rb
231
- - addon/buildr/jetty.rb
232
- - addon/buildr/emma.rb
233
- - addon/buildr/xmlbeans.rb
234
- - addon/buildr/drb.rb
235
- - addon/buildr/path.rb
236
- - addon/buildr/openjpa.rb
237
- - addon/buildr/javacc.rb
238
- - addon/buildr/jdepend.rb
239
- - addon/buildr/jibx.rb
240
- - doc/css
241
- - doc/css/default.css
242
- - doc/css/syntax.css
243
- - doc/css/print.css
244
- - doc/pages
245
- - doc/pages/settings_profiles.textile
246
- - doc/pages/artifacts.textile
247
- - doc/pages/whats_new.textile
248
- - doc/pages/extending.textile
249
- - doc/pages/index.textile
250
- - doc/pages/recipes.textile
251
- - doc/pages/more_stuff.textile
252
- - doc/pages/mailing_lists.textile
253
- - doc/pages/testing.textile
254
- - doc/pages/projects.textile
255
- - doc/pages/contributing.textile
256
- - doc/pages/download.textile
257
- - doc/pages/building.textile
258
- - doc/pages/languages.textile
259
- - doc/pages/getting_started.textile
260
- - doc/pages/packaging.textile
261
- - doc/pages/troubleshooting.textile
262
- - doc/scripts
263
- - doc/scripts/install-linux.sh
264
- - doc/scripts/buildr-git.rb
265
- - doc/scripts/install-jruby.sh
266
- - doc/scripts/install-osx.sh
267
- - doc/print.toc.yaml
268
- - doc/site.toc.yaml
269
- - doc/images
270
- - doc/images/favicon.png
271
- - doc/images/note.png
272
- - doc/images/apache-incubator-logo.png
273
- - doc/images/tip.png
274
- - doc/images/zbuildr.tif
275
- - doc/images/buildr.png
276
- - doc/images/growl-icon.tiff
277
- - doc/images/buildr-hires.png
278
- - doc/images/project-structure.png
279
- - doc/site.haml
280
- - doc/print.haml
281
- - spec/ide
282
- - spec/ide/eclipse_spec.rb
283
- - spec/core
284
- - spec/core/build_spec.rb
285
- - spec/core/generate_spec.rb
286
- - spec/core/test_spec.rb
287
- - spec/core/compile_spec.rb
288
- - spec/core/checks_spec.rb
289
- - spec/core/transport_spec.rb
290
- - spec/core/common_spec.rb
291
- - spec/core/application_spec.rb
292
- - spec/core/project_spec.rb
293
- - spec/java
294
- - spec/java/compiler_spec.rb
295
- - spec/java/test_coverage_spec.rb
296
- - spec/java/tests_spec.rb
297
- - spec/java/packaging_spec.rb
298
- - spec/java/ant.rb
299
- - spec/java/emma_spec.rb
300
- - spec/java/java_spec.rb
301
- - spec/java/cobertura_spec.rb
302
- - spec/java/bdd_spec.rb
303
- - spec/addon
304
- - spec/addon/drb_spec.rb
305
- - spec/scala
306
- - spec/scala/compiler_spec.rb
307
- - spec/scala/tests_spec.rb
308
- - spec/sandbox.rb
309
- - spec/spec_helpers.rb
310
- - spec/groovy
311
- - spec/groovy/compiler_spec.rb
312
- - spec/groovy/bdd_spec.rb
313
- - spec/version_requirement_spec.rb
314
- - spec/packaging
315
- - spec/packaging/artifact_namespace_spec.rb
316
- - spec/packaging/artifact_spec.rb
317
- - spec/packaging/packaging_spec.rb
318
- - spec/packaging/packaging_helper.rb
319
- - spec/packaging/archive_spec.rb
320
- - README.rdoc
321
157
  - LICENSE
322
158
  - NOTICE
323
- - DISCLAIMER
324
159
  - CHANGELOG
325
- - buildr.gemspec
326
- - buildr.buildfile
160
+ - README.rdoc
327
161
  - Rakefile
328
- - rakelib/apache.rake
329
- - rakelib/changelog.rake
330
- - rakelib/rubyforge.rake
331
- - rakelib/scm.rake
332
- - rakelib/rspec.rake
333
- - rakelib/stage.rake
334
- - rakelib/setup.rake
335
- - rakelib/release.rake
336
- - rakelib/doc.rake
337
- - rakelib/package.rake
338
162
  - _buildr
339
- - etc/KEYS
340
- - etc/git-svn-authors
163
+ - _jbuildr
341
164
  has_rdoc: true
342
- homepage: http://incubator.apache.org/buildr
343
- post_install_message:
165
+ homepage: http://buildr.apache.org/
166
+ post_install_message: To get started run buildr --help
344
167
  rdoc_options:
345
168
  - --title
346
169
  - Buildr
347
170
  - --main
348
171
  - README.rdoc
349
- - --line-numbers
350
- - --inline-source
351
- - -p
352
172
  - --webcvs
353
- - http://svn.apache.org/repos/asf/incubator/buildr/trunk/
173
+ - http://svn.apache.org/repos/asf/buildr/trunk/
354
174
  require_paths:
355
175
  - lib
356
176
  - addon