ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Jackson" <foamd...@gmail.com>
Subject Re: svn commit: r486146 - /ant/core/trunk/src/main/org/apache/tools/ant/util/StringUtils.java
Date Tue, 12 Dec 2006 15:50:06 GMT
On 12/12/06, Jan.Materne@rzf.fin-nrw.de <Jan.Materne@rzf.fin-nrw.de> wrote:
> Doesnt work on my JDK-1.2.1_004
>
>
> ... Compiling Ant Classes
> src\main\org\apache\tools\ant\util\StringUtils.java:205: Method matches(java.lang.String)
not found in class java.lang.String.
>         if(humanSize.matches(regex)) {
>                             ^
> src\main\org\apache\tools\ant\util\StringUtils.java:222: Method matches(java.lang.String)
not found in class java.lang.String.
>         } else if(humanSize.matches("\\d+")) {
>

damn! you're right, regexs are 1.3 or 1.4+, sorry about that - I'll
modify this to be jdk1.2 safe (crikey when will we ever deprecate jdk
1.2 ;)

Thanks & good save - I don't even have a 1.3 jdk to test on at the
moment /my bad

Kev

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


Mime
View raw message