We are trying to modify and improve the path system of files in a project when those projects are archived and shared with others that avoid the previous issue of very long nested paths like: C/Users/davle/documents/current_work/2016/blah/blah/blah/file.jmp which result in a nest folder structure when the project is unarchived.
Journals have this issue, too, when they are shared and contain absolute paths to files. @brady_brady's journal packager helps with this to flatten path and make them local and many of use do this manually by editing the scripts. There is the potential for collisions as well, say, if a project has folderA/bigclass.jmp and folderB/bigclass.jmp. Those non-unique names might actually be different data tables.
At any rate, I am looking for some help reviewing our proposed solution. In seeing the below cases, does anyone see any issues with these filename conflict situations. And does any of this bother/confuse anyone?
Remember this is when I have project with a number of files bookmarked and then I go and try to archive this project, brining along all of the files, with the goal of sharing my project with someone else, who will consume it on their computer and not care/want to know where the original files are located on my file system.
Project Archive Paths
Original disk paths on the left; archive paths on the right
Scenario 1
C:\Program Files\JMP\Samples\Data\Big Class.jmp
|
|
|
|
|
C:\users\aander\Desktop\JMP\Big Class 3.jmp
|
|
//jmpsi.na.sas.com/users/aander/JMP/Data/Big Class 4.jmp
|
|
Scenario 2
C:\Program Files\JMP\Samples\Data\Big Class.jmp
|
|
|
|
|
C:\users\aander\Desktop\JMP\Big Class 3.jmp
|
|
//jmpsi.na.sas.com/users/aander/JMP/Data/Big Class 4.jmp
|
|
Scenario 3
C:\Program Files\JMP\Samples\Data\Big Class.jmp
|
|
|
|
|
C:\users\aander\Desktop\JMP\Big Class.jmp
|
|
//jmpsi.na.sas.com/users/aander/JMP/Data/Big Class 4.jmp
|
|
Scenario 4
C:\Program Files\JMP\Samples\Data\Big Class.jmp
|
|
|
|
|
C:\users\aander\Desktop\JMP\Big Class.jmp
|
|
//jmpsi.na.sas.com/users/aander/JMP/Data/Big Class.jmp
|
|
Scenario 5
C:\Program Files\JMP\Samples\Data\Big Class.jmp
|
|
|
|
|
C:\users\aander\Desktop\JMP\Big Class.jmp
|
|
//jmpsi.na.sas.com/users/aander/JMP/Data/Big Class.jmp
|
aander\JMP\Data\Big Class.jmp
|
\Stuff\JMP\Data\Big Class.jmp
|
Stuff\JMP\Data\Big Class.jmp
|
Scenario 6
C:\Program Files\JMP\Samples\Data\Big Class.jmp
|
|
|
|
|
C:\Program Files\JMP\Samples\Aaron\Big Class.jmp
|
|
|
|
|