buildr 1.2.10 → 1.3.0

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