apache-jserv doesn't work with with jdk1.5 ...

Marc G. Fournier scrappy at hub.org
Wed Mar 15 03:21:29 UTC 2006


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 at hub.org           Yahoo!: yscrappy              ICQ: 7615664


More information about the freebsd-ports mailing list