I think that you may need to set the
source="1.3"
Otherwise, it will complain because it can see source code constructs
(from 1.4 and 1.5) for which it cannot generate 1.1 object code.
Actually, I think that for CDK stuff you should set the source and target
to be 1.4
source="1.4" target="1.4"
Only the Jmol applet needs to run in Java 1.1 for the MSFT JVM ... and CDK
will not run there.
So, specify 1.4 source & target so that you can use assertions (and maybe
a few other things that are enabled in 1.4)
Miguel
> On Monday 26 September 2005 02:35 pm, Egon Willighagen wrote:
>> > However, this does not necessarily mean that it will not work with
>> Java
>> > 1.4. For example, in Jmol I do development on Java 1.5, but have
>> options
>> > set so that it will generate code for Java 1.3.
>
> <target name="compile">
> <javac srcdir="${src}" destdir="${build}" optimize="${optimization}"
> debug="${debug}" deprecation="${deprecation}" target="1.1"
> includesfile="${src}/jmol.javafiles">
> <classpath refid="project.class.path" />
> </javac>
> </target>
>
> That should be fine, right? This is what jmol.xml does...
>
> Egon
>
>
> -------------------------------------------------------
> SF.Net email is sponsored by:
> Tame your development challenges with Apache's Geronimo App Server.
> Download
> it for free - -and be entered to win a 42" plasma tv or your very own
> Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
> _______________________________________________
> Jmol-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-developers
>
>
--------------------------------------------------
Michael T. Howard [EMAIL PROTECTED]
23 Algonquin Avenue tele 978-474-4559
Andover, MA 01810-5527 cell 978-886-3697
USA fax 978-662-3126
--------------------------------------------------
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers