mguymon-buildr 1.4.5-java

Sign up to get free protection for your applications and to get access to all the features.
Files changed (220) hide show
  1. data/CHANGELOG +1291 -0
  2. data/LICENSE +176 -0
  3. data/NOTICE +26 -0
  4. data/README.rdoc +134 -0
  5. data/Rakefile +44 -0
  6. data/_buildr +35 -0
  7. data/_jbuildr +35 -0
  8. data/addon/buildr/antlr.rb +65 -0
  9. data/addon/buildr/bnd.rb +147 -0
  10. data/addon/buildr/cobertura.rb +22 -0
  11. data/addon/buildr/drb.rb +281 -0
  12. data/addon/buildr/emma.rb +22 -0
  13. data/addon/buildr/hibernate.rb +149 -0
  14. data/addon/buildr/javacc.rb +85 -0
  15. data/addon/buildr/jaxb_xjc.rb +72 -0
  16. data/addon/buildr/jdepend.rb +60 -0
  17. data/addon/buildr/jetty.rb +248 -0
  18. data/addon/buildr/jibx.rb +86 -0
  19. data/addon/buildr/nailgun.rb +221 -0
  20. data/addon/buildr/openjpa.rb +88 -0
  21. data/addon/buildr/org/apache/buildr/BuildrNail$Main.class +0 -0
  22. data/addon/buildr/org/apache/buildr/BuildrNail.class +0 -0
  23. data/addon/buildr/org/apache/buildr/BuildrNail.java +41 -0
  24. data/addon/buildr/org/apache/buildr/JettyWrapper$1.class +0 -0
  25. data/addon/buildr/org/apache/buildr/JettyWrapper$BuildrHandler.class +0 -0
  26. data/addon/buildr/org/apache/buildr/JettyWrapper.class +0 -0
  27. data/addon/buildr/org/apache/buildr/JettyWrapper.java +144 -0
  28. data/addon/buildr/protobuf.rb +88 -0
  29. data/addon/buildr/xmlbeans.rb +93 -0
  30. data/bin/buildr +19 -0
  31. data/buildr.buildfile +58 -0
  32. data/buildr.gemspec +78 -0
  33. data/doc/_config.yml +1 -0
  34. data/doc/_layouts/default.html +90 -0
  35. data/doc/_layouts/preface.html +22 -0
  36. data/doc/artifacts.textile +217 -0
  37. data/doc/building.textile +276 -0
  38. data/doc/contributing.textile +268 -0
  39. data/doc/css/default.css +236 -0
  40. data/doc/css/print.css +101 -0
  41. data/doc/css/syntax.css +23 -0
  42. data/doc/download.textile +151 -0
  43. data/doc/extending.textile +212 -0
  44. data/doc/images/1442160941-frontcover.jpg +0 -0
  45. data/doc/images/asf-logo.gif +0 -0
  46. data/doc/images/asf-logo.png +0 -0
  47. data/doc/images/buildr-hires.png +0 -0
  48. data/doc/images/buildr.png +0 -0
  49. data/doc/images/favicon.png +0 -0
  50. data/doc/images/growl-icon.tiff +0 -0
  51. data/doc/images/note.png +0 -0
  52. data/doc/images/project-structure.png +0 -0
  53. data/doc/images/tip.png +0 -0
  54. data/doc/images/zbuildr.png +0 -0
  55. data/doc/images/zbuildr.tif +0 -0
  56. data/doc/index.textile +109 -0
  57. data/doc/installing.textile +284 -0
  58. data/doc/languages.textile +599 -0
  59. data/doc/mailing_lists.textile +29 -0
  60. data/doc/more_stuff.textile +845 -0
  61. data/doc/packaging.textile +618 -0
  62. data/doc/preface.textile +54 -0
  63. data/doc/projects.textile +276 -0
  64. data/doc/quick_start.textile +210 -0
  65. data/doc/releasing.textile +117 -0
  66. data/doc/scripts/buildr-git.rb +512 -0
  67. data/doc/scripts/gitflow.rb +296 -0
  68. data/doc/scripts/install-jruby.sh +44 -0
  69. data/doc/scripts/install-linux.sh +73 -0
  70. data/doc/scripts/install-osx.sh +52 -0
  71. data/doc/settings_profiles.textile +287 -0
  72. data/doc/testing.textile +247 -0
  73. data/etc/KEYS +189 -0
  74. data/lib/buildr.rb +44 -0
  75. data/lib/buildr/clojure.rb +34 -0
  76. data/lib/buildr/clojure/shell.rb +52 -0
  77. data/lib/buildr/core.rb +34 -0
  78. data/lib/buildr/core/application.rb +700 -0
  79. data/lib/buildr/core/build.rb +516 -0
  80. data/lib/buildr/core/cc.rb +166 -0
  81. data/lib/buildr/core/checks.rb +253 -0
  82. data/lib/buildr/core/common.rb +151 -0
  83. data/lib/buildr/core/compile.rb +622 -0
  84. data/lib/buildr/core/doc.rb +276 -0
  85. data/lib/buildr/core/environment.rb +129 -0
  86. data/lib/buildr/core/filter.rb +404 -0
  87. data/lib/buildr/core/generate.rb +197 -0
  88. data/lib/buildr/core/help.rb +119 -0
  89. data/lib/buildr/core/jrebel.rb +42 -0
  90. data/lib/buildr/core/linux.rb +30 -0
  91. data/lib/buildr/core/osx.rb +46 -0
  92. data/lib/buildr/core/progressbar.rb +161 -0
  93. data/lib/buildr/core/project.rb +975 -0
  94. data/lib/buildr/core/run.rb +43 -0
  95. data/lib/buildr/core/shell.rb +137 -0
  96. data/lib/buildr/core/test.rb +843 -0
  97. data/lib/buildr/core/transports.rb +575 -0
  98. data/lib/buildr/core/util.rb +537 -0
  99. data/lib/buildr/groovy.rb +20 -0
  100. data/lib/buildr/groovy/bdd.rb +106 -0
  101. data/lib/buildr/groovy/compiler.rb +153 -0
  102. data/lib/buildr/groovy/doc.rb +76 -0
  103. data/lib/buildr/groovy/shell.rb +57 -0
  104. data/lib/buildr/ide.rb +19 -0
  105. data/lib/buildr/ide/eclipse.rb +427 -0
  106. data/lib/buildr/ide/eclipse/java.rb +53 -0
  107. data/lib/buildr/ide/eclipse/plugin.rb +71 -0
  108. data/lib/buildr/ide/eclipse/scala.rb +68 -0
  109. data/lib/buildr/ide/idea.rb +576 -0
  110. data/lib/buildr/java.rb +25 -0
  111. data/lib/buildr/java/ant.rb +94 -0
  112. data/lib/buildr/java/bdd.rb +460 -0
  113. data/lib/buildr/java/cobertura.rb +297 -0
  114. data/lib/buildr/java/commands.rb +223 -0
  115. data/lib/buildr/java/compiler.rb +135 -0
  116. data/lib/buildr/java/deprecated.rb +141 -0
  117. data/lib/buildr/java/doc.rb +86 -0
  118. data/lib/buildr/java/ecj.rb +69 -0
  119. data/lib/buildr/java/emma.rb +244 -0
  120. data/lib/buildr/java/external.rb +73 -0
  121. data/lib/buildr/java/jruby.rb +122 -0
  122. data/lib/buildr/java/jtestr_result.rb +295 -0
  123. data/lib/buildr/java/jtestr_runner.rb.erb +116 -0
  124. data/lib/buildr/java/org/apache/buildr/JavaTestFilter.class +0 -0
  125. data/lib/buildr/java/org/apache/buildr/JavaTestFilter.java +142 -0
  126. data/lib/buildr/java/packaging.rb +734 -0
  127. data/lib/buildr/java/pom.rb +178 -0
  128. data/lib/buildr/java/rjb.rb +154 -0
  129. data/lib/buildr/java/test_result.rb +101 -0
  130. data/lib/buildr/java/tests.rb +362 -0
  131. data/lib/buildr/java/version_requirement.rb +172 -0
  132. data/lib/buildr/packaging.rb +25 -0
  133. data/lib/buildr/packaging/archive.rb +535 -0
  134. data/lib/buildr/packaging/artifact.rb +904 -0
  135. data/lib/buildr/packaging/artifact_namespace.rb +984 -0
  136. data/lib/buildr/packaging/artifact_search.rb +140 -0
  137. data/lib/buildr/packaging/gems.rb +105 -0
  138. data/lib/buildr/packaging/package.rb +249 -0
  139. data/lib/buildr/packaging/repository_array.rb +108 -0
  140. data/lib/buildr/packaging/tar.rb +189 -0
  141. data/lib/buildr/packaging/version_requirement.rb +192 -0
  142. data/lib/buildr/packaging/zip.rb +178 -0
  143. data/lib/buildr/packaging/ziptask.rb +356 -0
  144. data/lib/buildr/resources/buildr.icns +0 -0
  145. data/lib/buildr/resources/completed.png +0 -0
  146. data/lib/buildr/resources/failed.png +0 -0
  147. data/lib/buildr/resources/icons-license.txt +17 -0
  148. data/lib/buildr/run.rb +195 -0
  149. data/lib/buildr/scala.rb +26 -0
  150. data/lib/buildr/scala/bdd.rb +118 -0
  151. data/lib/buildr/scala/compiler.rb +242 -0
  152. data/lib/buildr/scala/doc.rb +142 -0
  153. data/lib/buildr/scala/org/apache/buildr/SpecsSingletonRunner.class +0 -0
  154. data/lib/buildr/scala/org/apache/buildr/SpecsSingletonRunner.java +57 -0
  155. data/lib/buildr/scala/shell.rb +52 -0
  156. data/lib/buildr/scala/tests.rb +171 -0
  157. data/lib/buildr/shell.rb +185 -0
  158. data/lib/buildr/version.rb +18 -0
  159. data/rakelib/all-in-one.rake +113 -0
  160. data/rakelib/checks.rake +57 -0
  161. data/rakelib/doc.rake +137 -0
  162. data/rakelib/metrics.rake +39 -0
  163. data/rakelib/package.rake +73 -0
  164. data/rakelib/release.rake +160 -0
  165. data/rakelib/rspec.rake +91 -0
  166. data/rakelib/setup.rake +66 -0
  167. data/rakelib/stage.rake +220 -0
  168. data/spec/addon/bnd_spec.rb +330 -0
  169. data/spec/addon/drb_spec.rb +328 -0
  170. data/spec/addon/jaxb_xjc_spec.rb +125 -0
  171. data/spec/core/application_spec.rb +631 -0
  172. data/spec/core/build_spec.rb +837 -0
  173. data/spec/core/cc_spec.rb +224 -0
  174. data/spec/core/checks_spec.rb +519 -0
  175. data/spec/core/common_spec.rb +725 -0
  176. data/spec/core/compile_spec.rb +658 -0
  177. data/spec/core/doc_spec.rb +195 -0
  178. data/spec/core/extension_spec.rb +201 -0
  179. data/spec/core/generate_spec.rb +33 -0
  180. data/spec/core/project_spec.rb +772 -0
  181. data/spec/core/run_spec.rb +93 -0
  182. data/spec/core/shell_spec.rb +146 -0
  183. data/spec/core/test_spec.rb +1320 -0
  184. data/spec/core/transport_spec.rb +544 -0
  185. data/spec/core/util_spec.rb +141 -0
  186. data/spec/groovy/bdd_spec.rb +80 -0
  187. data/spec/groovy/compiler_spec.rb +251 -0
  188. data/spec/groovy/doc_spec.rb +65 -0
  189. data/spec/ide/eclipse_spec.rb +739 -0
  190. data/spec/ide/idea_spec.rb +1145 -0
  191. data/spec/java/ant_spec.rb +37 -0
  192. data/spec/java/bdd_spec.rb +374 -0
  193. data/spec/java/cobertura_spec.rb +112 -0
  194. data/spec/java/commands_spec.rb +93 -0
  195. data/spec/java/compiler_spec.rb +252 -0
  196. data/spec/java/doc_spec.rb +56 -0
  197. data/spec/java/ecj_spec.rb +115 -0
  198. data/spec/java/emma_spec.rb +121 -0
  199. data/spec/java/external_spec.rb +56 -0
  200. data/spec/java/java_spec.rb +132 -0
  201. data/spec/java/packaging_spec.rb +1266 -0
  202. data/spec/java/run_spec.rb +78 -0
  203. data/spec/java/test_coverage_helper.rb +257 -0
  204. data/spec/java/tests_spec.rb +497 -0
  205. data/spec/packaging/archive_spec.rb +775 -0
  206. data/spec/packaging/artifact_namespace_spec.rb +743 -0
  207. data/spec/packaging/artifact_spec.rb +1074 -0
  208. data/spec/packaging/packaging_helper.rb +63 -0
  209. data/spec/packaging/packaging_spec.rb +719 -0
  210. data/spec/packaging/repository_array_spec.rb +109 -0
  211. data/spec/sandbox.rb +165 -0
  212. data/spec/scala/bdd_spec.rb +124 -0
  213. data/spec/scala/compiler_spec.rb +289 -0
  214. data/spec/scala/doc_spec.rb +88 -0
  215. data/spec/scala/scala.rb +38 -0
  216. data/spec/scala/tests_spec.rb +283 -0
  217. data/spec/spec_helpers.rb +369 -0
  218. data/spec/version_requirement_spec.rb +143 -0
  219. data/spec/xpath_matchers.rb +121 -0
  220. metadata +600 -0
data/CHANGELOG ADDED
@@ -0,0 +1,1291 @@
1
+ 1.4.6 (Pending)
2
+ * Fixed: BUILDR-571 Generated IDEA projects include resources multiple times (Peter Royal)
3
+ * Fixed: BUILDR-573 HTTP upload PUT request with incorrect Content-Type (Mathias Doenitz)
4
+
5
+ 1.4.5 (2011-02-20)
6
+ * Added: BUILDR-555 Add support for the jaxb binding compiler (Mark Petrovic)
7
+ * Added: BUILDR-554 Add support for OSGi bundle packages by importing the
8
+ buildr_bnd plugin
9
+ * Added: BUILDR-125 Add support for <security-role> in application.xml of
10
+ EAR packaging (Mikael Amborn)
11
+ * Added: BUILDR-550 Add support for groovydoc
12
+ * Added: BUILDR-521: System tray notifications for Linux systems
13
+ (via libnotify/notify-send)
14
+ * Added: BUILDR-537 Shell tasks should use JAVA_OPTS by default
15
+ * Added: BUILDR-538 Shell tasks should support passing :java_args
16
+ * Added: BUILDR-544 Support ${groupId} in pom files (Chris Dean)
17
+ * Added: BUILDR-552 Projects may now be defined using project(:name) and a block
18
+ * Added: BUILDR-564 Add package(:scaladoc)
19
+ * Added: Automatically add "require buildr/{groovy,scala}" when generating
20
+ project if Groovy/Scala files are detected.
21
+ * Change: BUILDR-540 Upgrade to rspec 2.1.0
22
+ * Change: BUILDR-546 Upgrade to Rubyzip 0.9.4 (Michael Guymon)
23
+ * Change: BUILDR-556 Merge buildr-iidea extension back into buildr.
24
+ * Change: Upgrade default Scala compiler version to 2.8.1-final
25
+ * Change: Upgrade to ScalaCheck 1.8
26
+ * Change: Upgrade to ScalaTest 1.3
27
+ * Change: Upgrade to Specs 1.6.6
28
+ * Change: Upgrade to JRuby 1.5.6
29
+ * Fixed: BUILDR-542 Release task: SVN tagging fails if parent tag directory
30
+ does not exist yet (Gerolf Seitz)
31
+ * Fixed: BUILDR-543 POMs are installed and uploaded twice when using artifacts
32
+ with classifier
33
+ * Fixed: BUILDR-522 Send notifications when continuous compilation
34
+ succeeds/fails.
35
+ * Fixed: BUILDR-551 Continuous compilation not working for project trees
36
+ * Fixed: BUILDR-557 MD5 + SHA1 checksums are not Maven compliant (Tammo van Lessen)
37
+ * Change: Upgrade to Groovy 1.7.5
38
+ * Change: BUILDR-545 Add the ability to specify the description element in in
39
+ application.xml contained within an ear.
40
+ * Fixed: BUILDR-547 - Ensure ECJ compiler works when there is a space in the
41
+ path of dependencies.
42
+ * Fixed: BUILDR-558 Artifact uploads should show a progress bar (Tammo van Lessen)
43
+ * Fixed: BUILDR-560 show a meaning full error message when POM cannot be parsed
44
+ (Tammo van Lessen)
45
+ * Fixed: BUILDR-562 WAR package isn't updated if files under src/main/webapp
46
+ are updated
47
+ * Fixed: BUILDR-569 Buildr fails under JRuby 1.6.0.RC1 due to read-only $? variable
48
+ * Fixed: BUILDR-570 Buildr does not work with Rubygems 1.5.x
49
+ * Fixed: Scaladoc task would cause build to exit prematurely
50
+
51
+ 1.4.4 (2010-11-16)
52
+ * Change: BUILDR-549 Upgrade to RJB 1.3.3 to address "Cannot create JVM" issue with Java Update 3
53
+ on Mac OS X. Win32 platform upgraded to RJB 1.3.2.
54
+ * Change: RSpec gem dependency ~> 1.3.1
55
+ * Change: Upgrade to JtestR 0.6
56
+
57
+ 1.4.3 (2010-10-15)
58
+ * Added: BUILDR-514 New 'run' local task. http://buildr.apache.org/more_stuff.html#run
59
+ * Added: BUILDR-518 Load _buildr.rb or .buildr.rb from same directory as Buildfile
60
+ if they exist (Peter Donald)
61
+ * Added: BUILDR-519 Load repositories.release_to from build settings (Peter Donald)
62
+ * Fixed: BUILDR-520 Scaladoc 2.8 no longer support -windowtitle, use -doc-title instead.
63
+ * Fixed: BUILDR-512 Buildr::Util.ruby invokes non existent method (Peter Donald)
64
+ * Fixed: BUILDR-513 --trace fails with NoMethodError : undefined method
65
+ `include?' for nil:NilClass
66
+ * Fixed: BUILDR-515 -update-snapshot doesn't work as expected
67
+ * Fixed: BUILDR-517 package(:jar).include(directory, :as=>"foo") produces a corrupted jar
68
+ * Fixed: BUILDR-524 Optimized and more robust reading of jar MANIFEST.MF (Hugues Malphettes)
69
+ * Fixed: BUILDR-525 Documentation refers to repositories.upload_to rather than
70
+ repositories.release_to (Peter Donald)
71
+ * Fixed: BUILDR-526 Gracefully handle h2 sections with no id in documentation (Peter Donald)
72
+ * Fixed: BUILDR-527 package(:war) if libs passed are files (instead of artifacts)
73
+ * Fixed: BUILDR-528 Stop using deprecated method Gem::Dependency.version_requirements correctly (Peter Donald)
74
+ * Fixed: BUILDR-529 Stop using gem name "foo" in tests as it is the name of an actual gem (Peter Donald)
75
+ * Fixed: BUILDR-531 Improve error message when build requires gem that can't be found in local/remote
76
+ gem repositories (Peter Donald)
77
+ * Fixed: BUILDR-532 package_as_source does not package resources (Tammo van Lessen)
78
+ * Fixed: BUILDR-534 package_with_sources does not package source artifacts if no sources but resources exist.
79
+ (Tammo Van Lessen)
80
+ * Fixed: BUILDR-535 Failing "checks" produce no meaningful errors on JRuby
81
+ * Fixed: JavaRebel was previously not correctly detected.
82
+
83
+ 1.4.2 (2010-09-18)
84
+ * Added: BUILDR-415 Ability to exclude tests from command line
85
+ * Added: BUILDR-495 Document twitter on Buildr's homepage
86
+ * Added: BUILDR-212 Update support for SNAPSHOT artifacts (Timo Rantalaiho and Izzet Mustafa)
87
+ * Added: BUILDR-465 Eclipse project names should be customizable
88
+ * Added: BUILDR-493 Eclipse task should generate javadocpath
89
+ * Added: BUILDR-509 Option to generate non-prefixed Eclipse project names
90
+ * Added: BUILDR-510 Add support for trace categories: --trace=foo,bar
91
+ * Added: Integration test to show how to change the war packaging spec.
92
+ * Added: Integration test to show how to use junit 3.
93
+ * Added: Integration test to show how to get ahold of parent project
94
+ * Change: BUILDR-473 Update jruby-openssl dependency version or support a range of versions
95
+ * Change: BUILDR-478 Upgrade to net-ssh 2.0.23 and net-sftp 2.0.4 (Shane Witbeck)
96
+ * Change: BUILDR-475 Support for long names on tar.gz (updated to minitar 0.5.3)
97
+ * Change: BUILDR-484 Upgrade to Scala 2.8.0 (final) and associated dependencies
98
+ (ScalaCheck 1.7, ScalaTest 1.2, Specs 1.6.5)
99
+ * Change: BUILDR-487 package :sources should default to using .jar extension (instead of .zip)
100
+ * Change: Upgrade to Jruby 1.5.2
101
+ * Fixed: BUILDR-143 Upload to a file:// path needs ability to specify permissions (Joel Muzzerall)
102
+ * Fixed: BUILDR-144 Filter does not preserve file permissions
103
+ * Fixed: BUILDR-163 cobertura-check
104
+ * Fixed: BUILDR-203 Compiler guessing very inefficient
105
+ * Fixed: BUILDR-225 ArchiveTask#merge, not according to doc
106
+ * Fixed: BUILDR-256 Automatically installing gems aborts rspec test runner (Rhett Sutphin)
107
+ * Fixed: BUILDR-285 Cobertura failing when running build
108
+ * Fixed: BUILDR-302 Move out-of-date Nailgun documentation to wiki (Shane Witbeck)
109
+ * Fixed: BUILDR-317 ecj compiler
110
+ * Fixed: BUILDR-326 follow up: binary safe untarring on Windows (Sam Hendley)
111
+ * Fixed: BUILDR-335 follow up: excluding libraries from war is confusing
112
+ * Fixed: BUILDR-342 The jruby gem installer invokes the removed Gem.manage_gems function (Rhett Sutphin)
113
+ * Fixed: BUILDR-403 Buildr::Util::Gems.install does not find gems on remote sources
114
+ * Fixed: BUILDR-436 release task should only replace "-SNAPSHOT" (spec from Jean-Philippe Caruana)
115
+ * Fixed: BUILDR-438 Release Task: customizable version numbers (Alexis Midon)
116
+ * Fixed: BUILDR-464 Improve the versioning of Buildr (Rhett Sutphin)
117
+ * Fixed: BUILDR-466 Rendering issue with IE on the website (Shane Witbeck)
118
+ * Fixed: BUILDR-468 test:failed does not respect test.exclude
119
+ * Fixed: BUILDR-469 test:failed causes all transitive tests to run
120
+ * Fixed: BUILDR-472 ECJ dependency now required to build any java project
121
+ * Fixed: BUILDR-477 Error while parsing maven-metadata.xml
122
+ * Fixed: BUILDR-479 Enforce using a minimal version of jruby
123
+ * Fixed: BUILDR-481 Antwrap monkey-patching in core.rb
124
+ * Fixed: BUILDR-482 Javadoc : cannot load class java.com.sun.tools.javadoc.Main
125
+ * Fixed: BUILDR-488 artifact poms not reinstalled
126
+ * Fixed: BUILDR-491 sftp download goes into infinite loop
127
+ * Fixed: BUILDR-498 Artifact download fails with "negative argument" if
128
+ terminal capabilities are undefined
129
+ * Fixed: BUILDR-499 Java package caching through constants
130
+ e.g. (Java.java.lang.String cached as Java::Lang::String)
131
+ can shadow Ruby modules
132
+ * Fixed: BUILDR-501 Fix buildr label when listing tasks (Peter Donald)
133
+ * Fixed: BUILDR-503 Include with as includes directories as files when the directory has the same name as the path
134
+ * Fixed: BUILDR-506 Gem packaging does not work under windows (Peter Donald)
135
+ * Fixed: BUILDR-508 Remove unnecessary use of Java.classpath in OpenJPA
136
+ extension (Peter Donald)
137
+ * Fixed: BUILDR-507 Gem packaging should replace dashes with dots in
138
+ version number (Peter Donald)
139
+
140
+ 1.4.1 (2010-07-07)
141
+ * Added: BUILDR-420 Support external compiler
142
+ * Added: BUILDR-425 Specify dev dependencies in .gemspec
143
+ * Change: BUILDR-459 Update gemspec to accept json_pure ~> 1.4.3
144
+ * Fixed: BUILDR-455 cc_spec.rb l 160 depends on time and thus fails intermittently
145
+ * Fixed: BUILDR-461 Packages with different ids collide
146
+ * Fixed: BUILDR-439 "The command line is too long" when running TestNG tests
147
+ * Fixed: BUILDR-463 Setting a system property in the buildfile causes a NoClassDefFoundError
148
+
149
+ 1.4.0 (2010-06-18)
150
+ * Added: BUILDR-405 Enhance the idea7x extension to supply a task to delete generated files
151
+ (Peter Donald)
152
+ * Added: Support for regexps in include and exclude patterns (BUILDR-406)
153
+ * Added: Support for Scala 2.8 compiler-level change detection and dependency
154
+ tracking
155
+ * Added: Continuous compilation
156
+ * Added: Generic documentation framework (using the `doc` task). Replaces
157
+ `javadoc` task
158
+ * Added: New "test:failed" task to execute only tests that failed during last
159
+ run (Antoine Toulme)
160
+ * Added: Project extensions (before/after_define) now support dependency ordering
161
+ similar to Rake (e.g. before_define(:my_setup => :compile)
162
+ * Added: BUILDR-328 Detect Eclipse plugin project with META-INF/MANIFEST.MF
163
+ and Bundle-SymbolicName: entry
164
+ * Added: Support for Eclipse classpath variables to avoid absolute pathnames in
165
+ generated .classpath using:
166
+ eclipse.classpath_variables { :VAR => '/path/to/libraries' }
167
+ * Added: Support for excluding libraries from Eclipse classpath using:
168
+ eclipse.exclude_libs += ['/path/to/some/library.jar']
169
+ * Added: Environment variable IGNORE_BUILDFILE can be set to "yes" or
170
+ "true" to ignore changes in Buildfile when running tests.
171
+ * Added: "buildr test=only" will only run tests explicitly specified on the
172
+ command line (and ignore transitive test dependencies)
173
+ * Added: ArtifactNamespace.{keys,clear} methods
174
+ * Added: BUILDR-326 Support unzipping tar.gz files (Antoine Toulme)
175
+ * Added: BUILDR-368 Support protocol buffer code generation
176
+ (Pepijn Van Eeckhoudt)
177
+ * Added: BUILDR-375 Buildr now recognizes buildfile.rb and Buildfile.rb
178
+ (Kerry Wilson)
179
+ * Added: BUILDR-390 Buildr::group() should accept :classifier argument
180
+ * Added: BUILDR-407 Exclude and include patterns should support lambdas or procs
181
+ * Added: BUILDR-408 Filter include() and exclude() should accept Rake tasks
182
+ * Added: BUILDR-409 archive.include() should convert arguments to artifact
183
+ if applicable
184
+ * Added: BUILDR-453 Provide a ci task that uses the ci_reporter gem (Pepijn Van Eeckhoudt)
185
+ * Added: ScalaTest now generates JUnit XML reports in addition to text files.
186
+ * Change: Updated to Ant 1.8.0
187
+ * Change: Updated to Cobertura 1.9.4.1
188
+ * Change: Updated to Groovy 1.7.1
189
+ * Change: Updated to JRuby 1.5.1
190
+ * Change: Updated to JtestR 0.5
191
+ * Change: Updated to JUnit 4.7
192
+ * Change: Updated to JMock 2.5.1 (Antoine Toulme)
193
+ * Change: Updated to RJB 1.2.5
194
+ * Change: Updated to Scala Specs 1.6.2.1
195
+ * Change: Updated to ScalaCheck 1.6
196
+ * Change: Updated to ScalaTest 1.0.1
197
+ * Change: Updated to json_pure 1.4.0
198
+ * Change: Load buildr.rb from $HOME/.buildr instead of $HOME
199
+ ($HOME/buildr.rb is still loaded with deprecation warning)
200
+ * Change: BUILDR-400 Don't forbid projects to use their own compiler after one has been guessed
201
+ * Change: BUILDR-401 Don't set compiler to output warnings if verbose
202
+ * Change: Buildr.settings.build['scala.version'] now overrides SCALA_HOME to
203
+ determine which Scala libraries used for compiling. If both are
204
+ are provided and reference the same Scala version, then local
205
+ jars from SCALA_HOME are used.
206
+ * Change: Tagline changed from "The build system that doesn't suck" to "Build like you code"
207
+ * Change: BUILDR-355 Use Rake for defining tasks to do the Buildr distro over JRuby (Izzet Mustafa oglu)
208
+ * Change: BUILDR-448 Don't use sudo by default for rake setup
209
+ * Change: BUILDR-450 Update .gitignore to exclude idea project files and files generated during spec tests (Peter Donald)
210
+ * Fixed: BUILDR-208 ansi control characters are printed on Windows (Pepijn Van Eeckhoudt)
211
+ * Fixed: BUILDR-348 Buildr fails on windows with jruby and ODE 1.X
212
+ * Fixed: BUILDR-183 Can't define root artifact namespace outside of project
213
+ (Ittay Dror)
214
+ * Fixed: BUILDR-223 Release Task: customizable commit message (Alexis Midon)
215
+ * Fixed: BUILDR-232 buildr should print the class of an exception, not just
216
+ its message (Antoine Toulme)
217
+ * Fixed: BUILDR-233 Can't specify version in artifact namespace
218
+ * Fixed: BUILDR-267 Skipping tests is only done after they are compiled
219
+ (Antoine Toulme)
220
+ * Fixed: BUILDR-281 Application#initialize fails if home dir isn't writable
221
+ * Fixed: BUILDR-327 Specifying :plugin eclipse nature explicitly fails
222
+ * Fixed: BUILDR-330 Install task should re-install artifact even if they
223
+ already exist (Alexis Midon)
224
+ * Fixed: BUILDR-334 Eclipse .classpath files use absolute paths for library
225
+ entries (Stefan Wasilewski)
226
+ * Fixed: BUILDR-336 Java::Commands.java Prints Command Without --trace
227
+ (Antoine Toulme)
228
+ * Fixed: BUILDR-341 jruby -S extract is no longer supported by jruby
229
+ (Antoine Toulme)
230
+ * Fixed: BUILDR-344 Buildr::TestFramework::TestResult::YamlFormatter uses
231
+ deprecated form of example_pending (Rhett Sutphin)
232
+ * Fixed: BUILDR-345 Improve project documentation (Peter Schröder)
233
+ * Fixed: BUILDR-346 Test classpath can not be set (Peter Schröder)
234
+ * Fixed: BUILDR-347 Compile.from does not work correctly with FileTask when
235
+ no compiler is set (Peter Schröder)
236
+ * Fixed: BUILDR-349 resources.filter should use defaults from profile.yaml
237
+ even if mapping is provided
238
+ * Fixed: BUILDR-360 Reintroduce tag_name instance method for Git release task for
239
+ backward compatibility (Antoine Toulme)
240
+ * Fixed: BUILDR-361 Generate Eclipse .project file even if project has no
241
+ nature. Also prevent generation of .project if project has
242
+ children. (Antoine Toulme)
243
+ * Fixed: BUILDR-364 Package spec should be set to a Symbol when :file is
244
+ used (Klaas Prause)
245
+ * Fixed: BUILDR-365 test task should use test compile dependencies
246
+ * Fixed: BUILDR-366 Scala dependencies should be lazily loaded into
247
+ Java.classpath
248
+ * Fixed: BUILDR-373 Package type specific implementations of install,
249
+ uninstall and upload are not invoked (Antoine Toulme)
250
+ * Fixed: BUILDR-374 upload tasks can attempt to upload artifacts multiple times (Pepijn Van Eeckhoudt)
251
+ * Fixed: BUILDR-379 Ant sql task abruptly terminates buildr
252
+ * Fixed: BUILDR-380 GitRelease: recursive search for root '/' does not work
253
+ under Windows (Antoine Toulme)
254
+ * Fixed: BUILDR-381 JUnit tests on Groovy project fail with
255
+ NoClassDefFoundError: junit/framework/TestCase
256
+ * Fixed: BUILDR-382 Packages with default spec are not always created correctly
257
+ * Fixed: BUILDR-383 artifact().from(task_dependency) should not trigger
258
+ task_dependency if artifact exists
259
+ * Fixed: BUILDR-384 Buildr fails with rubygems 1.3.6
260
+ * Fixed: BUILDR-386 Display JRuby version in buildr -V (Antoine Toulme)
261
+ * Fixed: BUILDR-388 Continuous Compilation Support for Sub-Projects
262
+ * Fixed: BUILDR-391 resources task does not detect changes
263
+ * Fixed: BUILDR-392 Array values not flattened in (one version) of eclipse
264
+ task properties (Antoine Toulme, Peter Dettman)
265
+ * Fixed: BUILDR-306 Cobertura extension does not handle dependencies
266
+ correctly (Pepijn Van Eeckhoudt)
267
+ * Fixed: BUILDR-398 FileUtils#sh does not work correctly on Windows
268
+ (Pepijn Van Eeckhoudt)
269
+ * Fixed: BUILDR-399 invoke_with_call_chain does not restore call chain
270
+ correctly (Pepijn Van Eeckhoudt)
271
+ * Fixed: BUILDR-418 jruby exception: `ffi_libraries': no library specified
272
+ * Fixed: BUILDR-442 Errors while running the specs with jruby 1.5
273
+ * Fixed: BUILDR-449 Fix failing specs on Windows (Pepijn Van Eeckhoudt)
274
+ * Fixed: buildr test=all didn't run all tests as expected
275
+ * Fixed: Fail-fast if package.with() or include() called with nil values
276
+ * Fixed: Failures not reported correctly for ScalaTest (Alex Eagle)
277
+ * Fixed: Test dependencies should include test compile dependencies
278
+ * Fixed: Classpath correctly passed to Scala shell
279
+ * Fixed: Removed redundant tracing of command arguments
280
+ * Fixed: filter.using(hash) now correctly substitutes mappings with boolean
281
+ "false" value
282
+ * Fixed: BUILDR-404 buildr -V causes exception on JRuby
283
+ * Fixed: BUILDR-411 fix for RDoc generation
284
+ * Fixed: BUILDR-417 package_as_javadoc calls deprecated method
285
+ (Pepijn Van Eeckhoudt)
286
+ * Fixed: BUILDR-412 Gemspec dependencies don't add up - to the point it's not possible to release
287
+ * Fixed: BUILDR-414 Provide tag_name method on GitRelease as part of API
288
+ * Fixed: BUILDR-419 Exclusion patterns only work if they contain a wildcard
289
+ * Fixed: BUILDR-421 The MANIFEST.MF file packaged by Buildr as permissions set to 600
290
+ * Fixed: BUILDR-423 MANIFEST.MF files are not closed, leading to open files leak.
291
+ * Fixed: BUILDR-447 Path object do not include empty dirs in base directory (Peter Donald)
292
+ * Fixed: BUILDR-457 package(:jar) adds . entry to the jar
293
+
294
+ 1.3.5 (2009-10-05)
295
+ * Added: Interactive shell (REPL) support
296
+ * Added: BeanShell as default shell for java projects, bsh is small and it's
297
+ syntax provides the closest to an interpreted java. The BeanShell
298
+ console includes a graphical class browser. Shell is named :bsh
299
+ * Added: Mandriva (urpmi) installation support (with help from Franck Villaume).
300
+ * Added: BUILDR-56 Download Scala artifacts if not available locally
301
+ * Added: BUILDR-163 cobertura:check (Marko Sibakov, Daniel Spiewak).
302
+ * Added: BUILDR-295 Eclipse task: make 'M2_REPO' repository variable configurable
303
+ * Added: BUILDR-300 Make Eclipse task more configurable (Antoine Toulme, Alex Boisvert)
304
+ * Change: Upgraded to rubyforge-1.0.5 and net-ssh 2.0.15
305
+ * Change: Monkey-Patched FileUtils::sh on JRuby to use POSIX `system`
306
+ * Change: Updated to Rake 0.8.7, RSpec 1.2.8 and JRuby-openssl 0.5.2.
307
+ * Change: Updated to easyb 0.9 (Joel Muzzerall)
308
+ * Change: Updated to TestNG 5.10
309
+ * Change: Updated to JRuby 1.3.1
310
+ * Fixed: BUILDR-23 Support for setting file mode when packaging (Ittay Dror).
311
+ * Fixed: BUILDR-278 tasks/*.rake files are loaded after the buildfile (Rhett Sutphin)
312
+ * Fixed: BUILDR-282 release goal should not strip leading '0' digits from version numbers.
313
+ * Fixed: BUILDR-289 Improved error message when JAVA_HOME points to an invalid JRE/JDK installation
314
+ * Fixed: BUILDR-290 Dependencies cannot be downloaded over SSL.
315
+ * Fixed: BUILDR-291 Local tasks do not support arguments (Ittay Dror).
316
+ * Fixed: BUILDR-292 Workaround for JRUBY-3381 on FileUtils.mv
317
+ * Fixed: BUILDR-301 TestNG doesn't report failure if more than one test fails
318
+ * Fixed: BUILDR-307 Failures are not reported correctly for ScalaTest (Jeremie Lenfant-Engelmann)
319
+ * Fixed: BUILDR-313 Prevent release with uncommitted_files on Git 1.4.3+ (Alexis Midon)
320
+ * Fixed: BUILDR-315 Fix Eclipse .classpath for local libraries (Mat Schaffer)
321
+ * Fixed: BUILDR-304 Referencing an existing package task using the package
322
+ method fails if the package has a custom filename (Rhett Sutphin)
323
+ * Fixed: BUILDR-322 When specifying files (instead of directories) as sources for compile task,
324
+ Buildr uses target directory timestamp only (not compiled output timestamp)
325
+ * Fixed: BUILDR-324: Regression - baseDir system property is not set when executing tests [Alexis Midon]
326
+ * Fixed: BUILDR-325: Overriding package spec with classifer doesn't work (Antoine Toulme)
327
+
328
+ 1.3.4 (2009-04-21)
329
+ * Added: BUILDR-93 Add specs for ScalaCheck integration
330
+ * Added: BUILDR-94 Add specs for Scala Specs integration
331
+ * Added: BUILDR-136 Support Scala/Java Joint Compiler (Daniel Spiewak).
332
+ * Added: BUILDR-159 Improved 'check' to accept both tar and tgz archives.
333
+ * Added: BUILDR-164 New 'artifacts:sources' task to download source code
334
+ for artifact jars.
335
+ * Added: BUILDR-222 Support Git as a version control system
336
+ * Added BUILDR-223 Release Task: customizable commit message
337
+ * Added: BUILDR-242 Include Scala-Tools Repository by Default.
338
+ * Added: BUILDR-268 Allow proxying for https connections (Joel Muzzerall).
339
+ * Added: Info message "Packaging filename.ext" now displayed for packaging tasks
340
+ * Added: Added Scala.version and Scala.version_str
341
+ * Change: require 'buildr/scala' is now officially required to use Scala features
342
+ * Change: Introduced new options from Rake 0.8.3: -I (libdir), -R (rakelib),
343
+ --rules, --no-search, --silent.
344
+ * Change: Upgraded to Rubyforge 1.0.1.
345
+ * Change: Upgraded to use Rake 0.8.4.
346
+ * Change: Upgraded to use Net-SSH 2.0.11.
347
+ * Change: Upgraded to use RSpec 1.2.2.
348
+ * Change: Upgraded to use JRuby 1.1.6 (when auto-installing).
349
+ * Change: Buildr, no longer in incubation (hurray!): new site, mailing list, SVN, Git.
350
+ * Change: BUILDR-171 Eclipse task generates meta-data files for projects with
351
+ test source code but no main source code.
352
+ * Change: BUILDR-177 Moved cobertura and emma extensions to lib directory.
353
+ * Change: BUILDR-187 Source code attachment for Eclipse .classpath.
354
+ * Change: BUILDR-188 Source code attachment for IDEA .iml file (Marko Sibakov).
355
+ * Change: BUILDR-209 Scala Specs Should Use src/specs/scala/
356
+ * Change: BUILDR-237 Use MacPorts Scala on OS X.
357
+ * Change: BUILDR-260 Upgrade to Scala 2.7.3 compatible dependencies:
358
+ ScalaSpecs 1.4.3, ScalaCheck 1.5 and ScalaTest 0.9.5
359
+ * Change: Buildr now uses Jekyll to generate Web site/documentation:
360
+ http://github.com/mojombo/jekyll/ This replaces Docter so less code to
361
+ maintain and the same Textile/Liquid mechanism as when using Github pages.
362
+ * Change: To access Release object (e.g. to set tag_name) use Release.find.
363
+ * Fixed: Removed double complete/fail messages showing up on console.
364
+ * Fixed: BUILDR-140 Get rid of const_defined? all across the board.
365
+ * Fixed: BUILDR-158 Nailgun is now a delegate for buildr/drb (a pure-ruby dRuby server)
366
+ * Fixed: BUILDR-170 ArtifactNamespace#method_missing has a condition that is never true.
367
+ * Fixed: BUILDR-172 Scala compiler not loaded by default.
368
+ * Fixed: BUILDR-175 Fail to find child project when calling project method inside project definition.
369
+ * Fixed: BUILDR-185 Exception if using artifact names with hyphen (Joel
370
+ Muzzerall).
371
+ * Fixed: BUILDR-192 TestNG report results are overwritten (Alexis Midon).
372
+ * Fixed: BUILDR-193 TestNG uses project name for suite name (not valid file
373
+ name on Windows).
374
+ * Fixed: BUILDR-194 Buildr always adds 'Manifest-Version' to generated manifest file.
375
+ * Fixed: BUILDR-198 Filter#run always calls mkpath with :verbose.
376
+ * Fixed: BUILDR-199 ArchiveTask#needed uses 'each' with no effect (Ittay Dror).
377
+ * Fixed: BUILDR-201 Sample project is not valid (Alexis Midon).
378
+ * Fixed: BUILDR-214 Buildr is stuck uploading to sftp repository (Heikki Hulkko).
379
+ * Fixed: BUILDR-216 Profiles documentation is wrong (Shane Witbeck).
380
+ * Fixed: BUILDR-218 Manifest.from_zip fails if the zip doesn't already have
381
+ META-INF/MANIFEST.MF (Joel Muzzerall).
382
+ * Fixed: BUILDR-226 Release task should use XML output of "svn info" instead
383
+ of human-readable output (Alexis Midon).
384
+ * Fixed: BUILDR-230 release task fails if there's a space in the path to the
385
+ Buildfile.
386
+ * Fixed: BUILDR-235 JRuby download link is broke (Alexis Midon).
387
+ * Fixed: BUILDR-239 HTTP redirects lose authentication information (Joel
388
+ Muzzerall).
389
+ * Fixed: BUILDR-240 Make TestNG print traces in the console (Alex Midon).
390
+ * Fixed: BUILDR-241 IDEA7X IPR generation does not pay attention to base_dir
391
+ for submodules (Rhett Sutphin).
392
+ * Fixed: BUILDR-247 OpenObject does not work with Hash#only (Rhett Sutphin).
393
+ * Fixed: BUILDR-253 ZipTask now uses Zlib::DEFAULT_COMPRESSION instead of NO_COMPRESSION
394
+ * Fixed: BUILDR-255 tasks/*.rake files are loaded more than once.
395
+ * Fixed: BUILDR-261 ScalaSpecs should be run with Scala dependencies
396
+ * Fixed: BUILDR-263 package(:war).merge not working correctly with exclude()
397
+ * Fixed: BUILDR-271 Using buildr --environment leads to "Don't know how to
398
+ build task XXX".
399
+ * Fixed: BUILDR-269 rspec bdd is broken (Jeff Hodges)
400
+ * Fixed: BUILDR-272 'rake gem' does not build gem under JRuby (Clinton R.
401
+ Nixon).
402
+ * Remove: BUILDR-215 buildr:freeze and unfreeze tasks don't work since we're
403
+ no longer running with the rake command.
404
+
405
+ 1.3.3 (2008-10-08)
406
+ * Added: JtestR support. Implemented pending jtestr specs.
407
+ * Added: Growl notifications (OS X only).
408
+ * Added: error, info and trace methods.
409
+ * Added: Release task support for alternative SVN repository layout
410
+ (e.g., http://my.repo.org/trunk/foo).
411
+ * Added: BUILDR-128 Emma support
412
+ * Added: BUILDR-135. Extracted reusable replacement logic into Filter::Mapper
413
+ * Added: BUILDR-148 It is now possible to set the version of various 3rd
414
+ party libraries from the build.yml file. Supported libraries
415
+ include Ant and the various test and BDD frameworks.
416
+ * Change: Error reporting now shows 'buildr aborted!' (used to say rake),
417
+ more of the stack trace without running --trace, and when running
418
+ with supported terminal, error message is red.
419
+ * Change: Eclipse task updated to documented Scala plugin requirements
420
+ (http://www.scala-lang.org/node/94)
421
+ * Change: Buildr.application.buildfile returns a task instead of a String.
422
+ * Change: BUILDR-104 Buildr::group has :under and :version, but not :type.
423
+ Now it has :type too (Lacton).
424
+ * Change: BUILDR-139 Incremental test run.
425
+ * Change: BUILDR-141 Removed NEXT_VERSION from release task.
426
+ * Change: BUILDR-148 ant-junit no longer included in root classpath, but
427
+ specified during taskdef.
428
+ * Change: BUILDR-153 To customize the SVN tag used by the release task, set
429
+ Release.tag_name to either the tag value or a proc that takes the
430
+ version number and return the desired tag.
431
+ * Fixed: Should not display "(in `pwd`, development)" when using --quiet.
432
+ * Fixed: Release task's regexp to find either THIS_VERSION and VERSION_NUMBER.
433
+ * Fixed: BUILDR-106 download(artifact(...)=>url) broken in certain cases
434
+ (Lacton).
435
+ * Fixed: BUILDR-108 Trace to explain why a compile is done (Lacton).
436
+ * Fixed: BUILDR-109 Failure of "Buildr::Filter should respond to :include and
437
+ use these inclusion patterns" (Lacton).
438
+ * Fixed: BUILDR-110 Error creating buildfile from POM when missing plugin
439
+ configuration (Geoffrey Ruscoe).
440
+ * Fixed: BUILDR-112 Using a user gem repository with 'rake setup' (Lacton).
441
+ * Fixed: BUILDR-114 Hash.from_java_properties does not behave
442
+ like java.util.Properties (Lacton).
443
+ * Fixed: BUILDR-116: TestTask should include the main compile target in its
444
+ dependencies, even when using non standard directories (Lacton).
445
+ * Fixed: BUILDR-117 Shared directory for both code and resources produces
446
+ duplicate Eclipse classpath entries (Nathan Hamblen)
447
+ * Fixed: BUILDR-119 Eclipse task does not accept test resource folders
448
+ (Lacton)
449
+ * Fixed: BUILDR-122: eclipse task should not check for directory existence
450
+ * Fixed: BUILDR-123: eclipse task should honor ResourceTask's target directory
451
+ * Fixed: BUILDR-124 unzip(...).from_path does not work correctly without
452
+ include (Rhett Sutphin).
453
+ * Fixed: BUILDR-126 Tests options are shared between unrelated projects when
454
+ using #options instead of #using (Lacton).
455
+ * Fixed: BUILDR-129. Modifying a project manifest should not alter it's
456
+ parent project manifest.
457
+ * Fixed: BUILDR-137 JRuby 1.1.3 and Buildr 1.3.2 don't appear to work
458
+ (on Windows).
459
+ * Fixed: BUILDR-138 ScalaTest premature use of Buildr::Repositories
460
+ inconsistent with customizing locations.
461
+ * Fixed: BUILDR-152 Project.task fails when task name starts with a colon.
462
+ * Fixed: BUILDR-157 Tasks library not loaded from a submodule.
463
+ * Docs: BUILDR-111 Troubleshoot tip when Buildr's bin directory shows up in
464
+ RUBYLIB (Geoffrey Ruscoe).
465
+
466
+ 1.3.2 (2008-07-18)
467
+ * Added: --prereqs command line argument to show all tasks and their
468
+ dependencies. You can also follow with regular expression to narrow down the
469
+ list of tasks.
470
+ * Changed: Upgraded to Rubyforge 1.0.0.
471
+ * Changed: BUILDR-86 Use newest versions of net-ssh and net-sftp gems.
472
+ * Changed: BUILDR-88 Test classes/resources should come before compile
473
+ classes/resources so they load up earlier in java classpath.
474
+ * Changed: BUILDR-102 Update JUnit Version to 4.4.
475
+ * Fixed: BUILDR-73 idea7x task incorrect adds target/resources to the sources
476
+ paths.
477
+ * Fixed: BUILDR-76 Added more specs and fixes to compile task.
478
+ * Fixed: BUILDR-77 Layout feature not working.
479
+ * Fixed: BUILDR-79 Remove :source option for Scala compiler
480
+ * Fixed: BUILDR-80 Fix reference to Util#timestamp method on nailgun addon.
481
+ * Fixed: BUILDR-82 Temporary work around for Net::SSH 2.0.2 attempting to
482
+ load Pageant DLLs when running on JRuby/Windows.
483
+ * Fixed: BUILDR-89 JUnit (and all other Java frameworks) no longer include
484
+ abstract classes.
485
+ * Fixed: BUILDR-90 Installing from source doesn't work with JRuby.
486
+ * Fixed: BUILDR-91 When doing a release, buildr should spawn the same version
487
+ of buildr
488
+ * Fixed: BUILDR-92 IDEA 7x: add resources directories to classpath.
489
+ * Fixed: BUILDR-95: Only download Scala test framework artifacts when required
490
+ * Fixed: BUILDR-100 Directory structure documentation needs updating.
491
+ * Fixed: Installation instructions updated for RubyGems 1.2.0.
492
+
493
+ 1.3.1.1 (2008-06-04)
494
+ * Fixed: BUILDR-78 Broken dependency on Rubyforge Gem.
495
+
496
+ 1.3.1 (2008-05-19)
497
+ * Added: Downloading files from SFTP server, uploading to HTTP.
498
+ * Added: jibx_bind method to use JiBX for Java<=>XML binding (by David
499
+ Peterson).
500
+ * Changed: Upgraded to Net::SSH 2.0 and Net::SFTP 2.0.
501
+ * Fixed: BUILDR-67 HTTP GET now works with query parameters (Tommy Knowlton).
502
+ * Fixed: BUILDR-68 Now accepting JAVA_HOME setting on OS X (Nathan Hamblen).
503
+ * Fixed: JUnit now accepts java_args and passes these arguments to the JVM
504
+ (only applicable when forking).
505
+ * Fixed: BUILDR-70 JUnit not passing environment variables from the
506
+ :environment option.
507
+ * Fixed: BUILDR-75 Filter now runs if there's a target directory, even if
508
+ there are no source files to copy over, since everyone else just checks
509
+ resources.target for existence before depending on it.
510
+ * Fixed: BUILDR-63 Possible fix.
511
+
512
+ 1.3.0 (2008-04-25)
513
+ * Added: Testing with EasyB (Nicolas Modrzyk).
514
+ * Added: Testing with JBehave (John Layton).
515
+ * Added: Testing with RSpec (Nick Sieger).
516
+ * Added: Nailgun integration for improved user experience when running on
517
+ JRuby.
518
+ * Added: Cobertura tasks can be invoked for a single project using project
519
+ name as prefix to cobetura tasks.
520
+ * Added: Cobertura can exclude specified classes from instrumentation.
521
+ * Added: ArchiveTask#clean can be used to remove content from a package.
522
+ * Added: Groovy compiler.
523
+ * Added: Mechanism to simplify creating extensions (see Extension module).
524
+ * Added: To run all test cases 'rake spec'. Test coverage reports will show
525
+ up in html/coverage. To run failing tests against, 'rake failing'.
526
+ * Added: Layout class for controlling the project layout. Also cleaned up
527
+ places where paths were used instead of path names.
528
+ * Added: HTTP Basic authentication support (Yuen-Chi Lian).
529
+ * Added: EAR packaging (Victor Hugo Borja).
530
+ * Added: Profiles(.yaml), based on the code provided by Yanko Ivanov.
531
+ * Added: Resources task picks the default mapping from the filter element of
532
+ the current profile (if specified).
533
+ * Added: Consolidated API for RJB and JRuby, replacing the now deprecated
534
+ JavaWrapper.
535
+ * Added: JRuby 1.1 support (Victor Hugo Borja, Nick Sieger).
536
+ * Added: IDEA 7 task: use buildr idea7x (Shane Witbeck).
537
+ * Added: Experimental support for installing/loading Gems as part of a build.
538
+ * Added: Experimental support for YAML configurtion files:
539
+ ~/.buildr/settings.yaml, build.yaml and profiles.yaml.
540
+ * Added: Ability to create a package that is not an artifact and specify the
541
+ target file using the :file argument.
542
+ * Changed: JUnit/TestNG test cases are selected by superClass or annotations,
543
+ not by class-name pattern.
544
+ * Changed: Upgraded to Antwrap 0.7.0, thanks to Caleb Powell for relicensing
545
+ under Apache License.
546
+ * Changed: Upgraded to Rake 0.8, RSpec 1.1, RJB 1.1, OpenJPA 1.0.1.
547
+ * Changed: Resources are now copied to target/resources instead of
548
+ target/classes, and target/test/resources instead of target/test-resources.
549
+ * Changed: Test cases are now compiled into target/test/classes instead of
550
+ target/test-classes.
551
+ * Changed: Compile extension and CompileTask are now separate from the Java
552
+ module. Multiple compilers can be used, either guessed from the project
553
+ layout, or specified with compile.using(:name).
554
+ * Changed: Test extension and TestTask are now separate from the Java module.
555
+ JUnit and TestNG are Java specific extensions picked using test.with(:name).
556
+ * Changed: For compile and test, use dependencies instead of classpath (with
557
+ works are before).
558
+ * Changed: Test framework componentized along the same lines as the
559
+ compilers.
560
+ * Changed: The way packaging is handled: package_as_[type] is now called once
561
+ for a given package with the exact file name. If packaging requires a change
562
+ to the specifiction (e.g. a different file type than the package type), add a
563
+ package_as_[type]_spec method.
564
+ * Changed: The default packaging type is inferred from the compiler, and
565
+ without a compiler, defaults to :zip.
566
+ * Changed: JUnit test framework now runs on all classes that extend
567
+ junit.framework.TestCase.
568
+ * Changed: Scalac compiler now used by the regular compile task, the scalac
569
+ task is deprecated.
570
+ * Changed: RDoc are now generated using Allison
571
+ (http://blog.evanweaver.com/files/doc/fauna/allison).
572
+ * Changed: Resource tasks no longer generate target directory if there are no
573
+ resources to copy over.
574
+ * Changed: To prevent collissions with required files, the source layout now
575
+ places everything under lib/buildr, so require 'core/compile' is now require
576
+ 'buildr/core/compile'.
577
+ * Changed: The various Java tasks (JavaCC, XMLBeans, JDepends, etc) are now
578
+ located in the extra directory, and may at some point relocate to an addon
579
+ Gem.
580
+ * Removed: Prepare tasks removed.
581
+ * Removed: All deprecated features since 1.1. If you've seen warnings before,
582
+ except the build to break.
583
+ * Removed: No longer using Facets or recommending you use it in buildfiles.
584
+ * Fixed: More typos/documentation fixes by Lacton
585
+ * Fixed: Artifact.pom resolves artifact without classifier, i.e
586
+ org.testng:testng:jar:jdk15:5.1 uses org.testng:testng:pom:5.1 (Tommy).
587
+ * Fixed: More patches towards JRuby support, courtesy of Vic Borja.
588
+ * Fixed: Error when downloading a file from a server which answers with a
589
+ response with no content length.
590
+ * Fixed: Improved the Eclipse task (BUILDR-17): removed resources target
591
+ directory from the source directories, made the main resource directories
592
+ relative to the project directory and reordered project elements (Thomas
593
+ Marek).
594
+ * Fixed: When compiling Scala only include scala-library and scala-compiler
595
+ JARs (John Layton).
596
+ * Fixed: POM generation now applies JAR as default packaging if unspecified
597
+ (Maarten Billemont).
598
+
599
+ 1.2.10 (2007-11-26)
600
+ * Changed: Resources sets permission on copied files to make them
601
+ read/write-able (Shane Witbeck).
602
+ * Changed: Artifact download no longer generates destination directory if not
603
+ downloaded (Antoine).
604
+ * Fixed: EOL in MANIFEST.MF.
605
+ * Fixed: Bunch of typos, courtesy of Merlyn Albery-Speyer and Soemirno
606
+ Kartosoewito.
607
+
608
+ 1.2.9 (2007-11-08)
609
+ * Changed: Upgraded to RJB 1.0.11.
610
+ * Fixed: Backward compatibility in Java.rjb/wrapper.
611
+
612
+ 1.2.8 (2007-11-01)
613
+ * Added: Resolving Maven snapshots from remote repository (Rhett Sutphin)
614
+ * Changed: scala options.target now takes number, e.g. "1.5" instead of
615
+ "jvm-1.5" (Nathan Hamblen)
616
+ * Changed: Eclipse task uses updated Scala plugin nature and builder (Alex
617
+ Boisvert)
618
+ * Fixed: Bringing Buildr back to 1.0.9, XMLBeans fix.
619
+
620
+ 1.2.7 (2007-10-29)
621
+ * Added: You can create an artifact from a given file using
622
+ artifact(<spec>).from(<path>). You can then install it into the local
623
+ repository or upload it to the release server using install(<artifacts>) and
624
+ upload(<artifacts>). (Idea: Shane Witbeck and Tommy Mason).
625
+ * Added: ANTLR support.
626
+ * Changed: Speed boost to ZIP packaging.
627
+ * Changed: RjbWrapper is now JavaWrapper, and revised to nicely support JRuby.
628
+ A few other minor tweaks to make JRuby support possible in the future. (Travis
629
+ Tilley)
630
+ * Changed: JUnit now runs tests with clonevm false by default, you can change
631
+ with test.using :clonevm=>true (Karel)
632
+ * Changed: JUnit now switches over to project's base directory.
633
+ * Changed: package(:war).with(:libs, :classes) uses only these specified libs
634
+ and class directories, replacing any previous value.
635
+ * Fixed: Jetty task no longer sets "log4j.configuration" system property
636
+ * Fixed: release task didn't work
637
+
638
+ 1.2.6 (2007-09-26)
639
+ * Added: Option for setting environment name (-e) and attribute accessor
640
+ (Buildr.environment). Default taken from BUILDR_ENV environment variable.
641
+ * Added: AAR packaging for Axis2 service archives (Alex Boisvert)
642
+ * Added: Environment variable for JUnit tests (test.using :environment=>).
643
+ * Added: tar method similar to zip method.
644
+ * Added: Experimental transitive method. Looks like artifacts, quacks like
645
+ artifacts, but returns artifacts by the boat load. (Credit, Daniel Roop)
646
+ * Changed: Now accepting JAVA_OPTS in addition to JAVA_OPTIONS.
647
+ * Changed: TarTask is now based on ArchiveTask, same API as ZipTask.
648
+ * Changed: Javadoc array arguments now passed as multiple command line options
649
+ (e.g. :link=>['foo', 'bar'] becomes --link foo --link bar). (Daniel Roop)
650
+ * Changed: Jetty task now uses SLF4J instead of commons-logging + log4j for
651
+ better hot-swap capability and plugability (Alex Boisvert)
652
+ * Removed: Turns out --verbose command line option is useless. Removed.
653
+ * Fixed: Jetty task now uses WebAppContextClassLoader to support hot-swapping
654
+ webapps (Alex Boisvert)
655
+ * Fixed: "release" task now works with SVN URLs ending with /branches/*/ (Alex
656
+ Boisvert)
657
+ * Fixed: Resources not included in JAR/WAR unless there's a src/main/java
658
+ directory (Olexandr Zakordonskyy).
659
+ * Fixed: Files starting with dot (e.g. .config) not copied over as resource
660
+ files, and not included in ZIP (Olexandr Zakordonskyy).
661
+ * Fixed: Empty directories not copied over as resources (Olexandr
662
+ Zakordonskyy).
663
+ * Fixed: JAVA_OPTS and test.options[:java_args] not passed to JUnit task
664
+ (Staube).
665
+ * Fixed: archive.exclude doesn't work when including a directory using
666
+ :from/:as option.
667
+ * Fixed: JUnit/TestNG no longer run inner classes as test classes (Mark
668
+ Feeney).
669
+
670
+ 1.2.5 (2007-08-13)
671
+ * Fixed: Buildr not finding buildfile in parent directory, or switching to
672
+ parent directory.
673
+ * Fixed: checks.rb:103: warning: multiple values for a block parameter (2 for
674
+ 1)
675
+ * Fixed: ZIPs include empty META-INF directory.
676
+
677
+ 1.2.4 (2007-08-03)
678
+ * Added: Forking option for JUnit test framework: :once to fork for each
679
+ project, :each to fork for each test case, and false to not fork. (Tammo van
680
+ Lessen)
681
+ * Added: Path traversal in Zip, so zip.path("foo/bar").path("..") returns
682
+ zip.path("foo").
683
+ * Fixed: JUnit test framework output shows errors in console, more readable
684
+ when forking is on (Tammo van Lessen).
685
+ * Fixed: Cobertura reports not working (Anatol Pomozov).
686
+ * Fixed: Zip creates funky directory name when using :as (Tommy Mason).
687
+ * Fixed: package_as_tar incorrectly calling with(options) (Tommy Mason).
688
+ * Fixed: Loading of everything which should get rid of "already initialized
689
+ constant VERSION" warning.
690
+ * Fixed: --requires option now works properly when using buildr.
691
+ * Fixed: MANIFEST.MF lines must not be longer than 72 characters (Tommy
692
+ Mason).
693
+ * Fixed: Creating manifest from array does not place Name first.
694
+ * Fixed: Complain if no remote repositories defined, add at least one
695
+ repository when creating from POM, POM reader fails if dependencyManagement
696
+ missing (Jean-Baptiste Quenot).
697
+ * Fixed: Not looking for buildfile in parent directory.
698
+ * Fixed: Project's compile/test task looking for options in local task of same
699
+ name.
700
+ * Fixed: ZIP/JAR/WAR include directory entries in some cases and not others.
701
+ * Fixed: Computation of relative paths in Eclipse project generation (Cameron
702
+ Pope)
703
+
704
+ 1.2.3 (2007-07-26)
705
+ * Added: Get your buildfile created form existing POM, just run buildr on
706
+ existing Maven project (Anatol Pomozov).
707
+ * Added: package(:tar), package(:tgz), TarballTask dn TarTask (Tommy
708
+ Knowlton).
709
+ * Changed: The ArchiveTask needs no introduction: it's a base task that
710
+ provides common functionality for ZipTask, TarTask and friends.
711
+ * Fixed: Release runs buildr instead of buildr.cmd on Windows (Chris Power).
712
+ * Fixed: Cobertura reports broken (Anatol Pomozov).
713
+
714
+ 1.2.2 (2007-07-18)
715
+ * Added: resources.using and filter.using now accepts a format as the first
716
+ argument, default being :maven, but you can also use :ant, :ruby or pass a
717
+ regular expression
718
+ (http://groups.google.com/group/buildr-talk/browse_thread/thread/5216d5ae8bfff29b).
719
+ * Fixed: Sleek upload with changelog for each release courtesy of Anatol
720
+ Pomozov.
721
+ * Fixed: Zip.path.contains fails on paths with more than one directory
722
+ (http://groups.google.com/group/buildr-talk/browse_thread/thread/5d305bbeeb814d1).
723
+ * Fixed: Speed of sorting entries when creating new Zip file
724
+ (http://groups.google.com/group/buildr-talk/browse_thread/thread/8b4d1b0e983f32f).
725
+ * Fixed: Uploading using SFTP creates directory for uploaded file
726
+ (http://groups.google.com/group/buildr-talk/browse_thread/thread/80021d35cecfecdc).
727
+
728
+ 1.2.1 (2007-07-12)
729
+ * Added: Proxy exclusion, use environment variable NO_PROXY, or
730
+ options.proxy.exclude = <url> || [<url>]
731
+ (http://groups.google.com/group/buildr-talk/t/9f1e988e0dbeea9f).
732
+ * Added: You can now copy resources from multiple source directories, using
733
+ resources.from
734
+ (http://groups.google.com/group/buildr-talk/browse_thread/thread/4f2867a6dbbc19d4).
735
+ * Added: Hash.from_java_properties(string) and hash.to_java_properties.
736
+ * Changed: Buildr.options now wrap various environment variables instead of
737
+ duplicating them (HTTP_PROXY, NO_PROXY, TEST, DEBUG).
738
+ * Changed: No longer passing proxies to transports, instead they obtain them
739
+ from environment variables.
740
+ * Changed: Buildr now uses XJavaDoc 1.1 instead of 1.1-j5. If you need the
741
+ 1.1-j5 fix, see here
742
+ http://groups.google.com/group/buildr-talk/browse_thread/thread/49f3226810466c94/1f0d25d002433fe2.
743
+ * Fixed: One RubyForge release for all packages, instead of one per package
744
+ (Anatol Pomozov).
745
+ * Fixed: buildr command does not recognize project tasks (foo:compile) or
746
+ default task (http://groups.google.com/group/buildr-talk/t/660061a0bc81989a).
747
+ * Fixed: Upload fails on SFTP permissions.
748
+ * Fixed: Hibernate.schema_export not passing Ant task when yielding.
749
+ * Fixed: IntelliJ Idea project files generation for projects more than two
750
+ degrees deep.
751
+
752
+ 1.2.0 (2007-06-06)
753
+ * Added: Artifact.list returns specs for all registered artifacts (those
754
+ created with artifact or package).
755
+ * Added: Buildr.option.java_args are used when creating the RJB JVM, when
756
+ running a Java process (unless you override directly), and when running JUnit
757
+ tests (again, unless override).
758
+ * Added: TestNG support (test.using :testng).
759
+ * Added: You can run multiple tests from the command line, e.g. rake
760
+ test:foo,bar.
761
+ * Added: If you want to distribute source code and JavaDoc alongside your JARs
762
+ (helpful when using IDE/debugging), you can now do so by calling
763
+ package_with_sources and package_with_javadoc on the project (or the parent
764
+ project to affect all its sub-projects).
765
+ * Added: junit:report task generates XML and HTML reports in the reports/junit
766
+ directory.
767
+ * Added: test=all option runs all test cases ignoring failure.
768
+ * Added: project generation for IntelliJ Idea. Imports dependencies properly
769
+ from your local repository (the M2_REPO path variable must be defined),
770
+ supports tests and resources.
771
+ * Added: A check task for each project that runs after packaging and can be
772
+ used to check the build itself, using RSpec matchers.
773
+ * Added: The help task can be used to get basic information about your build.
774
+ Right now it returns a list of described tasks, but you can extend it using
775
+ the help method. Try it out: rake help.
776
+ * Added: Integration tests that run after packaging (unless tests are
777
+ disabled). There's only one integration tests task (duh) that you can access
778
+ from anywhere. You can tell a project to run its tests during the integration
779
+ phase with test.using :integration.
780
+ * Added: package :sources and package :javadoc, used by package_with_sources
781
+ and package_with_javadoc.
782
+ * Added: Unzip paths now return root/target. (Nathan)
783
+ * Added: buildr command line, replacing rake. Differs from rake in two ways:
784
+ uses buildfile by default (but Rakefile also works) and offers to create
785
+ buildfile if you don't already have one.
786
+ * Added: options.proxy.http now set from the environment variable HTTP_PROXY
787
+ (Anatol Pomozov).
788
+ * Added: options.java_args now set from environment variable JAVA_OPTIONS.
789
+ * Changed: Filter now complains if source directory or target directory not
790
+ set, or if source directory does not exist.
791
+ * Changed: Filter.run returns true if filter run, false otherwise, and can be
792
+ run multiple times.
793
+ * Changed: repositories.proxy returns a URI or nil; you can still set a proxy
794
+ using a hash.
795
+ * Changed: Transports went the way of the Dodo, instead we now use
796
+ read/write/download/upload methods implemented on URI itself.
797
+ * Changed: We now have a way to configure multiple proxies through the
798
+ options.proxy method; use that instead of repositories.proxies.
799
+ * Changed: Upgraded to Ant 1.7.0, JUnit 4.3, JMock 1.2.
800
+ * Changed: TestTask now provides list of test classes and failed classes
801
+ through test_classes and failed_tests attributes.
802
+ * Changed: The jetty method is now available everywhere, so you can change the
803
+ URL using jetty.url = at the top of the Rakefile. Also upgraded to 6.1.3.
804
+ * Changed: Test classes are now identified as either starting with Test* or
805
+ ending with *Test, before attempting any include/exclude patterns. Anything
806
+ ending with *TestCase or *Suite ignored for now (but if you explain why, we
807
+ can add it back).
808
+ * Changed: What used to be the projects task is now help:projects task,
809
+ anticipating more help: tasks to come.
810
+ * Changed: We now have 3(!) JDepend tasks: jdepend:swing (with windows!),
811
+ jdepend:text (console) and jdepend:xml (enterprisy).
812
+ * Changed: Good news for packagers: package_as_ yield no longer required, just
813
+ make sure to create the task once and return it each time.
814
+ * Changed: JUnit tests now run using Ant, which makes them faster to run, and
815
+ gives you text/XML reports (check out the reports/junit directory).
816
+ * Changed: Cobertura now writes reports to reports/cobertura, in fact, if
817
+ you're looking for a report of any kind, the reports directory is the place to
818
+ find it.
819
+ * Changed: Upgraded to AntWrap 0.6. Note that with AntWrap 0.6 we yield to the
820
+ block instead of doing instance_eval, so any call to the ant project must be
821
+ prefixed with an AntProject object. Code that relies on the old functionality
822
+ (and that's pretty much any code with element-containing tasks) will break.
823
+ * Changed: artifacts now accepts a struct.
824
+ * Changed: The repositories.download method folded into Artifact, the
825
+ repositories.deploy method renamed upload and folded into ActsAsArtifact.
826
+ * Changed: The deploy task is now called upload, and repositories.deploy_to is
827
+ now repositories.release_to.
828
+ * Removed: The check task, which previously was a way to find some circular
829
+ dependencies (multitask) but not others (dynamically defined).
830
+ * Removed: JUnitTask, test.junit and Java.junit methods all deprecated;
831
+ anything you need to affect the unit tests is right there in TestTask.
832
+ * Removed: The package(:jar) and package(:war) options, such as :manifest,
833
+ :include, :libs are all deprecated. Instead, use the package method to define
834
+ the package, and the with method to enhance it, e.g.
835
+ package(:war).with(:libs=>...) instead of package(:war, :libs=>...).
836
+ * Removed: The []= method on ZipTask and anything derived from it is
837
+ deprecated in favor of using attribute accessors.
838
+ * Removed: Ant.executable and Ant.declarative are deprecated. Use Buildr.ant
839
+ instead of Ant.executable. Use AntWrap directly if you need the
840
+ Ant.declarative functionality.
841
+ * Fixed: Filter now properly handles multiple keys on the same line.
842
+ * Fixed: Tests teardown now properly executing.
843
+ * Fixed: Cobertura tasks now run tests, even if test=no.
844
+ * Fixed: XMLBeans compile task not detecting change to XSD file.
845
+ * Fixed: URI.download and download task do not create directory path for
846
+ downloaded file (Anders Bengtsson).
847
+ * Fixed: Gets JVM version number from system property java.version instead of
848
+ calling java -version.
849
+ * Fixed: Artifact downloads POM first, such that you can download/create/fake
850
+ it youself.
851
+
852
+ 1.1.3 (2007-06-12)
853
+ * Added: Long awaited idea project files generation. Very early code, the iml
854
+ seems to be generated okay but needs testing. The ipr is still missing but
855
+ will come in due time (and it's not always necessary anyway).
856
+ *Fixed: Doc bug: unzip doesn't have an into(dir) method.
857
+ *Fixed: File names don't always have a dot.
858
+ *Fixed: For Jetty servers, http://foo//bar is not http://foo/bar
859
+
860
+ 1.1.2 (2007-05-29)
861
+ * Added: Allow passing :java_args option to the junit task
862
+ * Added: Hibernate XDoclet and SchemaExport tasks. (Requires buildr/hibernate)
863
+ * Added: JDepend UI for seeing depenencies across all projects. (Requires
864
+ buildr/jdepend)
865
+ * Added: Cobertura test coverage tasks, reporting both html and xml. (Requires
866
+ buildr/cobertura)
867
+ * Changed: tools_jar now returns empty array on OS X, part of the ongoing
868
+ Write Once/Test Everywere effort. (Credit Paul Brown)
869
+ * Fixed: Work around keep_alive bug in Net::HTTP.
870
+ (http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/10818)
871
+
872
+ 1.1.1 (2007-05-16)
873
+ * Changed: Test case class names must end with Test, TestCase, Suite or
874
+ TestSuite.
875
+ * Changed: You can now run rake test:{foo,bar} to match against either foo or
876
+ bar (requires \{..\} on UNIX).
877
+ * Changed: JAVA_HOME now required on all platforms, along with more OS X
878
+ fixes. (Credit Paul Brown)
879
+ * Fixed: You can now run rake test:<name> from any directory, and it will find
880
+ just the right test cases.
881
+
882
+ 1.1.0 (2007-05-13)
883
+ * Added: Proxy setting for downloading from remote repositories (use
884
+ repositories.proxy = ...).
885
+ * Added: projects task to list all the projects you can build.
886
+ * Added: Project attribute target to specify the target directory.
887
+ * Changed: The project and projects methods now accepts relative names when
888
+ called on a project. For example, project("foo").project("bar") finds the
889
+ sub-project "bar" in "foo".
890
+ * Changed: The project method now returns self if called on a method with no
891
+ name.
892
+ * Changed: The -warning flag (javac) is now set to true only when verbose.
893
+ * Changed: OpenJPA mapping now using Ant task instead of spawning another Java
894
+ instance.
895
+ * Changed: The test:name pattern translates to *name* so you can run tests by
896
+ package name, but only if you don't use * in the pattern.
897
+ * Changed: All projects are not evaluated when referenced (i.e. calling
898
+ project/projects) or before running any task. Project tasks do not exist until
899
+ a projet is evaluated.
900
+ * Removed: The projects method no longer accepts the :in argument, call
901
+ projects on a project instead.
902
+ * Fixed: Local directory tasks now work from any directory in the project.
903
+ * Fixed: Artifacts no longer created with timestamp from server.
904
+ * Fixed: Buildr no longer fails when run without tools.jar or JAVA_HOME
905
+ (OS X). (Credit Lyle Johnson)
906
+ * Fixed: Manifest gets EOL to keep EOF company. (Credit Tommy Knowlton)
907
+ * Fixed: Compile tasks clean after themselves when target directory changed.
908
+ (Credit Lyle Johnson)
909
+
910
+ 1.0.0 (2007-05-04)
911
+ * Added: buildr:freeze and buildr:unfreeze task. These set the Rakefile to use
912
+ a particular version of Buildr, freezing by setting to the current version of
913
+ Buildr, unfreeze to use the latest Gem.
914
+ * Added: Buildr.options, with three options to start with: test, debug and
915
+ parallel.
916
+ * Added: Buildr.option.debug or environment variable DEBUG to control the
917
+ compiler debug option. Defaults to yes, except when doing a release.
918
+ * Changed: Buildr now fails nicely if JAVA_HOME not set.
919
+ * Changed: Migrated test cases to RSpec 0.9.
920
+ * Changed: Extended circular dependency check to multitask.
921
+ * Changed: JavaCC using RJB.
922
+ * Changed: OpenJPA 0.9.7 no longer snapshoted.
923
+ * Fixed: For Windows users: user's home directory, fu_check_options is now
924
+ rake_check_options, java command works around funky system bbug.
925
+
926
+ 0.22 (2007-04-26)
927
+ * Added: Calling projects(:in=>foo) returns only the sub-projects defined in
928
+ foo.
929
+ * Added: _() as shortcut for path_to().
930
+ * Added: You can pass properties to java by setting the :properties options.
931
+ * Added: JUnit task has a way of setting options (options accessor and using
932
+ method), which for now supports passing properties to java.
933
+ * Added: You can now use the struct method to create a Struct for structoring
934
+ your multiple artifacts.
935
+ * Changed: Use rake artifacts to download all artifacts not already in the
936
+ local repository, and also download modified artifacts
937
+ (*cough*snapshots*cough*)
938
+ * Changed: Transport.download now uses timestamp on the destination file and
939
+ If-Modified-Since header to skip downloads of unmodified files.
940
+ * Changed: Downloading artifact sets the time stamp from the repository.
941
+ * Changed: Use buildr.rake in the project's directory and your home directory,
942
+ instead of buildr.rb.
943
+ * Changed: filter method accepts one argument, the source directory. Use
944
+ filter(src).into(target).
945
+ * Changed: Running Javac/Apt/Javadoc in process.
946
+ * Changed: Using Ant for OpenJPA enhancer and XMLBeans schema compiler.
947
+ * Changed: Jetty, JavaCC, OpenJPA and XMLBeans are no longer included by
948
+ default. You need to require them explicitly, e.g. require "buildr/jetty".
949
+ * Removed: Tasks no longer use a base directory, always map paths directly
950
+ using file, path_to or _().
951
+ * Fixed: The artifacts task no longer downloads POMs for artifacts created by
952
+ the Rakefile.
953
+
954
+ 0.21 (2007-04-20)
955
+ * Added: Methods to read and write a file (shortcut for
956
+ File.read/File.open.write).
957
+ * Changed: Filter task now takes a source directory and target directory, and
958
+ copies all included (sans excluded) files between the two.
959
+ * Changed: Artifact type is now symbol instead of string (so :jar instead of
960
+ "jar"). You can still specify a string, but the return value from #to_spec or
961
+ #type is a symbol.
962
+ * Changed: Eclipse task now adds "src/main/resources", "src/test/java",
963
+ "src/test/resources" to build path, and excludes ".svn" and "CVS" directories
964
+ from being copied into target directories.
965
+ * Changed: The test task will now run JUnit test cases from classes ending
966
+ with Test or Suite. And the inclusion pattern is always set.
967
+ * Fixed: Project property not inherited if false.
968
+
969
+ 0.20 (2007-04-18)
970
+ * Added: JavadocTask to generate Javadoc documentation for the project,
971
+ javadoc method on the project itself to return its javadoc task, and
972
+ Java.javadoc to do all the heavy lifting.
973
+ * Changed: Release code is now implemented as module instead of class. SVN
974
+ copy made from working copy instead of double commit.
975
+ * Removed: package :file_name options. Does not work with deployed artifacts
976
+ or POMs.
977
+ * Fixed: Packages not deployed in the right path (but POMs are).
978
+ * Fixed: JARs and WARs include redundant META-INF directory.
979
+ * Fixed: The local package task is now a dependency for install/deploy, and
980
+ build is dependency for package.
981
+
982
+ 0.19 (2007-04-13)
983
+ * Fixed: Eclipse task correctly handles FileTasks
984
+ * Fixed: Eclipse task output directory is "target/classes"
985
+ (Project.compile.target) instead of "/target"
986
+ * Added: Set specific file permissions when uploading with SFTP transport with
987
+ :permission option
988
+ * Fixed: Correctly use JAVA_HOME environment variable, if available, for
989
+ determining java version
990
+ * Added: ConcatTask and concat: a file task that creates or updates the target
991
+ file by concatenating all the file prerequisites.
992
+ * Added: Ant module (requires antwrap and rjb Gems), so also added RJB setup
993
+ module.
994
+ * Added: When zipping you can include the contents of a directory using
995
+ :as=>".".
996
+ * Added: Convenience apt method returns a file task that generates sources
997
+ using APT.
998
+ * Added: Convenience open_jpa_enhance method to enhance compiled files.
999
+ * Added: Convenience compile_xml_beans setups the compiler to include
1000
+ XSD-generated XML Beans.
1001
+ * Added: Convenience javacc/jjtraa methods return file tasks that generate
1002
+ source files.
1003
+ * Added: build is now the default task.
1004
+ * Added: jetty:start and jetty:stop tasks to start/stop the server from the
1005
+ console.
1006
+ * Added: jetty:use to start Jetty inside the build or hook to an existing
1007
+ server.
1008
+ * Added: jetty:setup and jetty:teardown to perform tasks around jetty:use.
1009
+ * Added: The local build task will now execute the local test task. So
1010
+ building a project (or sub-project) will run the test cases on that project
1011
+ (or sub-project) but not any of its dependencies.
1012
+ * Added: ZipTask accepts nested path (i.e. calling path inside a path).
1013
+ * Added: package(:war) by defaults picks libraries from the compiler
1014
+ classpath. You can always override by passing the :libs option.
1015
+ * Changed: Eclipse task now generates library path with M2_REPO variable or
1016
+ project-relative paths where appropriate
1017
+ * Changed: compile.target (CompileTask) and resources.target (Filter) are now
1018
+ file tasks, not strings. So passing the target to someone else will hopefully
1019
+ convience them to invoke or enhance it.
1020
+ * Changed: Java related tasks like OpenJPA, XMLBeans, JavaCC all moved to the
1021
+ Buildr::Java module.
1022
+ * Changed: Handling of package_as arguments to support JBI packaging.
1023
+ * Changed: meta_inf project property is an array accepting filenames (strings)
1024
+ and file tasks.
1025
+ * Changed: meta_info by default only includes the LICENSE file from the
1026
+ top-level project.
1027
+ * Changed: The WarTask :classes argument is now a directory name, and will
1028
+ include all files in this directory.
1029
+ * Changed: WarTask and JarTask accept meta_inf argument.
1030
+ * Changed: Behavior of needed? and prerequsities in base Rake::Task. This will
1031
+ probably not affect you, but don't be surprised if it disappears (see
1032
+ lib/core/rake_ext.rb for details).
1033
+ * Changed: Were previous the test task would link to test.run, it now executes
1034
+ the entire test lifecycle, and is the major point for extending the test
1035
+ lifecycle.
1036
+ * Changed: test.run is now test.junit.
1037
+ * Changed: Ant.define is now Ant.declarative, Ant.execute is now
1038
+ Ant.executable.
1039
+ * Changed: The filter method now returns a Filter class that can be used to
1040
+ set a filter, but is not itself a task. Instead, it creates a task when
1041
+ setting its target.
1042
+ * Changed: Project.resources now returns a ResourceTask that includes, but is
1043
+ not itself a filter, accessed using the accessor filter.
1044
+ * Changed: UnzipTask eliminated and replaced with Unzip which you now have to
1045
+ run directly by calling extract. However, unzip method creates a file task
1046
+ and returns an Unzip object that can be used as a reference to that file
1047
+ task.
1048
+ * Changed: Attributes is now InheritedAttributes.
1049
+ * Changed: The first call to package configures the package task from the
1050
+ options, the second call only returns the package task.
1051
+ * Removed: :cp argument, always use :classpath.
1052
+ * Removed: src_dir, java_src_dir, target_dir, webapp_src_dir and all other
1053
+ premature configuration attributes.
1054
+ * Removed: Project tests method deprecated in favor of a single test method;
1055
+ it now accepts an enhancement block, not an instance_eval block.
1056
+ * Removed: FilterTask is dead.
1057
+ * Removed: sub_projects method. Is anyone using this?
1058
+ * Fixed: Local buildr.rb not loaded from running from inside a sub-project
1059
+ directory.
1060
+ * Fixed: Eclipse task now executed whenever a change is made in the Rakefile,
1061
+ or any file it requires, include buildr.rb and task files.
1062
+ * Fixed: Circular dependency in release task.
1063
+
1064
+ 0.18 (2007-03-26)
1065
+ * Added: manifest attribute on project, used by default when packaging
1066
+ JAR/WAR.
1067
+ * Added: default manifest includes build-by, build-jdk and
1068
+ implementation-title.
1069
+ * Added: compile.from(sources) in the same vein as compile.with(classpath)
1070
+ * Added: load all *.rake files form the tasks directory (if exists) for use
1071
+ in
1072
+ the main Rakefile.
1073
+ * Added: Java.tools returns a reference to tools.jar on JDKs that include it.
1074
+ * Added: brought back experimental test tasks.
1075
+ * Added: artifacts task to download all artifacts referenced by project (using
1076
+ either artifact or artifacts method).
1077
+ * Changed: back to old behavior, compile task only executes if there are any
1078
+ files to compile, and compile? method removed.
1079
+ * Changed: repositories.remote is now an array instead of a hash, and
1080
+ repositories are searched in the order in which they appear.
1081
+ * Changed: release task is now a regular task, using the Release object
1082
+ instead of being a ReleaseTask.
1083
+ * Changed: eclipse task executes artifacts task.
1084
+ * Fixed: inherited attributes now cache default value, useful when working
1085
+ with arrays/hashes.
1086
+ * Fixed: manifest file generated even if manifest attribute is false.
1087
+ * Fixed: compile task now properly detects when not all files compiled.
1088
+ * Fixed: bug that caused project file tasks to execute twice.
1089
+
1090
+ 0.17 (2007-03-14)
1091
+ * Added: project.task acts like Rake's task but can also fetch a task from a
1092
+ project using the project's namespace.
1093
+ * Added: project.file acts like Rake's file but resolve relative paths based
1094
+ on the project base directory.
1095
+ * Added: Rake tasks execute in the directory in which they were defined.
1096
+ * Added: enhanced Rake with circular dependency, and you can find all circular
1097
+ dependencies by running rake check.
1098
+ * Added: enhanced Rake in_namespace, if the namespace starts with colon,
1099
+ creates a namespace relative to the root instead of the current namespace.
1100
+ * Changed: a project definition is now a task definition.
1101
+ * Changed: use enhance to extend the project definition instead of
1102
+ after_define.
1103
+ * Changed: LocalDirectoryTask replaced with Project.local_task.
1104
+ * Changed: projects method accepts multiple names, returning only these
1105
+ project definitions, returns all of them with no arguments.
1106
+ * Changed: packge only defines the essentials once, so you can call package on
1107
+ a project to retrieve a specific package by type/id.
1108
+ * Changed: zip task (and jar/war) no longer resolve artifacts for you, must
1109
+ call artifacts directly.
1110
+ * Changed: cannot access a project before it's defined, but can do that with
1111
+ sub-projects to establish dependencies.
1112
+
1113
+ 0.16 (2007-03-07)
1114
+ * Added: zip.include :as=> to include file under specified name.
1115
+ * Added: zip.merge to include the (expanded) contents of one zip file in
1116
+ another.
1117
+ * Added: experimental test task using JUnit and JMock.
1118
+ * Changed: project.to_s returns name, projects returns sorted by name.
1119
+ * Changed: project definition now executed using project's base directory as
1120
+ the current directory.
1121
+ * Fixed: artifact test cases and minor code cleanup.
1122
+ * Fixed: attempts to download artifact even if created by task.
1123
+ * Fixed: release task now deletes old tagged copy and reports SVN usage.
1124
+ * Fixed: OpenJPA not including target directory in classpath.
1125
+
1126
+ 0.15 (2007-02-28)
1127
+ * Fixed: tasks fail unless deployment server specified.
1128
+ * Changed: deploy method executes deployment, instead of returning a task.
1129
+
1130
+ 0.14 (2007-02-28)
1131
+ * Added: check task that looks for obvious errors in the Rakefile.
1132
+ * Added: deploy task for managing deployment.
1133
+ * Added: release task that updates version numbers, commits and tags SVN.
1134
+ * Changed: the project name is now the fully qualified name, e.g. ode:axis2
1135
+ * Changed: you can now lookup a project before it's defined; you still can
1136
+ only define a project once.
1137
+ * Changed: you can lookup projects by full qualified name.
1138
+ * Changed: release_to changed to deploy_to, which is now a getter/setter.
1139
+ * Fixed: removed Java.home which conflicted with JRuby.
1140
+ * Fixed: install task did not re-install modified files.
1141
+ * Fixed: deploying only uploads one artifact.
1142
+ * Fixed: timing issues.
1143
+ * Fixed: Maven classifier now used properly.
1144
+
1145
+ 0.13 (2007-02-26)
1146
+ * Added: global java method.
1147
+ * Added: project build method.
1148
+ * Added: OpenJPA mapping_tool method.
1149
+ * Added: Rakefile to generate Gem.
1150
+ * Changed: you can now lookup a sub-project from the top project method.
1151
+ * Changed: the projects methods return all sub-projects.
1152
+ * Fixed: bug in JarTask that resolved artifacts too early.
1153
+ * Fixed: global tasks (clean, build, etc) now complain if executed from a
1154
+ directory that does not map to any project.
1155
+ * Fixed: to work with Rake 0.7.2.
1156
+
1157
+ 0.12 (2007-02-24)
1158
+ * Added: call prepare with list of tasks to add them as prerequisites.
1159
+ * Added: project.id returns the compound name, e.g. foo, foo-bar,
1160
+ foo-bar-baz.
1161
+ * Added: JavaCC, XMLBeans schema compiler, OpenJPA enhancer, APT tasks.
1162
+ * Changed: the default package ID is take from the project ID instead of its
1163
+ name.
1164
+ * Changed: renamed buildr and moved here.
1165
+ * Changed: moved all code into Buildr module.
1166
+ * Fixed: download breaking when POM not found.
1167
+ * Fixed: compile task fails if classpath is empty.
1168
+ * Fixed: zip task fails if target directory does not exist.
1169
+ * Fixed: packaging task does not require build.
1170
+ * Fixed: compiler not showing command when trace is on.
1171
+ * Fixed: zip dependencies were all fucked up.
1172
+ * Fixed: package should not depend on build.
1173
+
1174
+ 0.11 (2007-02-16)
1175
+ * Added: test cases for unzip task
1176
+ * Added: prepare method to access prepare task
1177
+ * Added: prepare, compile and resources accept a block you can use to enhance
1178
+ the task
1179
+ * Changed: ZipTask executes all includes files as prerequisites, and now
1180
+ includes directories correctly
1181
+ * Changed: Jar/WarTask are now extended using with(options) method
1182
+ * Changed: JarTask now accepts array of sections (each being a hash) for the
1183
+ manifest, and a proc/method to generate it
1184
+ * Changed: added HighLine to hide password entry on the command line
1185
+ * Changed: unzip now using UnzipTask with its own shorthand syntax.
1186
+ * Changed: filter task gets a consistent syntax to unzip
1187
+
1188
+ 0.10 (2007-02-13)
1189
+ * Added: modifier for artifacts
1190
+ * Added: ZipTask, WarTask
1191
+ * Added: get POM artifact directly from artifact
1192
+ * Changed: JAR and WAR packaging based on new and improved Zip task
1193
+ * Changed: options for packaging, but not affecting current Rakefile
1194
+ * Remove: delete task
1195
+
1196
+ 0.9 (2007-02-09)
1197
+ * Added: attributes for configuring compile (sources, classpath, target,
1198
+ options)
1199
+ * Added: shorthand notation for specifying compilation (to, with, using)
1200
+ * Changed: copy task is dead (name conflict), instead we get the better filter
1201
+ task with include/exclude patterns
1202
+ * Changed: rewrite of compile task, now better than ever
1203
+ * Changed: compile can be used inside and outside project
1204
+ * Changed: compiler no longer infers anything from its prerequisites
1205
+ * Changed: compiler accepts files, artifacts and tasks on the classpath
1206
+ * Changed: resources task now working as expected
1207
+ * Remove: global task artifacts was the root of all evil and got canned.
1208
+
1209
+ 0.8 (2007-02-05)
1210
+ * Added: release task and release_to configuration for repositories
1211
+ * Added: SFTP uploader for releases
1212
+ * Added: convenience method group() for specifying multiple artifacts in same
1213
+ group and version number
1214
+ * Added: install target copies package to local repository and adds a POM,
1215
+ uninstall package removes package (and POM) from local repository
1216
+ * Changed: project lookup now happens through project() method
1217
+ * Changed: locating file in the local repository now happens through
1218
+ Repositories
1219
+ * Changed: downloading file into the local repository now happens through
1220
+ Repositories
1221
+ * Changed: notation for specifying multiple artifacts in a string is now
1222
+ foo,bar,baz
1223
+ * Changed: artifact identifier is now specified with the key :id
1224
+ * Changed: download POM alongside artifact and install in local repository
1225
+ * Changed: no more scoping artifacts collection in project, use compile.with
1226
+ instead
1227
+ * Changed: moved HTTP download logic to transports.rb
1228
+ * Removed: deprecated grouping with multiple artifacts under id key
1229
+
1230
+ 0.6 (2007-02-01)
1231
+ * Added: Artifact resolution introduces the notion of a spec, which can be
1232
+ supported using ActsAsArtifact
1233
+ * Added: You can now use a project as an artifact, resulting in all its
1234
+ packages being added, or use a task as artifact
1235
+ * Changed: project.sub_projects renamed project.projects
1236
+ * Changed: what used to be called dependencies is now called artifacts
1237
+ * Changed: all artifacts are now created as tasks that know how to download
1238
+ themselves unless some other behavior is specified
1239
+ * Changed: local and remote repositories are now defined on the Rakefile
1240
+ instead of individual projects
1241
+ * Changed: attributes now stored directly as instance variables
1242
+ * Changed: ANSI colors and progress bar now using Ruby Facets
1243
+
1244
+ 0.5 (2007-01-24)
1245
+ * Added: Build number for each top-level project, build_number method for
1246
+ accessing it and build:increment task for updating the build number file.
1247
+ * Added: to_path method on project to resolve paths relative to base_dir.
1248
+ * Added: recursive_task method on project to create task in
1249
+ project/sub-project.
1250
+ * Added: compiler property for passing any options to Javac.
1251
+ * Changed: remove task renamed uninstall.
1252
+ * Changed: and to confuse more remove task (RemoveTask) renamed delete.
1253
+ * Changed: consolidated before_create/after_create to on_create.
1254
+ * Changed: version, group, artifact added as accessors to project.
1255
+ * Changed: project definition block takes project as argument.
1256
+ * Changed: project enhanced only if new settings or block.
1257
+ * Changed: local_repository is now separate attribute from repositories.
1258
+ * Changed: Directory structure, now split into rbs, rbs-java and tasks.
1259
+ * Removed: project.options. Using a different attributes mechanism.
1260
+
1261
+ 0.4 (2007-01-23)
1262
+ * Added: CopyTask now deals with files and directories, can copy multiple
1263
+ files, and applies filter to all of them. Filter can be a hash or a proc.
1264
+ * Added: Project gets resources_filter attribute that can be used to set the
1265
+ filter on all copied resources.
1266
+ * Added: HTTP module for getting and downloading files, and a download task.
1267
+ * Changed: Dependencies now check signatures for every file, if available, and
1268
+ show download progress.
1269
+
1270
+ 0.3 (2007-01-22)
1271
+ * Added: Dependencies loaded from Maven repositories if not existing or built
1272
+ by project. Use rake dependencies to force update, or let compilation take
1273
+ care of it.
1274
+ * Added: Copy task for copying one file to another, and filtering support.
1275
+
1276
+ 0.2 (2007-01-21)
1277
+ * Added: remove task to get rid of packages added to the local repository.
1278
+ * Changed: recompile project if any of its dependencies is newer than the
1279
+ source code. Will cause recompile if any of the dependencies was compiled and
1280
+ packaged again.
1281
+ * Changed: compile task depends on javac task and resource copy tasks. This
1282
+ might change when adding filtering later on.
1283
+
1284
+ 0.1 (2007-01-19)
1285
+ * Added: build and clean tasks
1286
+ * Added: resources are now copied over during compilation
1287
+ * Added: POM file generated in local repository (keep Maven happy)
1288
+ * Added: compile scope for use by javac
1289
+ * Added: WAR packaging.
1290
+ * Changed: Root project operates on the current directory, sub-projects on sub
1291
+ directories. See Rakefile for example.