Help: generics support

"Ben Smith" <[email protected]>
Newsgroups gmane.comp.jakarta.slide.devel
Message-ID <[email protected]>
Hi all,

Anyone can help with the generics support problem?  I was trying to
use Map<String, Object> in Slide 2.1 server. The "build" process
failed and the error message was as follows.
------------------------------------------
generics are not supported in -source 1.4 (try -source 1.5 to enable generics)
------------------------------------------

I definitely have JDK1.5, and have successfully tested Map<String,
List<String>> separately in a separate class on my machine.  What's
wrong please?

I tried adding " source="1.5" " on Line 242 of build.xml. It still
wouldn't work. Please help. Thanks.

Regards,
Ben
===================================
Line 242
<javac srcdir="src/share" destdir="${slide.build}/classes"
debug="${compile.debug}" deprecation="${compile.deprecation}"
optimize="${compile.optimize}"
excludes="**/CVS/**,**/webdav/**,**/manager/**,**/package.html"
target="${compile.target}" source="1.5">
===================================
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.