buildr-users mailing list archives

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

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 Dror <>
Tikal <>
Tikal Project <>

View raw message