You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Peter Donald (JIRA)" <ji...@apache.org> on 2013/10/11 22:18:43 UTC

[jira] [Closed] (BUILDR-683) Buildfile location

     [ 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)