DO NOT REPLY [Bug 31065] - unused import in jsp code causes failure in jdt compiler

2004-09-08 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=31065.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31065

unused import in jsp code causes failure in jdt compiler

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED



--- Additional Comments From [EMAIL PROTECTED]  2004-09-08 20:23 ---
Fixed in 5.5.1.  We mistakingly treated unused import warnings as errors.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 31065] New: - unused import in jsp code causes failure in jdt compiler

2004-09-05 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=31065.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31065

unused import in jsp code causes failure in jdt compiler

   Summary: unused import in jsp code causes failure in jdt compiler
   Product: Tomcat 5
   Version: 5.5.0
  Platform: PC
OS/Version: Windows XP
Status: NEW
  Severity: Major
  Priority: Other
 Component: Jasper
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


My jsp code includes a common init.jsp that in turn imports all my 
packages.  When I upgraded to tomcat 5.5.0, none of my jsp code worked because 
the jdt compiler is much more restrictive.  I found the error and corrected it 
by modifying JDTCOmpiler.java as follows:

*** jakarta-tomcat-
jasper/jasper2/src/share/org/apache/jasper/compiler/JDTCompiler.javaSun 
Sep  5 14:41:20 2004
--- jakarta-tomcat-
jasper/jasper2/src/share/org/apache/jasper/compiler/JDTCompiler.java.orig
Sun Sep  5 14:41:05 2004
***
*** 263,270 
   CompilerOptions.GENERATE);

  settings.put(CompilerOptions.OPTION_ReportDeprecation,

   CompilerOptions.IGNORE);

- settings.put(CompilerOptions.OPTION_ReportUnusedImport,

-  CompilerOptions.IGNORE); 

  

  if (ctxt.getOptions().getJavaEncoding() != null) {

  settings.put(CompilerOptions.OPTION_Encoding,

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 31065] - unused import in jsp code causes failure in jdt compiler

2004-09-05 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=31065.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31065

unused import in jsp code causes failure in jdt compiler





--- Additional Comments From [EMAIL PROTECTED]  2004-09-06 04:30 ---
This is a widespread item (although prbably not best coding practice).  I found
it in the jsp examples, e.g. cal1.jsp

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: DO NOT REPLY [Bug 31065] -

2004-09-05 Thread mlist
ATTENTION: THIS IS AN AUTOMATED RESPONSE.  DO NOT
REPLY TO THIS MESSAGE.

If you want to end your subscription, please use this link:
http://www.1funny.com/unsubscribe.shtml

If you want to subscribe, please use this link:
http://www.1funny.com/mailinglist.shtml

If you need to contact a live person, use this link:
http://www.1funny.com/contactus.shtml


Sincerely,

1Funny.com Admin
http://www.1funny.com



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]