doc/pages/extending.textile in vic-buildr-1.3.3 vs doc/pages/extending.textile in vic-buildr-1.3.4

- old
+ new

@@ -19,11 +19,11 @@ ant.taskdef :name=>'mapping', :classname=>'org.apache.openjpa.jdbc.ant.MappingToolTask', :classpath=>REQUIRES.join(File::PATH_SEPARATOR) ant.mapping :schemaAction=>'build', :sqlFile=>task.name, :ignoreErrors=>true do - ant.config :propertiesFile=>_(:source, :main, :sql, 'derby.xml') + ant.config :propertiesFile=>_('src/main/sql/derby.xml') ant.classpath :path=>projects('store', 'utils' ). flatten.map(&:to_s).join(File::PATH_SEPARATOR) end end end @@ -32,10 +32,10 @@ To this: {{{!ruby file('derby.sql') do mapping_tool :action=>'build', :sql=>task.name, - :properties=>_(:source, :main, :sql, 'derby.xml'), + :properties=>_('src/main/sql/derby.xml'), :classpath=>projects('store', 'utils') end }}} I prefer the second. It's easier to look at the Buildfile and understand what it does. It's easier to maintain when you only have to look at the important information.