ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jose Alberto Fernandez" <j_a_fernan...@yahoo.com>
Subject Re: cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs Ant.java
Date Thu, 06 Jun 2002 07:07:34 GMT
From: "Stefan Bodewig" <bodewig@apache.org>

> On Mon, 3 Jun 2002, Jose Alberto Fernandez <j_a_fernandez@yahoo.com>
> wrote:
> 
> > Correct me if I am wrong but the snipped of code below is
> > reproducing code that we already have in the Project API.
> 
> Is almost reproducing, yes.
> 
> > Intead we just need to call here:
> > 
> >       +                newProject.setNewProperty(arg, value);
> 
> And get a warning message for each and every user-property.  This is
> the reason I've duplicated the code.
> 

Fair enough ;-)

Although, this seem to say something about the design of our APIs. It seems to need some more
work still. One may say that this is an special case (due to the nature of Ant.java) but it
feels
funny. 

Jose Alberto



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


Mime
View raw message