[jdom-interest] RE: JDOM Compile Error on List Type?
McFarland, Todd
Todd.McFarland at fmr.com
Thu Dec 21 04:50:27 PST 2000
Thanks Jason.
So all I did was run Build11.bat instead of Build.bat? My bad.
-----Original Message-----
From: Jason Hunter [mailto:jhunter at collab.net]
Sent: Wednesday, December 20, 2000 5:34 PM
To: McFarland, Todd
Cc: 'jdom-interest at jdom.org'
Subject: Re: [jdom-interest] RE: JDOM Compile Error on List Type?
You didn't get a wrong one. We write with java.util.*. To build on JDK
1.1 the build script changes that to sun.xxx. It's not pretty, but it's
the best way. Only thing more elegant is to not support JDK 1.1. :-)
-jh-
"McFarland, Todd" wrote:
>
> I just copied over the JDOM-B5 zip instead of using the one on the web
site.
> I opened the source files for "Element.java" and the imports are different
> in
> the two zip files (sun.java.collections.List) vs. (java.util.*).
>
> How did I download the wrong one???
> http://www.jdom.org/dist/source/jdom-b5.zip
>
> -----Original Message-----
> From: McFarland, Todd
> Sent: Wednesday, December 20, 2000 12:56 PM
> To: 'jdom-interest at jdom.org'
> Subject: JDOM Compile Error on List Type?
>
> JDOM works fine on one machine but fails on another with:
>
> List lst = xElem.getChildren();
> --> Incompatible type for declaration. Can't convert
> com.sun.java.util.collections.List to java.util.List.
>
> I've installed jdk1.2.2 on both machines with JDOM Beta 5. Any ideas?
>
> Thanks,
> - Todd
> _______________________________________________
> To control your jdom-interest membership:
>
http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhos
t.com
More information about the jdom-interest
mailing list