Issue Details (XML | Word | Printable)

Key: JAVAEETUTORIAL-128
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Blocker Blocker
Assignee: Ian Evans
Reporter: shazlett
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
javaeetutorial

File paths wrong in Java EE 6 Tutorial from the UpdaterTool

Created: 03/Aug/12 12:17 AM   Updated: 16/Aug/12 01:31 AM   Resolved: 03/Aug/12 06:07 PM
Component/s: examples
Affects Version/s: 6.0.7-5
Fix Version/s: 6.0.7-5

Time Tracking:
Not Specified

Environment:

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


Tags:
Participants: Ian Evans and shazlett


 Description  « Hide

"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.



Ian Evans made changes - 03/Aug/12 04:54 PM
Field Original Value New Value
Assignee Ian Evans [ ievans ]
Ian Evans made changes - 03/Aug/12 04:54 PM
Status Open [ 1 ] In Progress [ 3 ]
Ian Evans added a comment - 03/Aug/12 04:55 PM

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.


Ian Evans added a comment - 03/Aug/12 05:09 PM

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


Ian Evans made changes - 03/Aug/12 05:09 PM
Priority Major [ 3 ] Blocker [ 1 ]
Ian Evans added a comment - 03/Aug/12 06:07 PM

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


Ian Evans made changes - 03/Aug/12 06:07 PM
Status In Progress [ 3 ] Resolved [ 5 ]
Fix Version/s 6.0.7-5 [ 15851 ]
Resolution Fixed [ 1 ]
Ian Evans made changes - 16/Aug/12 01:31 AM
Affects Version/s 6.0.7-5 [ 15851 ]
Affects Version/s current [ 10661 ]