Skip to content

Commit

Permalink
Fixed jar paths to be os-independent
Browse files Browse the repository at this point in the history
  • Loading branch information
adityaapte committed Jun 4, 2018
1 parent cf146b7 commit 05dd1ec
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions ML_Dicom/init_ML_DICOM.m
Expand Up @@ -32,15 +32,15 @@
initFlag = 1;

if isdeployed
path1 = [getCERRPath,'bin\dcm4che-2.0.27\lib\dcm4che-core-2.0.27.jar'];
path2 = [getCERRPath,'bin\dcm4che-2.0.27\lib\log4j-1.2.16.jar'];
path3 = [getCERRPath,'bin\dcm4che-2.0.27\lib\slf4j-api-1.6.1.jar'];
path4 = [getCERRPath,'bin\dcm4che-2.0.27\lib\slf4j-log4j12-1.6.1.jar'];
path5 = [getCERRPath,'bin\dcm4che-2.0.27\lib\dcm4che-image-2.0.27.jar'];
path6 = [getCERRPath,'bin\dcm4che-2.0.27\lib\dcm4che-imageio-2.0.27.jar'];
path7 = [getCERRPath,'bin\dcm4che-2.0.27\lib\dcm4che-imageio-rle-2.0.27.jar'];
path8 = [getCERRPath,'bin\dcm4che-2.0.27\lib\dcm4che-iod-2.0.27.jar'];
path9 = [getCERRPath,'bin\dcm4che-2.0.27\lib\dcm4che-net-2.0.27.jar'];
path1 = fullfile(getCERRPath,'bin','dcm4che-2.0.27','lib','dcm4che-core-2.0.27.jar');
path2 = fullfile(getCERRPath,'bin','dcm4che-2.0.27','lib','log4j-1.2.16.jar');
path3 = fullfile(getCERRPath,'bin','dcm4che-2.0.27','lib','slf4j-api-1.6.1.jar');
path4 = fullfile(getCERRPath,'bin','dcm4che-2.0.27','lib','slf4j-log4j12-1.6.1.jar');
path5 = fullfile(getCERRPath,'bin','dcm4che-2.0.27','lib','dcm4che-image-2.0.27.jar');
path6 = fullfile(getCERRPath,'bin','dcm4che-2.0.27','lib','dcm4che-imageio-2.0.27.jar');
path7 = fullfile(getCERRPath,'bin','dcm4che-2.0.27','lib','dcm4che-imageio-rle-2.0.27.jar');
path8 = fullfile(getCERRPath,'bin','dcm4che-2.0.27','lib','dcm4che-iod-2.0.27.jar');
path9 = fullfile(getCERRPath,'bin','dcm4che-2.0.27','lib','dcm4che-net-2.0.27.jar');
javaaddpath({path1,path2,path3,path4,path5,path6,path7,path8,path9});
return
end
Expand Down

0 comments on commit 05dd1ec

Please sign in to comment.