cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <vadim.gritse...@verizon.net>
Subject RE: Can't build 2.0.2, Can build 2.0.3
Date Sun, 11 Aug 2002 01:13:00 GMT
> From: Jesse Reynolds [mailto:lizst@va.com.au]
> 
> Hi folx
> 
> Does anyone know about these two build errors? 2.0.3 builds without a
> hitch, but 2.0.2 gives these two errors.
> 
> /usr/install/cocoon-
>
2.0.2/build/cocoon/src/org/apache/cocoon/components/source/URLSource.jav
a:232:
> Method setInstanceFollowRedirects(boolean) not found in class
> java.net.HttpURLConnection.
> 
> ((HttpURLConnection)connection).setInstanceFollowRedirects(false);
> 
> ^
> /usr/install/cocoon-
>
2.0.2/build/cocoon/src/org/apache/cocoon/components/store/FilesystemStor
e.java
> :377:
> Exception java.lang.Exception must be caught, or it must be declared
> in the throws clause of this method.
>          return java.net.URLDecoder.decode( filename );
>                                           ^
> 
> the entire build output is below.
> 
> Environment is FreeBSD 4.1.1-RELEASE, Linux (Blackdown) JDK 1.2.2,


Seems to me that 2.0.2 does not compile under JDK1.2, and requires 1.3.
Cocoon 2.0.3 was fixed in this respect and works with JDK1.2 now.

Vadim



---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message