ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicola Ken Barozzi <nicola...@apache.org>
Subject Re: cvs commit: jakarta-ant/src/main/org/apache/tools/ant/helper ProjectHelperImpl.java
Date Wed, 24 Jul 2002 16:09:31 GMT

Magesh Umasankar wrote:
> ----- Original Message ----- 
> From: <bodewig@apache.org>
> 
>>  -<project>
>>  +<project default="foo">
>>     <echo message="Called" />
>>  +  <target name="foo" />
>>   </project>
> 
> 
> This doesn't make sense to me. Why force one 
> to define an empty target, assuming there is
> consensus to allow tasks to exist outside
> targets?  Is it because we want to make
> sure that <target> *is* the entry point,
> whether it does something or not?

What you propose is a degenerate example.
Should be:

   <project default="foo">
    <target name="foo">
      <echo message="Called" />
    </target>
   </project>


-- 
Nicola Ken Barozzi                   nicolaken@apache.org
             - verba volant, scripta manent -
    (discussions get forgotten, just code remains)
---------------------------------------------------------------------


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