buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Donald (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (BUILDR-683) Buildfile location
Date Fri, 11 Oct 2013 20:18:43 GMT

     [ https://issues.apache.org/jira/browse/BUILDR-683?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Peter Donald closed BUILDR-683.
-------------------------------

    Resolution: Not A Problem
      Assignee: Peter Donald

You can override the location of a project by passing the :base_dir option 
during project definition. i.e. 

{code}
define :foo, :base_dir => 'somewhere/else' do 
  p "base dir is " + project.base_dir 
end 
{code}

This is documented at http://buildr.apache.org/rdoc/Buildr/Project.html

As Jean-Philippe indicated, I would recommend asking on the mailing list as you are more likely
to get a better response.

As this is not a bug report or a feature request I am going to close the issue. Reopen and
describe the issue in detail if this is not the case

> Buildfile location
> ------------------
>
>                 Key: BUILDR-683
>                 URL: https://issues.apache.org/jira/browse/BUILDR-683
>             Project: Buildr
>          Issue Type: Improvement
>            Reporter: Suminda Dharmasena
>            Assignee: Peter Donald
>
> Needing to have the build file at top most directory is artificial
> Say my directory structure is like
> workspace / ProjA
>                   / ProjB
>                   / ProjC
> I should be able to place the build file in ProjA such that is it applicable to selected
projects which are in directories not necessarily sub directories of ProjA



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message