facebook

JSP Formatter bug, and workaround

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #238597 Reply

    Eclipse 3.1, Workbench 4.0, CommonClipse plugin. WIndows XP.

    The formatter will reformat the following jsp (of 1 line):

    <jsp:include page=”/include/incfooter.jsp” />

    to

    <jsp:include page=”/include/incfooter.jsp” /
    >

    (note the ending chevron). This does this every time for me, but *ONLY* if it’s the last line, and not followed by any CR’s. If there any blank lines following that line, the formatter leaves it alone.

    #238610 Reply

    Kapil Kapre
    Member

    @MoeDrippins wrote:

    Eclipse 3.1, Workbench 4.0, CommonClipse plugin. WIndows XP.

    The formatter will reformat the following jsp (of 1 line):

    <jsp:include page=”/include/incfooter.jsp” />

    to

    <jsp:include page=”/include/incfooter.jsp” /
    >

    (note the ending chevron). This does this every time for me, but *ONLY* if it’s the last line, and not followed by any CR’s. If there any blank lines following that line, the formatter leaves it alone.

    This is a known issue and has been adressed in 4.0.1.
    https://www.genuitec.com/forums/topic/myeclipse-4-0-1ga-for-eclipse-3-1-x-is-now-available/&highlight=

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: JSP Formatter bug, and workaround

You must be logged in to post in the forum log in