You mean the following fragment?
# replace version information in webapp files # tip from http://stackoverflow.com/questions/6938984/buildr-filter-web-xml-in-packaging-war filter_webapp = file("target/webapp") do |task| filter('src/main/webapp/').into(task.to_s).using( 'copyright' => COPYRIGHT, 'version' => VERSION_STRING ).run end
