--- Nicola Ken Barozzi <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>