Author: assaf
Date: Mon Nov 17 13:01:52 2008
New Revision: 718378
URL: http://svn.apache.org/viewvc?rev=718378&view=rev
Log:
Fixed: BUILDR-216 Profiles documentation is wrong (Shane Witbeck).
Modified:
incubator/buildr/trunk/CHANGELOG
incubator/buildr/trunk/doc/pages/settings_profiles.textile
Modified: incubator/buildr/trunk/CHANGELOG
URL:
http://svn.apache.org/viewvc/incubator/buildr/trunk/CHANGELOG?rev=718378&r1=718377&r2=718378&view=diff
==============================================================================
--- incubator/buildr/trunk/CHANGELOG (original)
+++ incubator/buildr/trunk/CHANGELOG Mon Nov 17 13:01:52 2008
@@ -24,6 +24,7 @@
* Fixed: BUILDR-198 Filter#run always calls mkpath with :verbose.
* Fixed: BUILDR-199 ArchiveTask#needed uses 'each' with no effect (Ittay Dror).
* Fixed: BUILDR-201 Sample project is not valid (Alexis Midon).
+* Fixed: BUILDR-216 Profiles documentation is wrong (Shane Witbeck).
1.3.3 (2008-10-08)
* Added: JtestR support. Implemented pending jtestr specs.
Modified: incubator/buildr/trunk/doc/pages/settings_profiles.textile
URL:
http://svn.apache.org/viewvc/incubator/buildr/trunk/doc/pages/settings_profiles.textile?rev=718378&r1=718377&r2=718378&view=diff
==============================================================================
--- incubator/buildr/trunk/doc/pages/settings_profiles.textile (original)
+++ incubator/buildr/trunk/doc/pages/settings_profiles.textile Mon Nov 17
13:01:52 2008
@@ -201,7 +201,7 @@
{{{!ruby
project 'db-module' do
db = (environment == 'production' ? 'oracle' : 'hsql')
- resources.from(_(:source, :main, db))
+ resources.from(_("src/main/#{db}"))
end
}}}
@@ -244,7 +244,7 @@
project 'db-module' do
# Copy SQL files specific for the database we're using,
# for example, everything under src/main/hsql.
- resources.from(_(:source, :main, profile['db']))
+ resources.from(_("src/main/#{Buildr.settings.profile['db']}"))
# Set the JDBC URL in copied resource files (config.xml needs this).
resources.filter :jdbc=>profile['jdbc']
end