I've a problem compiling jsp's against jdk1.5. I've searched the archives,
google, tomcat docs etc but found no help on my specific issue although I
can see anumber of people have had problems with generics support.

I've changed to the Ant compiler and copied the ant.jar to common/lib, added
the compiler parameters to conf/web.xml to enable 1.5 compilation.

I still get a message saying that generics are not supported and I should
change the -source 1.4 to -source 1.5.

I've looked through the ant docs and this appears to be related to the javac
tag in build.xml, but I'm not sure where to put this tag in the context of a
tomcat installation. I've looked through the tomcat docs on jasper (how-to)
but I believe I've removed the dependency on japser so I dont think this is
relevant, although it does mention using the 'javac' argument with
catalina.sh. I've tried this with no success, but it's quite possible I
didn't configure this properly as I'm not sure where catalina.sh is called
from. I've looked through the .sh files but it's not clear.

To sum up, I would like to know how to configure '-source 1.4' to '-source
1.5' or am I barking up the wrong tree?

thanks


***********************************************************************************
The Royal Bank of Scotland plc. Registered in Scotland No 90312. Registered 
Office: 36 St Andrew Square, Edinburgh EH2 2YB. 
Authorized and regulated by the Financial Services Authority 
 
This e-mail message is confidential and for use by the 
addressee only. If the message is received by anyone other 
than the addressee, please return the message to the sender 
by replying to it and then delete the message from your 
computer. Internet e-mails are not necessarily secure. The 
Royal Bank of Scotland plc does not accept responsibility for 
changes made to this message after it was sent. 

Whilst all reasonable care has been taken to avoid the 
transmission of viruses, it is the responsibility of the recipient to 
ensure that the onward transmission, opening or use of this 
message and any attachments will not adversely affect its 
systems or data. No responsibility is accepted by The Royal 
Bank of Scotland plc in this regard and the recipient should carry 
out such virus and other checks as it considers appropriate. 
Visit our websites at: 
http://www.rbos.com
http://www.rbsmarkets.com 
***********************************************************************************

Reply via email to