Re: [lang] bulding under linux 1.2.2

2003-07-29 Thread Henri Yandell
If Lang itself did not build under 1.2, I'd think it is bad. I don't think we can trust a Lang that builds under 1.4 to necessarily work on all platforms. Currently the tests use the classes to build. Probably they should run against the built jar so a 1.2 built jar can be tested comfortably unde

Re: [lang] bulding under linux 1.2.2

2003-07-29 Thread Phil Steitz
I ran into this same problem, but did not mention it since I thought that the expectation was that the code built on 1.4 would *run* on 1.2+ The tests that I have been doing with 1.3 and 1.2 have used code and tests compiled using 1.4. Am I testing the wrong way? What exactly does it mean in Statu

Re: [lang] bulding under linux 1.2.2

2003-07-29 Thread Henri Yandell
Ah, it seems that when you call the getEnum method and provide the class, it only finds Enums of that class and not an extension of it. Which, looking at the code makes sense. Anonymous extensions do still work as $1.. etc gets stripped off. So, one solution is to declare explicit classes with i

[lang] bulding under linux 1.2.2

2003-07-29 Thread Henri Yandell
Just downloaded the 1.2.2 to my new linux dev-server. Up until now I've been building under 1.3 and 1.4. src/test/org/apache/commons/lang/enum/OperationEnum.java does not build under 1.2.2/Linux due to: [javac] /home/hen/jakarta/branch2.0/jakarta-commons/lang/src/test/org/apache/commons/lang