cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler" <cziege...@s-und-n.de>
Subject RE: forcing target="1.2"
Date Mon, 05 Aug 2002 07:05:17 GMT
We could force target="1.2", but as we have different versions for jdk 1.2+
and jdk 1.4 because of the sql problems, why not using target="1.4" for
a jdk 1.4 build?

Carsten

> -----Original Message-----
> From: Berin Loritsch [mailto:bloritsch@apache.org]
> Sent: Friday, July 26, 2002 9:08 PM
> To: cocoon-dev@xml.apache.org
> Subject: forcing target="1.2"
> 
> 
> Is there any reason why we have the target="${target.vm}" for compiling
> the class files?
> 
> I find that if you just force the target VM to target="1.2", the class
> file format will work with any JDK 1.2+ JVM.  That is what we do with
> Avalon, and it seems to work.
> 
> Forcing target="1.2" does not limit the libraries you can use, it just
> ensures that serializable classes are serialized the same way, and new
> java bytecode operands are not available.
> 
> I just compiled Cocoon on JDK 1.4, but with -Dtarget.vm=1.2 on the
> command line.  It still works in JDK 1.4, and I am getting ready to
> test it for JDK 1.3.  I expect no problems.
> 
> 
> 
> 
> "They that give up essential liberty to obtain a little temporary safety
>  deserve neither liberty nor safety."
>                 - Benjamin Franklin
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
> 

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


Mime
View raw message