vic-buildr 1.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (140) hide show
  1. data/CHANGELOG +802 -0
  2. data/DISCLAIMER +7 -0
  3. data/KEYS +151 -0
  4. data/LICENSE +176 -0
  5. data/NOTICE +26 -0
  6. data/README +133 -0
  7. data/Rakefile +64 -0
  8. data/addon/buildr/antlr.rb +65 -0
  9. data/addon/buildr/cobertura.rb +232 -0
  10. data/addon/buildr/hibernate.rb +142 -0
  11. data/addon/buildr/javacc.rb +85 -0
  12. data/addon/buildr/jdepend.rb +60 -0
  13. data/addon/buildr/jetty.rb +248 -0
  14. data/addon/buildr/jibx.rb +86 -0
  15. data/addon/buildr/nailgun.rb +893 -0
  16. data/addon/buildr/openjpa.rb +90 -0
  17. data/addon/buildr/org/apache/buildr/JettyWrapper$1.class +0 -0
  18. data/addon/buildr/org/apache/buildr/JettyWrapper$BuildrHandler.class +0 -0
  19. data/addon/buildr/org/apache/buildr/JettyWrapper.class +0 -0
  20. data/addon/buildr/org/apache/buildr/JettyWrapper.java +144 -0
  21. data/addon/buildr/xmlbeans.rb +93 -0
  22. data/bin/buildr +21 -0
  23. data/buildr.gemspec +50 -0
  24. data/doc/css/default.css +225 -0
  25. data/doc/css/print.css +95 -0
  26. data/doc/css/syntax.css +43 -0
  27. data/doc/images/apache-incubator-logo.png +0 -0
  28. data/doc/images/buildr-hires.png +0 -0
  29. data/doc/images/buildr.png +0 -0
  30. data/doc/images/note.png +0 -0
  31. data/doc/images/tip.png +0 -0
  32. data/doc/images/zbuildr.tif +0 -0
  33. data/doc/pages/artifacts.textile +317 -0
  34. data/doc/pages/building.textile +501 -0
  35. data/doc/pages/contributing.textile +178 -0
  36. data/doc/pages/download.textile +46 -0
  37. data/doc/pages/extending.textile +229 -0
  38. data/doc/pages/getting_started.textile +337 -0
  39. data/doc/pages/index.textile +63 -0
  40. data/doc/pages/mailing_lists.textile +17 -0
  41. data/doc/pages/more_stuff.textile +367 -0
  42. data/doc/pages/packaging.textile +592 -0
  43. data/doc/pages/projects.textile +449 -0
  44. data/doc/pages/recipes.textile +127 -0
  45. data/doc/pages/settings_profiles.textile +339 -0
  46. data/doc/pages/testing.textile +475 -0
  47. data/doc/pages/troubleshooting.textile +121 -0
  48. data/doc/pages/whats_new.textile +402 -0
  49. data/doc/print.haml +52 -0
  50. data/doc/print.toc.yaml +28 -0
  51. data/doc/scripts/buildr-git.rb +412 -0
  52. data/doc/scripts/install-jruby.sh +44 -0
  53. data/doc/scripts/install-linux.sh +64 -0
  54. data/doc/scripts/install-osx.sh +52 -0
  55. data/doc/site.haml +55 -0
  56. data/doc/site.toc.yaml +44 -0
  57. data/lib/buildr/core/application.rb +384 -0
  58. data/lib/buildr/core/application_cli.rb +134 -0
  59. data/lib/buildr/core/build.rb +262 -0
  60. data/lib/buildr/core/checks.rb +382 -0
  61. data/lib/buildr/core/common.rb +154 -0
  62. data/lib/buildr/core/compile.rb +594 -0
  63. data/lib/buildr/core/environment.rb +120 -0
  64. data/lib/buildr/core/filter.rb +257 -0
  65. data/lib/buildr/core/generate.rb +195 -0
  66. data/lib/buildr/core/help.rb +118 -0
  67. data/lib/buildr/core/progressbar.rb +156 -0
  68. data/lib/buildr/core/project.rb +891 -0
  69. data/lib/buildr/core/test.rb +690 -0
  70. data/lib/buildr/core/transports.rb +572 -0
  71. data/lib/buildr/core/util.rb +235 -0
  72. data/lib/buildr/core.rb +27 -0
  73. data/lib/buildr/ide/eclipse.rb +181 -0
  74. data/lib/buildr/ide/idea.ipr.template +300 -0
  75. data/lib/buildr/ide/idea.rb +194 -0
  76. data/lib/buildr/ide/idea7x.ipr.template +290 -0
  77. data/lib/buildr/ide/idea7x.rb +210 -0
  78. data/lib/buildr/ide.rb +19 -0
  79. data/lib/buildr/java/ant.rb +71 -0
  80. data/lib/buildr/java/bdd_frameworks.rb +265 -0
  81. data/lib/buildr/java/commands.rb +211 -0
  82. data/lib/buildr/java/compilers.rb +430 -0
  83. data/lib/buildr/java/deprecated.rb +141 -0
  84. data/lib/buildr/java/groovyc.rb +137 -0
  85. data/lib/buildr/java/jruby.rb +99 -0
  86. data/lib/buildr/java/org/apache/buildr/BuildrNail$Main.class +0 -0
  87. data/lib/buildr/java/org/apache/buildr/BuildrNail.class +0 -0
  88. data/lib/buildr/java/org/apache/buildr/BuildrNail.java +41 -0
  89. data/lib/buildr/java/org/apache/buildr/JavaTestFilter.class +0 -0
  90. data/lib/buildr/java/org/apache/buildr/JavaTestFilter.java +116 -0
  91. data/lib/buildr/java/packaging.rb +706 -0
  92. data/lib/buildr/java/pom.rb +178 -0
  93. data/lib/buildr/java/rjb.rb +142 -0
  94. data/lib/buildr/java/test_frameworks.rb +291 -0
  95. data/lib/buildr/java/version_requirement.rb +172 -0
  96. data/lib/buildr/java.rb +26 -0
  97. data/lib/buildr/packaging/artifact.rb +729 -0
  98. data/lib/buildr/packaging/artifact_namespace.rb +969 -0
  99. data/lib/buildr/packaging/artifact_search.rb +140 -0
  100. data/lib/buildr/packaging/gems.rb +102 -0
  101. data/lib/buildr/packaging/package.rb +233 -0
  102. data/lib/buildr/packaging/tar.rb +104 -0
  103. data/lib/buildr/packaging/zip.rb +719 -0
  104. data/lib/buildr/packaging.rb +21 -0
  105. data/lib/buildr.rb +46 -0
  106. data/rakelib/apache.rake +151 -0
  107. data/rakelib/changelog.rake +57 -0
  108. data/rakelib/doc.rake +103 -0
  109. data/rakelib/package.rake +44 -0
  110. data/rakelib/release.rake +65 -0
  111. data/rakelib/rspec.rake +81 -0
  112. data/rakelib/rubyforge.rake +52 -0
  113. data/rakelib/scm.rake +49 -0
  114. data/rakelib/setup.rake +61 -0
  115. data/rakelib/stage.rake +45 -0
  116. data/spec/application_spec.rb +334 -0
  117. data/spec/archive_spec.rb +493 -0
  118. data/spec/artifact_namespace_spec.rb +635 -0
  119. data/spec/artifact_spec.rb +747 -0
  120. data/spec/build_spec.rb +193 -0
  121. data/spec/checks_spec.rb +537 -0
  122. data/spec/common_spec.rb +575 -0
  123. data/spec/compile_spec.rb +562 -0
  124. data/spec/groovy_compilers_spec.rb +239 -0
  125. data/spec/java_bdd_frameworks_spec.rb +238 -0
  126. data/spec/java_compilers_spec.rb +446 -0
  127. data/spec/java_packaging_spec.rb +1042 -0
  128. data/spec/java_spec.rb +38 -0
  129. data/spec/java_test_frameworks_spec.rb +426 -0
  130. data/spec/packaging_helper.rb +63 -0
  131. data/spec/packaging_spec.rb +589 -0
  132. data/spec/project_spec.rb +751 -0
  133. data/spec/sandbox.rb +116 -0
  134. data/spec/scala_compilers_spec.rb +228 -0
  135. data/spec/spec.opts +6 -0
  136. data/spec/spec_helpers.rb +283 -0
  137. data/spec/test_spec.rb +881 -0
  138. data/spec/transport_spec.rb +488 -0
  139. data/spec/version_requirement_spec.rb +123 -0
  140. metadata +317 -0
data/CHANGELOG ADDED
@@ -0,0 +1,802 @@
1
+ 1.3.2 (Pending)
2
+ * Fixed: BUILDR-77: Layout feature not working.
3
+ * Fixed: BUILDR-76: Added more specs and fixes to compile task.
4
+ * Fixed: BUILDR-80: Fix reference to Util#timestamp method on nailgun addon.
5
+ * Fixed: BUILDR-79: Remove :source option for Scala compiler
6
+
7
+ 1.3.1 (2008-05-19)
8
+ * Added: Downloading files from SFTP server, uploading to HTTP.
9
+ * Added: jibx_bind method to use JiBX for Java<=>XML binding (by David
10
+ Peterson).
11
+ * Changed: Upgraded to Net::SSH 2.0 and Net::SFTP 2.0.
12
+ * Fixed: BUILDR-67 HTTP GET now works with query parameters (Tommy Knowlton).
13
+ * Fixed: BUILDR-68 Now accepting JAVA_HOME setting on OS X (Nathan Hamblen).
14
+ * Fixed: JUnit now accepts java_args and passes these arguments to the JVM
15
+ (only applicable when forking).
16
+ * Fixed: BUILDR-70 JUnit not passing environment variables from the
17
+ :environment option.
18
+ * Fixed: BUILDR-75 Filter now runs if there's a target directory, even if
19
+ there are no source files to copy over, since everyone else just checks
20
+ resources.target for existence before depending on it.
21
+ * Fixed: BUILDR-63 Possible fix.
22
+
23
+ 1.3.0 (2008-04-25)
24
+ * Added: Testing with EasyB (Nicolas Modrzyk).
25
+ * Added: Testing with JBehave (John Layton).
26
+ * Added: Testing with RSpec (Nick Sieger).
27
+ * Added: Nailgun integration for improved user experience when running on
28
+ JRuby.
29
+ * Added: Cobertura tasks can be invoked for a single project using project
30
+ name as prefix to cobetura tasks.
31
+ * Added: Cobertura can exclude specified classes from instrumentation.
32
+ * Added: ArchiveTask#clean can be used to remove content from a package.
33
+ * Added: Groovy compiler.
34
+ * Added: Mechanism to simplify creating extensions (see Extension module).
35
+ * Added: To run all test cases 'rake spec'. Test coverage reports will show
36
+ up in html/coverage. To run failing tests against, 'rake failing'.
37
+ * Added: Layout class for controlling the project layout. Also cleaned up
38
+ places where paths were used instead of path names.
39
+ * Added: HTTP Basic authentication support (Yuen-Chi Lian).
40
+ * Added: EAR packaging (Victor Hugo Borja).
41
+ * Added: Profiles(.yaml), based on the code provided by Yanko Ivanov.
42
+ * Added: Resources task picks the default mapping from the filter element of
43
+ the current profile (if specified).
44
+ * Added: Consolidated API for RJB and JRuby, replacing the now deprecated
45
+ JavaWrapper.
46
+ * Added: JRuby 1.1 support (Victor Hugo Borja, Nick Sieger).
47
+ * Added: IDEA 7 task: use buildr idea7x (Shane Witbeck).
48
+ * Added: Experimental support for installing/loading Gems as part of a build.
49
+ * Added: Experimental support for YAML configurtion files:
50
+ ~/.buildr/settings.yaml, build.yaml and profiles.yaml.
51
+ * Added: Ability to create a package that is not an artifact and specify the
52
+ target file using the :file argument.
53
+ * Changed: JUnit/TestNG test cases are selected by superClass or annotations,
54
+ not by class-name pattern.
55
+ * Changed: Upgraded to Antwrap 0.7.0, thanks to Caleb Powell for relicensing
56
+ under Apache License.
57
+ * Changed: Upgraded to Rake 0.8, RSpec 1.1, RJB 1.1, OpenJPA 1.0.1.
58
+ * Changed: Resources are now copied to target/resources instead of
59
+ target/classes, and target/test/resources instead of target/test-resources.
60
+ * Changed: Test cases are now compiled into target/test/classes instead of
61
+ target/test-classes.
62
+ * Changed: Compile extension and CompileTask are now separate from the Java
63
+ module. Multiple compilers can be used, either guessed from the project
64
+ layout, or specified with compile.using(:name).
65
+ * Changed: Test extension and TestTask are now separate from the Java module.
66
+ JUnit and TestNG are Java specific extensions picked using test.with(:name).
67
+ * Changed: For compile and test, use dependencies instead of classpath (with
68
+ works are before).
69
+ * Changed: Test framework componentized along the same lines as the
70
+ compilers.
71
+ * Changed: The way packaging is handled: package_as_[type] is now called once
72
+ for a given package with the exact file name. If packaging requires a change
73
+ to the specifiction (e.g. a different file type than the package type), add a
74
+ package_as_[type]_spec method.
75
+ * Changed: The default packaging type is inferred from the compiler, and
76
+ without a compiler, defaults to :zip.
77
+ * Changed: JUnit test framework now runs on all classes that extend
78
+ junit.framework.TestCase.
79
+ * Changed: Scalac compiler now used by the regular compile task, the scalac
80
+ task is deprecated.
81
+ * Changed: RDoc are now generated using Allison
82
+ (http://blog.evanweaver.com/files/doc/fauna/allison).
83
+ * Changed: Resource tasks no longer generate target directory if there are no
84
+ resources to copy over.
85
+ * Changed: To prevent collissions with required files, the source layout now
86
+ places everything under lib/buildr, so require 'core/compile' is now require
87
+ 'buildr/core/compile'.
88
+ * Changed: The various Java tasks (JavaCC, XMLBeans, JDepends, etc) are now
89
+ located in the extra directory, and may at some point relocate to an addon
90
+ Gem.
91
+ * Removed: Prepare tasks removed.
92
+ * Removed: All deprecated features since 1.1. If you've seen warnings before,
93
+ except the build to break.
94
+ * Removed: No longer using Facets or recommending you use it in buildfiles.
95
+ * Fixed: More typos/documentation fixes by Lacton
96
+ * Fixed: Artifact.pom resolves artifact without classifier, i.e
97
+ org.testng:testng:jar:jdk15:5.1 uses org.testng:testng:pom:5.1 (Tommy).
98
+ * Fixed: More patches towards JRuby support, courtesy of Vic Borja.
99
+ * Fixed: Error when downloading a file from a server which answers with a
100
+ response with no content length.
101
+ * Fixed: Improved the Eclipse task (BUILDR-17): removed resources target
102
+ directory from the source directories, made the main resource directories
103
+ relative to the project directory and reordered project elements (Thomas
104
+ Marek).
105
+ * Fixed: When compiling Scala only include scala-library and scala-compiler
106
+ JARs (John Layton).
107
+ * Fixed: POM generation now applies JAR as default packaging if unspecified
108
+ (Maarten Billemont).
109
+
110
+ 1.2.10 (2007-11-26)
111
+ * Changed: Resources sets permission on copied files to make them
112
+ read/write-able (Shane Witbeck).
113
+ * Changed: Artifact download no longer generates destination directory if not
114
+ downloaded (Antoine).
115
+ * Fixed: EOL in MANIFEST.MF.
116
+ * Fixed: Bunch of typos, courtesy of Merlyn Albery-Speyer and Soemirno
117
+ Kartosoewito.
118
+
119
+ 1.2.9 (2007-11-08)
120
+ * Changed: Upgraded to RJB 1.0.11.
121
+ * Fixed: Backward compatibility in Java.rjb/wrapper.
122
+
123
+ 1.2.8 (2007-11-01)
124
+ * Added: Resolving Maven snapshots from remote repository (Rhett Sutphin)
125
+ * Changed: scala options.target now takes number, e.g. "1.5" instead of
126
+ "jvm-1.5" (Nathan Hamblen)
127
+ * Changed: Eclipse task uses updated Scala plugin nature and builder (Alex
128
+ Boisvert)
129
+ * Fixed: Bringing Buildr back to 1.0.9, XMLBeans fix.
130
+
131
+ 1.2.7 (2007-10-29)
132
+ * Added: You can create an artifact from a given file using
133
+ artifact(<spec>).from(<path>). You can then install it into the local
134
+ repository or upload it to the release server using install(<artifacts>) and
135
+ upload(<artifacts>). (Idea: Shane Witbeck and Tommy Mason).
136
+ * Added: ANTLR support.
137
+ * Changed: Speed boost to ZIP packaging.
138
+ * Changed: RjbWrapper is now JavaWrapper, and revised to nicely support JRuby.
139
+ A few other minor tweaks to make JRuby support possible in the future. (Travis
140
+ Tilley)
141
+ * Changed: JUnit now runs tests with clonevm false by default, you can change
142
+ with test.using :clonevm=>true (Karel)
143
+ * Changed: JUnit now switches over to project's base directory.
144
+ * Changed: package(:war).with(:libs, :classes) uses only these specified libs
145
+ and class directories, replacing any previous value.
146
+ * Fixed: Jetty task no longer sets "log4j.configuration" system property
147
+ * Fixed: release task didn't work
148
+
149
+ 1.2.6 (2007-09-26)
150
+ * Added: Option for setting environment name (-e) and attribute accessor
151
+ (Buildr.environment). Default taken from BUILDR_ENV environment variable.
152
+ * Added: AAR packaging for Axis2 service archives (Alex Boisvert)
153
+ * Added: Environment variable for JUnit tests (test.using :environment=>).
154
+ * Added: tar method similar to zip method.
155
+ * Added: Experimental transitive method. Looks like artifacts, quacks like
156
+ artifacts, but returns artifacts by the boat load. (Credit, Daniel Roop)
157
+ * Changed: Now accepting JAVA_OPTS in addition to JAVA_OPTIONS.
158
+ * Changed: TarTask is now based on ArchiveTask, same API as ZipTask.
159
+ * Changed: Javadoc array arguments now passed as multiple command line options
160
+ (e.g. :link=>['foo', 'bar'] becomes --link foo --link bar). (Daniel Roop)
161
+ * Changed: Jetty task now uses SLF4J instead of commons-logging + log4j for
162
+ better hot-swap capability and plugability (Alex Boisvert)
163
+ * Removed: Turns out --verbose command line option is useless. Removed.
164
+ * Fixed: Jetty task now uses WebAppContextClassLoader to support hot-swapping
165
+ webapps (Alex Boisvert)
166
+ * Fixed: "release" task now works with SVN URLs ending with /branches/*/ (Alex
167
+ Boisvert)
168
+ * Fixed: Resources not included in JAR/WAR unless there's a src/main/java
169
+ directory (Olexandr Zakordonskyy).
170
+ * Fixed: Files starting with dot (e.g. .config) not copied over as resource
171
+ files, and not included in ZIP (Olexandr Zakordonskyy).
172
+ * Fixed: Empty directories not copied over as resources (Olexandr
173
+ Zakordonskyy).
174
+ * Fixed: JAVA_OPTS and test.options[:java_args] not passed to JUnit task
175
+ (Staube).
176
+ * Fixed: archive.exclude doesn't work when including a directory using
177
+ :from/:as option.
178
+ * Fixed: JUnit/TestNG no longer run inner classes as test classes (Mark
179
+ Feeney).
180
+
181
+ 1.2.5 (2007-08-13)
182
+ * Fixed: Buildr not finding buildfile in parent directory, or switching to
183
+ parent directory.
184
+ * Fixed: checks.rb:103: warning: multiple values for a block parameter (2 for
185
+ 1)
186
+ * Fixed: ZIPs include empty META-INF directory.
187
+
188
+ 1.2.4 (2007-08-03)
189
+ * Added: Forking option for JUnit test framework: :once to fork for each
190
+ project, :each to fork for each test case, and false to not fork. (Tammo van
191
+ Lessen)
192
+ * Added: Path traversal in Zip, so zip.path("foo/bar").path("..") returns
193
+ zip.path("foo").
194
+ * Fixed: JUnit test framework output shows errors in console, more readable
195
+ when forking is on (Tammo van Lessen).
196
+ * Fixed: Cobertura reports not working (Anatol Pomozov).
197
+ * Fixed: Zip creates funky directory name when using :as (Tommy Mason).
198
+ * Fixed: package_as_tar incorrectly calling with(options) (Tommy Mason).
199
+ * Fixed: Loading of everything which should get rid of "already initialized
200
+ constant VERSION" warning.
201
+ * Fixed: --requires option now works properly when using buildr.
202
+ * Fixed: MANIFEST.MF lines must not be longer than 72 characters (Tommy
203
+ Mason).
204
+ * Fixed: Creating manifest from array does not place Name first.
205
+ * Fixed: Complain if no remote repositories defined, add at least one
206
+ repository when creating from POM, POM reader fails if dependencyManagement
207
+ missing (Jean-Baptiste Quenot).
208
+ * Fixed: Not looking for buildfile in parent directory.
209
+ * Fixed: Project's compile/test task looking for options in local task of same
210
+ name.
211
+ * Fixed: ZIP/JAR/WAR include directory entries in some cases and not others.
212
+ * Fixed: Computation of relative paths in Eclipse project generation (Cameron
213
+ Pope)
214
+
215
+ 1.2.3 (2007-07-26)
216
+ * Added: Get your buildfile created form existing POM, just run buildr on
217
+ existing Maven project (Anatol Pomozov).
218
+ * Added: package(:tar), package(:tgz), TarballTask dn TarTask (Tommy
219
+ Knowlton).
220
+ * Changed: The ArchiveTask needs no introduction: it's a base task that
221
+ provides common functionality for ZipTask, TarTask and friends.
222
+ * Fixed: Release runs buildr instead of buildr.cmd on Windows (Chris Power).
223
+ * Fixed: Cobertura reports broken (Anatol Pomozov).
224
+
225
+ 1.2.2 (2007-07-18)
226
+ * Added: resources.using and filter.using now accepts a format as the first
227
+ argument, default being :maven, but you can also use :ant, :ruby or pass a
228
+ regular expression
229
+ (http://groups.google.com/group/buildr-talk/browse_thread/thread/5216d5ae8bfff29b).
230
+ * Fixed: Sleek upload with changelog for each release courtesy of Anatol
231
+ Pomozov.
232
+ * Fixed: Zip.path.contains fails on paths with more than one directory
233
+ (http://groups.google.com/group/buildr-talk/browse_thread/thread/5d305bbeeb814d1).
234
+ * Fixed: Speed of sorting entries when creating new Zip file
235
+ (http://groups.google.com/group/buildr-talk/browse_thread/thread/8b4d1b0e983f32f).
236
+ * Fixed: Uploading using SFTP creates directory for uploaded file
237
+ (http://groups.google.com/group/buildr-talk/browse_thread/thread/80021d35cecfecdc).
238
+
239
+ 1.2.1 (2007-07-12)
240
+ * Added: Proxy exclusion, use environment variable NO_PROXY, or
241
+ options.proxy.exclude = <url> || [<url>]
242
+ (http://groups.google.com/group/buildr-talk/t/9f1e988e0dbeea9f).
243
+ * Added: You can now copy resources from multiple source directories, using
244
+ resources.from
245
+ (http://groups.google.com/group/buildr-talk/browse_thread/thread/4f2867a6dbbc19d4).
246
+ * Added: Hash.from_java_properties(string) and hash.to_java_properties.
247
+ * Changed: Buildr.options now wrap various environment variables instead of
248
+ duplicating them (HTTP_PROXY, NO_PROXY, TEST, DEBUG).
249
+ * Changed: No longer passing proxies to transports, instead they obtain them
250
+ from environment variables.
251
+ * Changed: Buildr now uses XJavaDoc 1.1 instead of 1.1-j5. If you need the
252
+ 1.1-j5 fix, see here
253
+ http://groups.google.com/group/buildr-talk/browse_thread/thread/49f3226810466c94/1f0d25d002433fe2.
254
+ * Fixed: One RubyForge release for all packages, instead of one per package
255
+ (Anatol Pomozov).
256
+ * Fixed: buildr command does not recognize project tasks (foo:compile) or
257
+ default task (http://groups.google.com/group/buildr-talk/t/660061a0bc81989a).
258
+ * Fixed: Upload fails on SFTP permissions.
259
+ * Fixed: Hibernate.schema_export not passing Ant task when yielding.
260
+ * Fixed: IntelliJ Idea project files generation for projects more than two
261
+ degrees deep.
262
+
263
+ 1.2.0 (2007-06-06)
264
+ * Added: Artifact.list returns specs for all registered artifacts (those
265
+ created with artifact or package).
266
+ * Added: Buildr.option.java_args are used when creating the RJB JVM, when
267
+ running a Java process (unless you override directly), and when running JUnit
268
+ tests (again, unless override).
269
+ * Added: TestNG support (test.using :testng).
270
+ * Added: You can run multiple tests from the command line, e.g. rake
271
+ test:foo,bar.
272
+ * Added: If you want to distribute source code and JavaDoc alongside your JARs
273
+ (helpful when using IDE/debugging), you can now do so by calling
274
+ package_with_sources and package_with_javadoc on the project (or the parent
275
+ project to affect all its sub-projects).
276
+ * Added: junit:report task generates XML and HTML reports in the reports/junit
277
+ directory.
278
+ * Added: test=all option runs all test cases ignoring failure.
279
+ * Added: project generation for IntelliJ Idea. Imports dependencies properly
280
+ from your local repository (the M2_REPO path variable must be defined),
281
+ supports tests and resources.
282
+ * Added: A check task for each project that runs after packaging and can be
283
+ used to check the build itself, using RSpec matchers.
284
+ * Added: The help task can be used to get basic information about your build.
285
+ Right now it returns a list of described tasks, but you can extend it using
286
+ the help method. Try it out: rake help.
287
+ * Added: Integration tests that run after packaging (unless tests are
288
+ disabled). There's only one integration tests task (duh) that you can access
289
+ from anywhere. You can tell a project to run its tests during the integration
290
+ phase with test.using :integration.
291
+ * Added: package :sources and package :javadoc, used by package_with_sources
292
+ and package_with_javadoc.
293
+ * Added: Unzip paths now return root/target. (Nathan)
294
+ * Added: buildr command line, replacing rake. Differs from rake in two ways:
295
+ uses buildfile by default (but Rakefile also works) and offers to create
296
+ buildfile if you don't already have one.
297
+ * Added: options.proxy.http now set from the environment variable HTTP_PROXY
298
+ (Anatol Pomozov).
299
+ * Added: options.java_args now set from environment variable JAVA_OPTIONS.
300
+ * Changed: Filter now complains if source directory or target directory not
301
+ set, or if source directory does not exist.
302
+ * Changed: Filter.run returns true if filter run, false otherwise, and can be
303
+ run multiple times.
304
+ * Changed: repositories.proxy returns a URI or nil; you can still set a proxy
305
+ using a hash.
306
+ * Changed: Transports went the way of the Dodo, instead we now use
307
+ read/write/download/upload methods implemented on URI itself.
308
+ * Changed: We now have a way to configure multiple proxies through the
309
+ options.proxy method; use that instead of repositories.proxies.
310
+ * Changed: Upgraded to Ant 1.7.0, JUnit 4.3, JMock 1.2.
311
+ * Changed: TestTask now provides list of test classes and failed classes
312
+ through test_classes and failed_tests attributes.
313
+ * Changed: The jetty method is now available everywhere, so you can change the
314
+ URL using jetty.url = at the top of the Rakefile. Also upgraded to 6.1.3.
315
+ * Changed: Test classes are now identified as either starting with Test* or
316
+ ending with *Test, before attempting any include/exclude patterns. Anything
317
+ ending with *TestCase or *Suite ignored for now (but if you explain why, we
318
+ can add it back).
319
+ * Changed: What used to be the projects task is now help:projects task,
320
+ anticipating more help: tasks to come.
321
+ * Changed: We now have 3(!) JDepend tasks: jdepend:swing (with windows!),
322
+ jdepend:text (console) and jdepend:xml (enterprisy).
323
+ * Changed: Good news for packagers: package_as_ yield no longer required, just
324
+ make sure to create the task once and return it each time.
325
+ * Changed: JUnit tests now run using Ant, which makes them faster to run, and
326
+ gives you text/XML reports (check out the reports/junit directory).
327
+ * Changed: Cobertura now writes reports to reports/cobertura, in fact, if
328
+ you're looking for a report of any kind, the reports directory is the place to
329
+ find it.
330
+ * Changed: Upgraded to AntWrap 0.6. Note that with AntWrap 0.6 we yield to the
331
+ block instead of doing instance_eval, so any call to the ant project must be
332
+ prefixed with an AntProject object. Code that relies on the old functionality
333
+ (and that's pretty much any code with element-containing tasks) will break.
334
+ * Changed: artifacts now accepts a struct.
335
+ * Changed: The repositories.download method folded into Artifact, the
336
+ repositories.deploy method renamed upload and folded into ActsAsArtifact.
337
+ * Changed: The deploy task is now called upload, and repositories.deploy_to is
338
+ now repositories.release_to.
339
+ * Removed: The check task, which previously was a way to find some circular
340
+ dependencies (multitask) but not others (dynamically defined).
341
+ * Removed: JUnitTask, test.junit and Java.junit methods all deprecated;
342
+ anything you need to affect the unit tests is right there in TestTask.
343
+ * Removed: The package(:jar) and package(:war) options, such as :manifest,
344
+ :include, :libs are all deprecated. Instead, use the package method to define
345
+ the package, and the with method to enhance it, e.g.
346
+ package(:war).with(:libs=>...) instead of package(:war, :libs=>...).
347
+ * Removed: The []= method on ZipTask and anything derived from it is
348
+ deprecated in favor of using attribute accessors.
349
+ * Removed: Ant.executable and Ant.declarative are deprecated. Use Buildr.ant
350
+ instead of Ant.executable. Use AntWrap directly if you need the
351
+ Ant.declarative functionality.
352
+ * Fixed: Filter now properly handles multiple keys on the same line.
353
+ * Fixed: Tests teardown now properly executing.
354
+ * Fixed: Cobertura tasks now run tests, even if test=no.
355
+ * Fixed: XMLBeans compile task not detecting change to XSD file.
356
+ * Fixed: URI.download and download task do not create directory path for
357
+ downloaded file (Anders Bengtsson).
358
+ * Fixed: Gets JVM version number from system property java.version instead of
359
+ calling java -version.
360
+ * Fixed: Artifact downloads POM first, such that you can download/create/fake
361
+ it youself.
362
+
363
+ 1.1.3 (2007-06-12)
364
+ * Added: Long awaited idea project files generation. Very early code, the iml
365
+ seems to be generated okay but needs testing. The ipr is still missing but
366
+ will come in due time (and it's not always necessary anyway).
367
+ *Fixed: Doc bug: unzip doesn't have an into(dir) method.
368
+ *Fixed: File names don't always have a dot.
369
+ *Fixed: For Jetty servers, http://foo//bar is not http://foo/bar
370
+
371
+ 1.1.2 (2007-05-29)
372
+ * Added: Allow passing :java_args option to the junit task
373
+ * Added: Hibernate XDoclet and SchemaExport tasks. (Requires buildr/hibernate)
374
+ * Added: JDepend UI for seeing depenencies across all projects. (Requires
375
+ buildr/jdepend)
376
+ * Added: Cobertura test coverage tasks, reporting both html and xml. (Requires
377
+ buildr/cobertura)
378
+ * Changed: tools_jar now returns empty array on OS/X, part of the ongoing
379
+ Write Once/Test Everywere effort. (Credit Paul Brown)
380
+ * Fixed: Work around keep_alive bug in Net::HTTP.
381
+ (http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/10818)
382
+
383
+ 1.1.1 (2007-05-16)
384
+ * Changed: Test case class names must end with Test, TestCase, Suite or
385
+ TestSuite.
386
+ * Changed: You can now run rake test:{foo,bar} to match against either foo or
387
+ bar (requires \{..\} on UNIX).
388
+ * Changed: JAVA_HOME now required on all platforms, along with more OS/X
389
+ fixes. (Credit Paul Brown)
390
+ * Fixed: You can now run rake test:<name> from any directory, and it will find
391
+ just the right test cases.
392
+
393
+ 1.1.0 (2007-05-13)
394
+ * Added: Proxy setting for downloading from remote repositories (use
395
+ repositories.proxy = ...).
396
+ * Added: projects task to list all the projects you can build.
397
+ * Added: Project attribute target to specify the target directory.
398
+ * Changed: The project and projects methods now accepts relative names when
399
+ called on a project. For example, project("foo").project("bar") finds the
400
+ sub-project "bar" in "foo".
401
+ * Changed: The project method now returns self if called on a method with no
402
+ name.
403
+ * Changed: The -warning flag (javac) is now set to true only when verbose.
404
+ * Changed: OpenJPA mapping now using Ant task instead of spawning another Java
405
+ instance.
406
+ * Changed: The test:name pattern translates to *name* so you can run tests by
407
+ package name, but only if you don't use * in the pattern.
408
+ * Changed: All projects are not evaluated when referenced (i.e. calling
409
+ project/projects) or before running any task. Project tasks do not exist until
410
+ a projet is evaluated.
411
+ * Removed: The projects method no longer accepts the :in argument, call
412
+ projects on a project instead.
413
+ * Fixed: Local directory tasks now work from any directory in the project.
414
+ * Fixed: Artifacts no longer created with timestamp from server.
415
+ * Fixed: Buildr no longer fails when run without tools.jar or JAVA_HOME
416
+ (OS/X). (Credit Lyle Johnson)
417
+ * Fixed: Manifest gets EOL to keep EOF company. (Credit Tommy Knowlton)
418
+ * Fixed: Compile tasks clean after themselves when target directory changed.
419
+ (Credit Lyle Johnson)
420
+
421
+ 1.0.0 (2007-05-04)
422
+ * Added: buildr:freeze and buildr:unfreeze task. These set the Rakefile to use
423
+ a particular version of Buildr, freezing by setting to the current version of
424
+ Buildr, unfreeze to use the latest Gem.
425
+ * Added: Buildr.options, with three options to start with: test, debug and
426
+ parallel.
427
+ * Added: Buildr.option.debug or environment variable DEBUG to control the
428
+ compiler debug option. Defaults to yes, except when doing a release.
429
+ * Changed: Buildr now fails nicely if JAVA_HOME not set.
430
+ * Changed: Migrated test cases to RSpec 0.9.
431
+ * Changed: Extended circular dependency check to multitask.
432
+ * Changed: JavaCC using RJB.
433
+ * Changed: OpenJPA 0.9.7 no longer snapshoted.
434
+ * Fixed: For Windows users: user's home directory, fu_check_options is now
435
+ rake_check_options, java command works around funky system bbug.
436
+
437
+ 0.22 (2007-04-26)
438
+ * Added: Calling projects(:in=>foo) returns only the sub-projects defined in
439
+ foo.
440
+ * Added: _() as shortcut for path_to().
441
+ * Added: You can pass properties to java by setting the :properties options.
442
+ * Added: JUnit task has a way of setting options (options accessor and using
443
+ method), which for now supports passing properties to java.
444
+ * Added: You can now use the struct method to create a Struct for structoring
445
+ your multiple artifacts.
446
+ * Changed: Use rake artifacts to download all artifacts not already in the
447
+ local repository, and also download modified artifacts
448
+ (*cough*snapshots*cough*)
449
+ * Changed: Transport.download now uses timestamp on the destination file and
450
+ If-Modified-Since header to skip downloads of unmodified files.
451
+ * Changed: Downloading artifact sets the time stamp from the repository.
452
+ * Changed: Use buildr.rake in the project's directory and your home directory,
453
+ instead of buildr.rb.
454
+ * Changed: filter method accepts one argument, the source directory. Use
455
+ filter(src).into(target).
456
+ * Changed: Running Javac/Apt/Javadoc in process.
457
+ * Changed: Using Ant for OpenJPA enhancer and XMLBeans schema compiler.
458
+ * Changed: Jetty, JavaCC, OpenJPA and XMLBeans are no longer included by
459
+ default. You need to require them explicitly, e.g. require "buildr/jetty".
460
+ * Removed: Tasks no longer use a base directory, always map paths directly
461
+ using file, path_to or _().
462
+ * Fixed: The artifacts task no longer downloads POMs for artifacts created by
463
+ the Rakefile.
464
+
465
+ 0.21 (2007-04-20)
466
+ * Added: Methods to read and write a file (shortcut for
467
+ File.read/File.open.write).
468
+ * Changed: Filter task now takes a source directory and target directory, and
469
+ copies all included (sans excluded) files between the two.
470
+ * Changed: Artifact type is now symbol instead of string (so :jar instead of
471
+ "jar"). You can still specify a string, but the return value from #to_spec or
472
+ #type is a symbol.
473
+ * Changed: Eclipse task now adds "src/main/resources", "src/test/java",
474
+ "src/test/resources" to build path, and excludes ".svn" and "CVS" directories
475
+ from being copied into target directories.
476
+ * Changed: The test task will now run JUnit test cases from classes ending
477
+ with Test or Suite. And the inclusion pattern is always set.
478
+ * Fixed: Project property not inherited if false.
479
+
480
+ 0.20 (2007-04-18)
481
+ * Added: JavadocTask to generate Javadoc documentation for the project,
482
+ javadoc method on the project itself to return its javadoc task, and
483
+ Java.javadoc to do all the heavy lifting.
484
+ * Changed: Release code is now implemented as module instead of class. SVN
485
+ copy made from working copy instead of double commit.
486
+ * Removed: package :file_name options. Does not work with deployed artifacts
487
+ or POMs.
488
+ * Fixed: Packages not deployed in the right path (but POMs are).
489
+ * Fixed: JARs and WARs include redundant META-INF directory.
490
+ * Fixed: The local package task is now a dependency for install/deploy, and
491
+ build is dependency for package.
492
+
493
+ 0.19 (2007-04-13)
494
+ * Fixed: Eclipse task correctly handles FileTasks
495
+ * Fixed: Eclipse task output directory is "target/classes"
496
+ (Project.compile.target) instead of "/target"
497
+ * Added: Set specific file permissions when uploading with SFTP transport with
498
+ :permission option
499
+ * Fixed: Correctly use JAVA_HOME environment variable, if available, for
500
+ determining java version
501
+ * Added: ConcatTask and concat: a file task that creates or updates the target
502
+ file by concatenating all the file prerequisites.
503
+ * Added: Ant module (requires antwrap and rjb Gems), so also added RJB setup
504
+ module.
505
+ * Added: When zipping you can include the contents of a directory using
506
+ :as=>".".
507
+ * Added: Convenience apt method returns a file task that generates sources
508
+ using APT.
509
+ * Added: Convenience open_jpa_enhance method to enhance compiled files.
510
+ * Added: Convenience compile_xml_beans setups the compiler to include
511
+ XSD-generated XML Beans.
512
+ * Added: Convenience javacc/jjtraa methods return file tasks that generate
513
+ source files.
514
+ * Added: build is now the default task.
515
+ * Added: jetty:start and jetty:stop tasks to start/stop the server from the
516
+ console.
517
+ * Added: jetty:use to start Jetty inside the build or hook to an existing
518
+ server.
519
+ * Added: jetty:setup and jetty:teardown to perform tasks around jetty:use.
520
+ * Added: The local build task will now execute the local test task. So
521
+ building a project (or sub-project) will run the test cases on that project
522
+ (or sub-project) but not any of its dependencies.
523
+ * Added: ZipTask accepts nested path (i.e. calling path inside a path).
524
+ * Added: package(:war) by defaults picks libraries from the compiler
525
+ classpath. You can always override by passing the :libs option.
526
+ * Changed: Eclipse task now generates library path with M2_REPO variable or
527
+ project-relative paths where appropriate
528
+ * Changed: compile.target (CompileTask) and resources.target (Filter) are now
529
+ file tasks, not strings. So passing the target to someone else will hopefully
530
+ convience them to invoke or enhance it.
531
+ * Changed: Java related tasks like OpenJPA, XMLBeans, JavaCC all moved to the
532
+ Buildr::Java module.
533
+ * Changed: Handling of package_as arguments to support JBI packaging.
534
+ * Changed: meta_inf project property is an array accepting filenames (strings)
535
+ and file tasks.
536
+ * Changed: meta_info by default only includes the LICENSE file from the
537
+ top-level project.
538
+ * Changed: The WarTask :classes argument is now a directory name, and will
539
+ include all files in this directory.
540
+ * Changed: WarTask and JarTask accept meta_inf argument.
541
+ * Changed: Behavior of needed? and prerequsities in base Rake::Task. This will
542
+ probably not affect you, but don't be surprised if it disappears (see
543
+ lib/core/rake_ext.rb for details).
544
+ * Changed: Were previous the test task would link to test.run, it now executes
545
+ the entire test lifecycle, and is the major point for extending the test
546
+ lifecycle.
547
+ * Changed: test.run is now test.junit.
548
+ * Changed: Ant.define is now Ant.declarative, Ant.execute is now
549
+ Ant.executable.
550
+ * Changed: The filter method now returns a Filter class that can be used to
551
+ set a filter, but is not itself a task. Instead, it creates a task when
552
+ setting its target.
553
+ * Changed: Project.resources now returns a ResourceTask that includes, but is
554
+ not itself a filter, accessed using the accessor filter.
555
+ * Changed: UnzipTask eliminated and replaced with Unzip which you now have to
556
+ run directly by calling extract. However, unzip method creates a file task
557
+ and returns an Unzip object that can be used as a reference to that file
558
+ task.
559
+ * Changed: Attributes is now InheritedAttributes.
560
+ * Changed: The first call to package configures the package task from the
561
+ options, the second call only returns the package task.
562
+ * Removed: :cp argument, always use :classpath.
563
+ * Removed: src_dir, java_src_dir, target_dir, webapp_src_dir and all other
564
+ premature configuration attributes.
565
+ * Removed: Project tests method deprecated in favor of a single test method;
566
+ it now accepts an enhancement block, not an instance_eval block.
567
+ * Removed: FilterTask is dead.
568
+ * Removed: sub_projects method. Is anyone using this?
569
+ * Fixed: Local buildr.rb not loaded from running from inside a sub-project
570
+ directory.
571
+ * Fixed: Eclipse task now executed whenever a change is made in the Rakefile,
572
+ or any file it requires, include buildr.rb and task files.
573
+ * Fixed: Circular dependency in release task.
574
+
575
+ 0.18 (2007-03-26)
576
+ * Added: manifest attribute on project, used by default when packaging
577
+ JAR/WAR.
578
+ * Added: default manifest includes build-by, build-jdk and
579
+ implementation-title.
580
+ * Added: compile.from(sources) in the same vein as compile.with(classpath)
581
+ * Added: load all *.rake files form the tasks directory (if exists) for use
582
+ in
583
+ the main Rakefile.
584
+ * Added: Java.tools returns a reference to tools.jar on JDKs that include it.
585
+ * Added: brought back experimental test tasks.
586
+ * Added: artifacts task to download all artifacts referenced by project (using
587
+ either artifact or artifacts method).
588
+ * Changed: back to old behavior, compile task only executes if there are any
589
+ files to compile, and compile? method removed.
590
+ * Changed: repositories.remote is now an array instead of a hash, and
591
+ repositories are searched in the order in which they appear.
592
+ * Changed: release task is now a regular task, using the Release object
593
+ instead of being a ReleaseTask.
594
+ * Changed: eclipse task executes artifacts task.
595
+ * Fixed: inherited attributes now cache default value, useful when working
596
+ with arrays/hashes.
597
+ * Fixed: manifest file generated even if manifest attribute is false.
598
+ * Fixed: compile task now properly detects when not all files compiled.
599
+ * Fixed: bug that caused project file tasks to execute twice.
600
+
601
+ 0.17 (2007-03-14)
602
+ * Added: project.task acts like Rake's task but can also fetch a task from a
603
+ project using the project's namespace.
604
+ * Added: project.file acts like Rake's file but resolve relative paths based
605
+ on the project base directory.
606
+ * Added: Rake tasks execute in the directory in which they were defined.
607
+ * Added: enhanced Rake with circular dependency, and you can find all circular
608
+ dependencies by running rake check.
609
+ * Added: enhanced Rake in_namespace, if the namespace starts with colon,
610
+ creates a namespace relative to the root instead of the current namespace.
611
+ * Changed: a project definition is now a task definition.
612
+ * Changed: use enhance to extend the project definition instead of
613
+ after_define.
614
+ * Changed: LocalDirectoryTask replaced with Project.local_task.
615
+ * Changed: projects method accepts multiple names, returning only these
616
+ project definitions, returns all of them with no arguments.
617
+ * Changed: packge only defines the essentials once, so you can call package on
618
+ a project to retrieve a specific package by type/id.
619
+ * Changed: zip task (and jar/war) no longer resolve artifacts for you, must
620
+ call artifacts directly.
621
+ * Changed: cannot access a project before it's defined, but can do that with
622
+ sub-projects to establish dependencies.
623
+
624
+ 0.16 (2007-03-07)
625
+ * Added: zip.include :as=> to include file under specified name.
626
+ * Added: zip.merge to include the (expanded) contents of one zip file in
627
+ another.
628
+ * Added: experimental test task using JUnit and JMock.
629
+ * Changed: project.to_s returns name, projects returns sorted by name.
630
+ * Changed: project definition now executed using project's base directory as
631
+ the current directory.
632
+ * Fixed: artifact test cases and minor code cleanup.
633
+ * Fixed: attempts to download artifact even if created by task.
634
+ * Fixed: release task now deletes old tagged copy and reports SVN usage.
635
+ * Fixed: OpenJPA not including target directory in classpath.
636
+
637
+ 0.15 (2007-02-28)
638
+ * Fixed: tasks fail unless deployment server specified.
639
+ * Changed: deploy method executes deployment, instead of returning a task.
640
+
641
+ 0.14 (2007-02-28)
642
+ * Added: check task that looks for obvious errors in the Rakefile.
643
+ * Added: deploy task for managing deployment.
644
+ * Added: release task that updates version numbers, commits and tags SVN.
645
+ * Changed: the project name is now the fully qualified name, e.g. ode:axis2
646
+ * Changed: you can now lookup a project before it's defined; you still can
647
+ only define a project once.
648
+ * Changed: you can lookup projects by full qualified name.
649
+ * Changed: release_to changed to deploy_to, which is now a getter/setter.
650
+ * Fixed: removed Java.home which conflicted with JRuby.
651
+ * Fixed: install task did not re-install modified files.
652
+ * Fixed: deploying only uploads one artifact.
653
+ * Fixed: timing issues.
654
+ * Fixed: Maven classifier now used properly.
655
+
656
+ 0.13 (2007-02-26)
657
+ * Added: global java method.
658
+ * Added: project build method.
659
+ * Added: OpenJPA mapping_tool method.
660
+ * Added: Rakefile to generate Gem.
661
+ * Changed: you can now lookup a sub-project from the top project method.
662
+ * Changed: the projects methods return all sub-projects.
663
+ * Fixed: bug in JarTask that resolved artifacts too early.
664
+ * Fixed: global tasks (clean, build, etc) now complain if executed from a
665
+ directory that does not map to any project.
666
+ * Fixed: to work with Rake 0.7.2.
667
+
668
+ 0.12 (2007-02-24)
669
+ * Added: call prepare with list of tasks to add them as prerequisites.
670
+ * Added: project.id returns the compound name, e.g. foo, foo-bar,
671
+ foo-bar-baz.
672
+ * Added: JavaCC, XMLBeans schema compiler, OpenJPA enhancer, APT tasks.
673
+ * Changed: the default package ID is take from the project ID instead of its
674
+ name.
675
+ * Changed: renamed buildr and moved here.
676
+ * Changed: moved all code into Buildr module.
677
+ * Fixed: download breaking when POM not found.
678
+ * Fixed: compile task fails if classpath is empty.
679
+ * Fixed: zip task fails if target directory does not exist.
680
+ * Fixed: packaging task does not require build.
681
+ * Fixed: compiler not showing command when trace is on.
682
+ * Fixed: zip dependencies were all fucked up.
683
+ * Fixed: package should not depend on build.
684
+
685
+ 0.11 (2007-02-16)
686
+ * Added: test cases for unzip task
687
+ * Added: prepare method to access prepare task
688
+ * Added: prepare, compile and resources accept a block you can use to enhance
689
+ the task
690
+ * Changed: ZipTask executes all includes files as prerequisites, and now
691
+ includes directories correctly
692
+ * Changed: Jar/WarTask are now extended using with(options) method
693
+ * Changed: JarTask now accepts array of sections (each being a hash) for the
694
+ manifest, and a proc/method to generate it
695
+ * Changed: added HighLine to hide password entry on the command line
696
+ * Changed: unzip now using UnzipTask with its own shorthand syntax.
697
+ * Changed: filter task gets a consistent syntax to unzip
698
+
699
+ 0.10 (2007-02-13)
700
+ * Added: modifier for artifacts
701
+ * Added: ZipTask, WarTask
702
+ * Added: get POM artifact directly from artifact
703
+ * Changed: JAR and WAR packaging based on new and improved Zip task
704
+ * Changed: options for packaging, but not affecting current Rakefile
705
+ * Remove: delete task
706
+
707
+ 0.9 (2007-02-09)
708
+ * Added: attributes for configuring compile (sources, classpath, target,
709
+ options)
710
+ * Added: shorthand notation for specifying compilation (to, with, using)
711
+ * Changed: copy task is dead (name conflict), instead we get the better filter
712
+ task with include/exclude patterns
713
+ * Changed: rewrite of compile task, now better than ever
714
+ * Changed: compile can be used inside and outside project
715
+ * Changed: compiler no longer infers anything from its prerequisites
716
+ * Changed: compiler accepts files, artifacts and tasks on the classpath
717
+ * Changed: resources task now working as expected
718
+ * Remove: global task artifacts was the root of all evil and got canned.
719
+
720
+ 0.8 (2007-02-05)
721
+ * Added: release task and release_to configuration for repositories
722
+ * Added: SFTP uploader for releases
723
+ * Added: convenience method group() for specifying multiple artifacts in same
724
+ group and version number
725
+ * Added: install target copies package to local repository and adds a POM,
726
+ uninstall package removes package (and POM) from local repository
727
+ * Changed: project lookup now happens through project() method
728
+ * Changed: locating file in the local repository now happens through
729
+ Repositories
730
+ * Changed: downloading file into the local repository now happens through
731
+ Repositories
732
+ * Changed: notation for specifying multiple artifacts in a string is now
733
+ foo,bar,baz
734
+ * Changed: artifact identifier is now specified with the key :id
735
+ * Changed: download POM alongside artifact and install in local repository
736
+ * Changed: no more scoping artifacts collection in project, use compile.with
737
+ instead
738
+ * Changed: moved HTTP download logic to transports.rb
739
+ * Removed: deprecated grouping with multiple artifacts under id key
740
+
741
+ 0.6 (2007-02-01)
742
+ * Added: Artifact resolution introduces the notion of a spec, which can be
743
+ supported using ActsAsArtifact
744
+ * Added: You can now use a project as an artifact, resulting in all its
745
+ packages being added, or use a task as artifact
746
+ * Changed: project.sub_projects renamed project.projects
747
+ * Changed: what used to be called dependencies is now called artifacts
748
+ * Changed: all artifacts are now created as tasks that know how to download
749
+ themselves unless some other behavior is specified
750
+ * Changed: local and remote repositories are now defined on the Rakefile
751
+ instead of individual projects
752
+ * Changed: attributes now stored directly as instance variables
753
+ * Changed: ANSI colors and progress bar now using Ruby Facets
754
+
755
+ 0.5 (2007-01-24)
756
+ * Added: Build number for each top-level project, build_number method for
757
+ accessing it and build:increment task for updating the build number file.
758
+ * Added: to_path method on project to resolve paths relative to base_dir.
759
+ * Added: recursive_task method on project to create task in
760
+ project/sub-project.
761
+ * Added: compiler property for passing any options to Javac.
762
+ * Changed: remove task renamed uninstall.
763
+ * Changed: and to confuse more remove task (RemoveTask) renamed delete.
764
+ * Changed: consolidated before_create/after_create to on_create.
765
+ * Changed: version, group, artifact added as accessors to project.
766
+ * Changed: project definition block takes project as argument.
767
+ * Changed: project enhanced only if new settings or block.
768
+ * Changed: local_repository is now separate attribute from repositories.
769
+ * Changed: Directory structure, now split into rbs, rbs-java and tasks.
770
+ * Removed: project.options. Using a different attributes mechanism.
771
+
772
+ 0.4 (2007-01-23)
773
+ * Added: CopyTask now deals with files and directories, can copy multiple
774
+ files, and applies filter to all of them. Filter can be a hash or a proc.
775
+ * Added: Project gets resources_filter attribute that can be used to set the
776
+ filter on all copied resources.
777
+ * Added: HTTP module for getting and downloading files, and a download task.
778
+ * Changed: Dependencies now check signatures for every file, if available, and
779
+ show download progress.
780
+
781
+ 0.3 (2007-01-22)
782
+ * Added: Dependencies loaded from Maven repositories if not existing or built
783
+ by project. Use rake dependencies to force update, or let compilation take
784
+ care of it.
785
+ * Added: Copy task for copying one file to another, and filtering support.
786
+
787
+ 0.2 (2007-01-21)
788
+ * Added: remove task to get rid of packages added to the local repository.
789
+ * Changed: recompile project if any of its dependencies is newer than the
790
+ source code. Will cause recompile if any of the dependencies was compiled and
791
+ packaged again.
792
+ * Changed: compile task depends on javac task and resource copy tasks. This
793
+ might change when adding filtering later on.
794
+
795
+ 0.1 (2007-01-19)
796
+ * Added: build and clean tasks
797
+ * Added: resources are now copied over during compilation
798
+ * Added: POM file generated in local repository (keep Maven happy)
799
+ * Added: compile scope for use by javac
800
+ * Added: WAR packaging.
801
+ * Changed: Root project operates on the current directory, sub-projects on sub
802
+ directories. See Rakefile for example.