javaeetutorial
  1. javaeetutorial
  2. JAVAEETUTORIAL-128

File paths wrong in Java EE 6 Tutorial from the UpdaterTool

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 6.0.7-5
    • Fix Version/s: 6.0.7-5
    • Component/s: examples
    • Labels:
      None
    • Environment:

      Mac OS 10.8, JVM 1.7_5, Java EE 6 SDK Update 4

      Description

      "To Obtain the Tutorial Component Using the Update Tool" on page 73 does not work properly on a Mac, at least not with the OS version I am running. The reason being is the update tool has the paths all wrong. If I look at the Files view of the Java EE 6 Tutorial version 6.0.7-4 they look like the example I have pasted below:

      glassfish/docs/javaee-tutorial\doc\bnaac.html
      glassfish/docs/javaee-tutorial\doc\bnaan.html
      glassfish/docs/javaee-tutorial\doc\bnaaw.html
      glassfish/docs/javaee-tutorial\doc\bnaax.html
      glassfish/docs/javaee-tutorial\doc\bnaay.html
      glassfish/docs/javaee-tutorial\doc\bnabo.html
      glassfish/docs/javaee-tutorial\doc\bnabs.html

      Everywhere there is a backslash () the folder structure is not created, you just get a file with the name "javaee-tutorial\doc\bnaay.html". As a result the file structure is completely missing on Mac OS and it is necessary to copy the tutorial from a Windows computer where either slash appears to work.

        Activity

        Hide
        Ian Evans added a comment -

        Looking into this right now. I don't know why the Update Center toolkit wouldn't handle Windows paths correctly when creating packages, but that's what this appears to be.

        Show
        Ian Evans added a comment - Looking into this right now. I don't know why the Update Center toolkit wouldn't handle Windows paths correctly when creating packages, but that's what this appears to be.
        Hide
        Ian Evans added a comment -

        Changing priority to P1, as this package is broken on non-Windows platforms.

        Show
        Ian Evans added a comment - Changing priority to P1, as this package is broken on non-Windows platforms.
        Hide
        Ian Evans added a comment -

        Created package 6.0.7-5 with correct file layout for Unix platforms. Release engineering will push it to the external repository soon.

        Show
        Ian Evans added a comment - Created package 6.0.7-5 with correct file layout for Unix platforms. Release engineering will push it to the external repository soon.

          People

          • Assignee:
            Ian Evans
            Reporter:
            shazlett
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: