This content has been marked as final.
Show 1 reply
-
1. Re: tagfiles and generics
amirkibbar Jul 18, 2005 4:19 AM (in response to manica)Hi,
to enable 1.5-complient code in jboss you must do the following:
* edit jboss-home/server/default/deploy/jbossweb-tomcat55.sar/conf/web.xml
o find the servlet called jsp and add the following init params:
<!-- enable 1.5 code -->
<init-param>
<param-name>compilerSourceVM</param-name>
<param-value>1.5</param-value>
</init-param>
<init-param>
<param-name>compilerTargetVM</param-name>
<param-value>1.5</param-value>
</init-param>
<!-- end of 1.5 enablement -->
* copy java-home/lib/tools.jar to jboss-home/server/default/deploy/jbossweb-tomcat55.sar/
* copy ant-home/lib/ant.jar to the same location (use ant 1.6.5 or above)
* remove jasper-compiler-jdt.jar from that location (the ant.jar replaces its functionality)
Amir