ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin van den Bemt <mll...@mvdb.net>
Subject Re: Vetoes are void? was Re: [VOTE] target-less build files - counting results
Date Wed, 24 Jul 2002 17:45:03 GMT
It still has methods from Object...

Mvgr,
Martin

On Wed, 2002-07-24 at 19:43, Jose Alberto Fernandez wrote:
>  --- Nicola Ken Barozzi <nicolaken@apache.org> wrote:
> > 
> > 
> > Listen guys, if we follow the analogy with Java
> > classes, what Peter says 
> > make perfect sense.
> > 
> > Having targetless buildfiles is like having
> > methodless classes with only 
> > a static part... I don't know if it's possible in
> > java, but who would 
> > ever use it?
> > 
> 
> public class Constants {
>   public static final Wigget THE_WIGET;
>   public static final Googedly GOOK;
> 
>   static {
>     try {
>       THE_WIGET = new Wigget();
>       GOOK = new Googedly();
>     }
>     catch (Exception e) {
>       System.out.println("Could not initialize");
>     }
>   }
> }
> 
> Actually this is a quite useful pattern, which I have
> seen in many places.
> 
> Jose Alberto
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Everything you'll ever need on one web page
> from News and Sport to Email and Music Charts
> http://uk.my.yahoo.com
> 
> --
> To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>
> 
> 



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