0 Replies Latest reply on Oct 24, 2017 1:23 PM by Игорь Дмитриев

    Wildfly 10 real path to jar nested file in deployment

    Игорь Дмитриев Newbie


      I need to know a real path to jar nested in deployment by class.


      ((VirtualFile) XXX.class.getProtectionDomain().getCodeSource().getLocation().openConnection().getContent()).getPhysicalFile()  point to subdirectory /contents, instead of my.jar, which lay on same level as /contents.


      How make it to point to my.jar ?