You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@buildr.apache.org by Shane Witbeck <sh...@db.com> on 2009/01/14 16:50:19 UTC

multiple paths mapped to custom Layout resources

I'm trying to map a few different directories to a custom Layout's resources
by doing something like the following:

spg_layout = Layout.new
spg_layout[:source, :main, :resources] = 'src/main/config/common'
spg_layout[:source, :main, :resources] = 'src/main/config/' +
Buildr.environment
spg_layout[:source, :main, :resources] = 'src/main/resources'
It seems you can only map one path since it only picks up the last
'src/main/resources' path. Is what I'm trying to do possible?

-- 

Thanks,
Shane
--------------
This communication may contain confidential and/or privileged information.
If you are not the intended recipient (or have received this communication
in error) please notify the sender immediately and destroy this
communication. Any unauthorized copying, disclosure or distribution of the
material in this communication is strictly forbidden.Deutsche Bank does not
render legal or tax advice, and the information contained in this
communication should not be regarded as such.