Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Mar 2006 23:21:33 -0400 (AST)
From:      "Marc G. Fournier" <scrappy@hub.org>
To:        Kensaku Masuda <greg@greg.rim.or.jp>
Cc:        freebsd-ports@freebsd.org
Subject:   apache-jserv doesn't work with with jdk1.5 ...
Message-ID:  <20060314232026.N1178@ganymede.hub.org>

next in thread | raw e-mail | index | archive | help

After creating a symlink from libtool15 -> libtool, it builds until it 
hits the following:

Compiling JServ.java ...
JServ.java:390: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier
(try -source 1.4 or lower to use 'enum' as an identifier)
         Enumeration enum = servletManagerTable.elements();
                     ^
JServ.java:391: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier
(try -source 1.4 or lower to use 'enum' as an identifier)
         while (enum.hasMoreElements()) {
                ^
JServ.java:393: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier
(try -source 1.4 or lower to use 'enum' as an identifier)
                 (JServServletManager) enum.nextElement();
                                       ^
3 errors


----
Marc G. Fournier           Hub.Org Networking Services (http://www.hub.org)
Email: scrappy@hub.org           Yahoo!: yscrappy              ICQ: 7615664



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060314232026.N1178>