Files | Admin

Notes:

Release Name: 0.19.0

Notes:


Changes: * Fixed: Eclipse task correctly handles FileTasks * Fixed: Eclipse task output directory is "target/classes" (Project.compile.target) instead of "/target" * Added: Set specific file permissions when uploading with SFTP transport with :permission option * Fixed: Correctly use JAVA_HOME environment variable, if available, for determining java version * Added: ConcatTask and concat: a file task that creates or updates the target file by concatenating all the file prerequisites. * Added: Ant module (requires antwrap and rjb Gems), so also added RJB setup module. * Added: When zipping you can include the contents of a directory using :as=>".". * Added: Convenience apt method returns a file task that generates sources using APT. * Added: Convenience open_jpa_enhance method to enhance compiled files. * Added: Convenience compile_xml_beans setups the compiler to include XSD-generated XML Beans. * Added: Convenience javacc/jjtraa methods return file tasks that generate source files. * Added: build is now the default task. * Added: jetty:start and jetty:stop tasks to start/stop the server from the console. * Added: jetty:use to start Jetty inside the build or hook to an existing server. * Added: jetty:setup and jetty:teardown to perform tasks around jetty:use. * 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. * Added: ZipTask accepts nested path (i.e. calling path inside a path). * Added: package(:war) by defaults picks libraries from the compiler classpath. You can always override by passing the :libs option. * Changed: Eclipse task now generates library path with M2_REPO variable or project-relative paths where appropriate * 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. * Changed: Java related tasks like OpenJPA, XMLBeans, JavaCC all moved to the Buildr::Java module. * Changed: Handling of package_as arguments to support JBI packaging. * Changed: meta_inf project property is an array accepting filenames (strings) and file tasks. * Changed: meta_info by default only includes the LICENSE file from the top-level project. * Changed: The WarTask :classes argument is now a directory name, and will include all files in this directory. * Changed: WarTask and JarTask accept meta_inf argument. * 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). * 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. * Changed: test.run is now test.junit. * Changed: Ant.define is now Ant.declarative, Ant.execute is now Ant.executable. * 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. * Changed: Project.resources now returns a ResourceTask that includes, but is not itself a filter, accessed using the accessor filter. * 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. * Changed: Attributes is now InheritedAttributes. * Changed: The first call to package configures the package task from the options, the second call only returns the package task. * Removed: :cp argument, always use :classpath. * Removed: src_dir, java_src_dir, target_dir, webapp_src_dir and all other premature configuration attributes. * Removed: Project tests method deprecated in favor of a single test method; it now accepts an enhancement block, not an instance_eval block. * Removed: FilterTask is dead. * Removed: sub_projects method. Is anyone using this? * Fixed: Local buildr.rb not loaded from running from inside a sub-project directory. * Fixed: Eclipse task now executed whenever a change is made in the Rakefile, or any file it requires, include buildr.rb and task files. * Fixed: Circular dependency in release task.