Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-9638

Default directory of New XHTML Page inside target folder

    Details

      Description

      In a Maven WAR project, when I create a XHTML file, it always suggests it to be under target/m2e-wtp/web-resources.

      This is annoying, cause this folder is derived and building the project will clean it.

      It should use the folder I selected before opening the wizard.

        Gliffy Diagrams

          Activity

          Hide
          scabanovich Viacheslav Kabanovich added a comment -

          New XHTML File wizard inherits this behavior from New HTML File wizard.
          I reported the problem to Eclipse Bugzilla: https://bugs.eclipse.org/bugs/show_bug.cgi?id=356873
          Temporarily, we can fix New XHTML File wizard by overriding relevant methods.

          Also, there is a workaround: modify file /.settings/org.eclipse.wst.common.component putting line

          <wb-resource deploy-path="/" source-path="/WebContent"/> 
          

          before line

          <wb-resource deploy-path="/" source-path="/target/m2e-wtp/web-resources"/> 
          

          (use actual web content root path instead of /WebContent).

          Show
          scabanovich Viacheslav Kabanovich added a comment - New XHTML File wizard inherits this behavior from New HTML File wizard. I reported the problem to Eclipse Bugzilla: https://bugs.eclipse.org/bugs/show_bug.cgi?id=356873 Temporarily, we can fix New XHTML File wizard by overriding relevant methods. Also, there is a workaround: modify file /.settings/org.eclipse.wst.common.component putting line <wb-resource deploy-path="/" source-path="/WebContent"/> before line <wb-resource deploy-path="/" source-path="/target/m2e-wtp/web-resources"/> (use actual web content root path instead of /WebContent).
          Hide
          akazakov Alexey Kazakov added a comment -

          Let's fix it in our wizard if the fix is trivial, otherwise wait for WTP 3.3.2 that is going to have this bug fixed.

          Show
          akazakov Alexey Kazakov added a comment - Let's fix it in our wizard if the fix is trivial, otherwise wait for WTP 3.3.2 that is going to have this bug fixed.
          Hide
          maxandersen Max Rydahl Andersen added a comment -

          Thank you for reporting this issue but this issue have been resolved as out-of-date since it has not had any updates for the last 2+ years (730 days).

          If you believe this issue is still relevant and important then please reopen the issue or create a new one mentioning/linking this jira for background information.

          Thank you!

          Show
          maxandersen Max Rydahl Andersen added a comment - Thank you for reporting this issue but this issue have been resolved as out-of-date since it has not had any updates for the last 2+ years (730 days). If you believe this issue is still relevant and important then please reopen the issue or create a new one mentioning/linking this jira for background information. Thank you!

            People

            • Assignee:
              scabanovich Viacheslav Kabanovich
              Reporter:
              gastaldi George Gastaldi
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development