Nico, I like the idea of upgrading. Just make sure if you do this you also test the applet with the new.htm page. This was very odd -- working in Eclipse and Jmol.jar, but not in the applet. I think it was just something missed in build.xml.
Bob Nicolas Vervelle wrote: >Egon Willighagen wrote: > > >>>>Nico, what did you want to change? >>>> >>>> >>>> >>>I tried the java.net version of vecmath to fix a compilation problem. >>> >>>It seems it wasn't a good idea. I am reverting my changes. >>> >>> >>> >>I'm not getting this. What compile fix did you have? >> >> >> > >René Kanters had a problem compiling Jmol on his computer because he had >the "official" vecmath library installed on his computer. >The problem is that between the version we are using (1.2) and the >current version (1.4), they made some API changes that are not fully >backward compatible (and even incompatible): >- Tuple3f now implements Cloneable, but defines the clone() method as >not throwing CloneNotSupportedException. >- org.jmol.adapter.smarter.Atom implements Cloneable, extends Tuple3f >(Point3f to be accurate) and calls super.clone() > >With version 1.2, super.clone() is defined as throwing >CloneNotSupportedException, so we need to catch it in the cloneAtom() >method. >With version 1.4, super.clone() is defined as *not* throwing >CloneNotSupportedException, so we mustn't catch this exception > >So there's no solution working for both 1.2 and 1.4 > >Nico > > >------------------------------------------------------------------------- >Using Tomcat but need to do more? Need to support web services, security? >Get stuff done quickly with pre-integrated technology to make your job easier >Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >_______________________________________________ >Jmol-developers mailing list >[email protected] >https://lists.sourceforge.net/lists/listinfo/jmol-developers > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Jmol-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-developers
