Funny, I had that yesterday too. Blamed it on my download skills, but maybe it isn't.
Nico -----Oorspronkelijk bericht----- Van: Michiel de Mare [mailto:[EMAIL PROTECTED] Verzonden: maandag 7 juli 2003 11:59 Aan: '[EMAIL PROTECTED]' Onderwerp: RE: compiling under java 1.4 - solution If it's compatible with the stable branch too, it would be great if you could merge it in there. BTW: When building the source and downloading the libraries (ant bindist), I get an error unzipping the jspsmartupload package, claiming it's corrupt. According to cygwin gunzip, it's corrupt too, but winzip handles it just fine. Anyway, it requires another manual intervention from me (yes, I AM lazy:). Anyone else got this problem, or is it a windows/java14/ant153 problem? Cheers, Michiel de Mare. Finalist IT Group. -----Oorspronkelijk bericht----- Van: Kees Jongenburger [mailto:[EMAIL PROTECTED] Verzonden: Monday, July 07, 2003 12:54 PM Aan: [EMAIL PROTECTED]; Michiel de Mare; '[EMAIL PROTECTED]' Onderwerp: Re: compiling under java 1.4 - solution hmm in the 1.7 branch I have put a patch for this problem On Monday 07 July 2003 12:44 pm, Michiel de Mare wrote: > I've got a solution for the problem that the current mmbase source > distro currently does not build under java 1.4 without (tedious) human > intervention. The following ant snippet will fix the offending files. > It's only one way (1.3 -> 1.4, not the other way around) and it's not > very future > proof (it might break if the source files are changed), but still it's > an improvement over manually hacking the source to get it working. > > <!-- Make compilable for java 1.4 --> > <replaceregexp flags="g" > match="//\W+return" replace="return"> > <fileset dir="${mmbase.src}/src/org/mmbase/module/database" > includes="MultiConnection.java,MultiStatement.java"/> > </replaceregexp> > <replaceregexp > file="${mmbase.src}/src/org/mmbase/module/database/MultiConnection.jav > a" > flags="g" > match="//\W+con" replace="con"/> > <replace > file="${mmbase.src}/src/org/mmbase/module/database/MultiConnection.java" > token="private class Savepoint" value="static"/> > <replace > file="${mmbase.src}/src/org/mmbase/module/database/MultiConnection.java" > token="throw new Unsupported" value="// throw new Unsupported"/> > <replace > file="${mmbase.src}/src/org/mmbase/module/database/MultiStatement.java" > token="throw new Unsupported" value="// throw new Unsupported"/> > > > Cheers, Michiel de Mare. > Finalist IT Group. > -- Kees Jongenburger Mediapark C101 Hilversum +31 (0)35 6772910
