You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Ittay Dror (JIRA)" <ji...@apache.org> on 2008/08/31 23:01:45 UTC

[jira] Closed: (BUILDR-132) Use File::separator for project names

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

Ittay Dror closed BUILDR-132.
-----------------------------

    Resolution: Fixed

since no one bothered to comment on this issue, and issue 142 covers the same ground, but with patches, i'm closing this.

note that whatever the outcome of issue 142, dealing with projects as tasks is confusing to users and moreover, having project names match by default to a directory layout, but named in a different way than how paths are named (colon instead of slash or backslash) is confusing to users. this is not hypothetical, but from experience with users of buildr (and after several explanations). i know this is all well documented etc., but users of the build tool will not go and read the documentation, but will instead rely on their intuition, based on other tools they know. telling them to read the documentation is telling them buildr is not intuitive, which measn they won't like it (again, from experience)

end of rant.

> Use File::separator for project names
> -------------------------------------
>
>                 Key: BUILDR-132
>                 URL: https://issues.apache.org/jira/browse/BUILDR-132
>             Project: Buildr
>          Issue Type: Improvement
>          Components: Core features
>    Affects Versions: 1.3.2
>            Reporter: Ittay Dror
>
> If I have a buildfile like:
> define 'top' do
>    define 'sub' do
>        define 'subsub' do
>        end
>    end
> end
> then the project name for referencing is sub:subsub. tihs is also the name for building a specific project from the command line (without cd).
> if instead the name were sub/subsub, and on windows allow sub\subsub in the command line, this would have allowed to use the shell's completion (when probject names map to directory names). 
> if i understand correctly, the ':' separator is defined by rake, so maybe not change that internally, but instead allow passing names like sub/subsub in the command line and convert them to sub:subsub before finding and invoking the task.
> (note: i know one can 'cd' to the module directory and build it, but this is tedious)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.