This content has been marked as final. Show 6 replies
P.S. Running avk 1.4 and the formal test name is :
Can you please elaborate the problem and also your requirement. I did not understand when you say that the test will fail for included jsps. If the included jsps are not syntactically correct, the test should fail.
Are you saying that AllJSPsMustBeCompilable test is not compiling statically included JSP pages? I would expect the test to compile all the JSP pages that are bundled inside the .war file. If the .war file includes the JSP page that is statically included in some other JSP page, then it would also compile the included JSP page along with the parent JSP page. Is this not happening for you? Can you please explain the problem in detailed?
Firstly, apologies to all for not elaborating the problem.
Ok, Sahoo and Mr. Ghosh, you're both absolutely correct.
The tool compiles the jsps which have static includes perfectly.
However, the statically linked jsps themselves within the war do NOT compile (and if you think about it, they wont even compile as they are just static code snippets that are pasted, so to say, into the parent jsp, and not complete jsps themselves).
Do you think that changing the extensions of these files will help?
Thanks for providing further information about the problem. I see what you are saying. Looks like a limitation/bug in AVK. Would you mind filing a bug for the same. You can file bugs using http://java.sun.com/cgi-bin/bugreport.cgi ? Please use Java Application Verification Kit as the product and verifier as the sub cat. You have to use 1.4 as the version.
Since the included JSPs are not complete JSPs themselves, is it possible for you to change their extension for the moment? We will have to change AVK to compile only top level JSP pages. The question is how do we know what to exclude from compilation. We will figure that out, if possible.
Thanks again for taking the time to visit our site and asking us questions.
Its been almost 5 years now. Can you tell me if this is fixed in the AVK?
I know I logged the bug but I just can seem to find it in the sun bug database as the drop down doesnt have a value for 'AVK'
I'm using AVK 5.0 now and my included jsps are still being compiled.