ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jerome Jar" <iusr....@gmail.com>
Subject Re: svn commit: r463601 - in /ant/core/trunk/src: main/org/apache/tools/ant/types/EnumeratedAttribute.java tests/junit/org/apache/tools/ant/types/EnumeratedAttributeTest.java tests/junit/org/apache/tools/ant/types/EnumeratedAttributeTest_Factory.java
Date Wed, 03 Jan 2007 07:33:19 GMT
No idea, but OuterClass.class.getClasses() always works fine for me,
and also getDeclaredClasses().

On 10/13/06, Dominique Devienne <ddevienne@gmail.com> wrote:
> On 10/13/06, Jan.Materne@rzf.fin-nrw.de <Jan.Materne@rzf.fin-nrw.de> wrote:
> > Yep - was my first try. But for some reasons I couldnt load that class via reflection.
> > Do you have a suggestion? I would prefer inner classes too. ...
>
> Hmmm, interesting. May be a '.' or '/' vs. '$' issue between the outer
> and inner.
>
> It may be something specific to the Ant test cases, because I believe
> some tasks have enums as static inners. --DD
>
> PS: You didn't forget the static keyword, no? I had to ask ;-)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
>
>


-- 
"Houston, we have a problem."

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


Mime
View raw message