buildr-buildr 1.3.4

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