ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mills, Maurice" <>
Subject Get class name in static context
Date Fri, 23 Mar 2001 21:16:05 GMT
Sorry, to the Ant and JBoss lists, but the response is quicker from you.

I am trying to get the name of a class during static initialization.
Normally, you do this.getClass().getName(), however getClass() is not static
and therefore can not be called from a method, or initialization.

Does anyone know how to do this?

View raw message