After a little more research, I did see that revision 510284 of o.a.p.core.ContainerInvocation.java has a workaround. Would this be a suitable drop in to replace this file to fix the 1.5 dependency, or are there other changes necessary?
Thanks, Jerry Russell -----Original Message----- From: Jerry Russell [mailto:[EMAIL PROTECTED] Sent: Mon 3/5/2007 10:58 PM To: [email protected] Subject: Problems building latest Pluto with JDK1.4.2 and Tomcat 5.0.28 According to the WIKI, Pluto 1.1.x works with JDK1.4.2 and Tomcat 5.0.27. We are trying to build with JDK 1.4.2_13 and Tomcat 5.0.28. When building, we get the following error. This is caused by the remove() method of ThreadLocal class not being implemented until JDK1.5. Is there a suitable version of Pluto source that will work with my configuration? [INFO] [jar:jar] [INFO] Building jar: E:\Downloads\pluto-1.1.0\pluto-descriptor-impl\target\pluto-descriptor-impl-1.1.0.jar [INFO] [install:install] [INFO] Installing E:\Downloads\pluto-1.1.0\pluto-descriptor-impl\target\pluto-descriptor-impl-1.1.0.jar to C:\Documents and Settings\ibm\.m2\repository\org\apac he\pluto\pluto-descriptor-impl\1.1.0\pluto-descriptor-impl-1.1.0.jar [INFO] ---------------------------------------------------------------------------- [INFO] Building Pluto Portlet Container [INFO] task-segment: [install] [INFO] ---------------------------------------------------------------------------- [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] [INFO] Compiling 1 source file to E:\Downloads\pluto-1.1.0\pluto-container\target\classes [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Compilation failure E:\Downloads\pluto-1.1.0\pluto-container\src\main\java\org\apache\pluto\core\ContainerInvocation.java:[64,18] cannot resolve symbol symbol : method remove () location: class java.lang.InheritableThreadLocal E:\Downloads\pluto-1.1.0\pluto-container\src\main\java\org\apache\pluto\core\ContainerInvocation.java:[64,18] cannot resolve symbol symbol : method remove () location: class java.lang.InheritableThreadLocal [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 8 seconds [INFO] Finished at: Mon Mar 05 13:33:21 CST 2007 [INFO] Final Memory: 7M/13M [INFO] ------------------------------------------------------------------------
