cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <vadim.gritse...@verizon.net>
Subject RE: Build failing
Date Wed, 29 May 2002 23:26:02 GMT
> From: Michael Aracic [mailto:michael.aracic@paymap.com]
> 
> I'm running windows 2000, JDK 1.2.2 trying to build from the CVS
snapshot
> (HEAD)
> My goal is to get cocoon running in command line mode. Has anyone got
any idea
> what I need to do?

Try Cocoon 2.0.3 CVS instead of HEAD. Last time I checked it was
compiling under java 1.2


Carsten,

Should we keep java 1.2 compatibility for some more time? Or, should
Cocoon 2.0.3 be the last one compatible?

If we abandon 1.2 compatibility, install page should be updated in the
Cocoon 2.1 CVS.

Vadim


> I'd like to use 1.2.2 because that's what's on the sun box I plan to
deploy
> to.
> Thanks,
> Mike
> 
> compile:
>      [echo] Compiling with Java 1.2, debug on, optimize off,
deprecation off
>     [javac] Compiling 2 source files to
C:\XML-CO~1\build\cocoon\classes
>     [javac] C:\XML-
> CO~1\build\cocoon\src\org\apache\cocoon\components\source\URL
> Source.java:219: Method setInstanceFollowRedirects(boolean) not found
in class
> j
> ava.net.HttpURLConnection.
>     [javac]
> ((HttpURLConnection)connection).setInstanceFo
> llowRedirects(false);
>     [javac]
>              ^
>     [javac] C:\XML-
> CO~1\build\cocoon\src\org\apache\cocoon\components\store\File
> systemStore.java:379: Exception java.lang.Exception must be caught, or
it must
> b
> e declared in the throws clause of this method.
>     [javac]         return java.net.URLDecoder.decode( filename );
>     [javac]                                          ^
>     [javac] 2 errors
> 
> BUILD FAILED
> 
> C:\XML-CO~1\build.xml:925: Compile failed, messages should have been
provided.


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


Mime
View raw message