ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <stev...@iseran.com>
Subject Re: submitting enhancements
Date Wed, 04 Feb 2004 09:22:25 GMT
Matt Benson wrote:
> In the case when a member of the community wants to
> submit a patch to enhance some core Ant functionality,
> and needs some simple helper class that may already
> exist in another Apache or Jakarta project (such as
> commons), AND the changes are too fundamentally
> embedded in existing code to make the helper class
> optional, what would be the best thing to do?
> 
> a) write a new class just for Ant (maybe refactoring
> existing Ant classes along the way)

duplicates effort

> b) add a version of the other class to Ant's src
> structure

makes maintenance hard

> c) add the other project as a dependency
> 


It is considered bad form to add a new dependency to existing code, as 
it breaks things and users are unhappy.

> ...what, if any, additional caveats should be observed
> in whichever is deemed the correct choice?

There is no correct choice. If you look how new stuff has been tacked 
into existing code, people often end up using reflection to make the new 
features optional, rather than mandatory.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message