compiling individual JSPs
how do I setup Idea 4.0 to enable compilation of an individual JSP? the "compile" menu item is grayed out.
I checked "jasper" checkbox, but that compiles ALL JSPs.
This single-JSP compilation was possible in v.3
thanks,
larry
请先登录再写评论。
From user help under J2EE Development > Web Application Development >JSP
Validation:
"To run JSP Validation once for a Web module or its JSPs, select Validate
JSP item in the context menu called by right-clicking the item (file,
package, module) within the desired Web module in the Project View tool
window."
It isn't obvious -- I only found it by reading the docs. :) Also, it seems
that they call this validation, but it is actually compiling -- at least
that's what it seems to me. Not clear in their docs.
Steve
"larry hamel" <no_mail@jetbrains.com> wrote in message
news:31286102.1078359870425.JavaMail.itn@is.intellij.net...
"compile" menu item is grayed out.
>
>
>
>
>
Thanks, Steve.
My impression is that the first compile does ALL JSPs, and then it is incremental after that.
Intellij: Please give us back the ctrl-shift-F9 that compiled EITHER the java file OR the JSP file, depending on the context.
larry
That is not a compilation since it produces no output, e.g. .class files are not generated.
It just gives you errors Jasper can found.
--
regards,
Alexey Kudravtsev
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"larry hamel" <no_mail@jetbrains.com> wrote in message news:33267792.1080635417322.JavaMail.itn@is.intellij.net...
>
>
>
Just curious: is it possible to compile jsp-files to class files
(servlets)?
Tom
Hello Thomas,
Yeah some Servlet containers do it. it would be nice if IDEA treated it that way too.
We desperately need a better way to do deployment updates when files are changed, right now it's still convoluted.
R
-- Posted by JetBrains OmniaMea