buildr-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shane Witbeck" <sh...@digitalsanctum.com>
Subject mapping multiple paths to custom Layout resources
Date Wed, 14 Jan 2009 16:03:15 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message