> From: Jesse Reynolds [mailto:[EMAIL PROTECTED]]
> 
> 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:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to