buildr-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ittay Dror <itt...@tikalk.com>
Subject question about layouts
Date Tue, 02 Sep 2008 09:31:18 GMT
Hi,

I want to modify :target for all the projects. So I write an extension 
and in 'before_define' i do
  project.layout[:target] = my_target_dir

The problem is that some extensions (esp., java compilers) get to run 
before mine, and they use the layout mechanism, which causes it to 
expand, so now several paths inside it already have 'target/' 
(specifically [:target, :main] is expanded to 'target', [:target, 
:javadoc] is expanded to 'target/javadoc')

How can I fix this?

Thank you,
Ittay

-- 
Ittay Dror <ittayd@tikalk.com>
Tikal <http://www.tikalk.com>
Tikal Project <http://tikal.sourceforge.net>



Mime
View raw message