JSP validation is back in 1129

Here are some notes:
To validate JSP on web module make,
- goto Settings/paths/]]>/J2EE Build Settings,
- optionally specify exploded directory path
- and check 'Validate JSP'

To do validation, Jasper need Web module deployment directory structure. So, exploded directory is used for that, or, if exploded
directory is not specified, temp directory created and Web module directory structure built there.

Also, 'Validate JSP' action is available when your right-click on JSP itself, directory containing JSP, web resource directory or
Web module.
That action works (regardless of 'Validate JSP' setting) in this way:
- build Web module deployment directory (according to 'exploded directory path' in J2ee build settings, or use the temp directory if
no exploded dir is specified)
- copy current JSP into the exploded directory
- run Jasper there

--
regards,
Alexey Kudravtsev
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"



1 comment

Alexey Kudravtsev (JetBrains) wrote:

Here are some notes:
To validate JSP on web module make,
- goto Settings/paths/<your Web module>/J2EE Build Settings,
- optionally specify exploded directory path
- and check 'Validate JSP'

To do validation, Jasper need Web module deployment directory structure. So, exploded directory is used for that, or, if exploded
directory is not specified, temp directory created and Web module directory structure built there.

Also, 'Validate JSP' action is available when your right-click on JSP itself, directory containing JSP, web resource directory or
Web module.
That action works (regardless of 'Validate JSP' setting) in this way:
- build Web module deployment directory (according to 'exploded directory path' in J2ee build settings, or use the temp directory if
no exploded dir is specified)
- copy current JSP into the exploded directory
- run Jasper there

So are you saying the Jasper checkbox I see in 1128 is not supposed to
work? Because I tried it and filed a bug because it doesn't validate right.

Thanks
R

0

Please sign in to leave a comment.