harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Hindess <mark.hind...@googlemail.com>
Subject Re: [build] ant target naming consistency
Date Thu, 14 Feb 2008 09:08:59 GMT

On 13 February 2008 at 21:32, "Nathan Beyer" <ndbeyer@apache.org> wrote:
> Does anyone object to normalizing the names of the Ant targets? The
> mixed use of '-' and '_' is starting to push me over the edge. As an
> example, here's the targets available in the top-level of the
> federated build.
>  build-all        build complete implementation
>  bundle_src       assemble source snapshot
>  default          setup and build complete implementation
>  make-snapshot    setup and build complete src + binaries set
>  populate_source  checkout the class library and VM source trees
>  reset            removes vm and classlib dirs and resets
> I'd like to just use '-' across the board.


As a low priority, we should also try to be consistent in using names starting
with '-' for all targets that don't form part of the api and including good 
descriptions for those that do.

> We can maintain the previous targets for a while via redirects and put
> in some deprecation statements.

I would be inclined to have the old targets just fail with a message
containing the new target name.  That is, force people to change rather
than letting the depreciated targets work by calling the new targets automatically.


View raw message