The path for XNAT’s plugins folder is configured in a <PreResources> block in its context definition, which means the resources defined in there are searched before other standard resource paths for web applications:
<Resources>
<PreResources className="org.apache.catalina.webresources.DirResourceSet" base="${xnat.home}/plugins" webAppMount="/WEB-INF/lib” />
</Resources>
This means that, if you create a class with the same package and name as an existing class in XNAT–such as, for example, org.nrg.dcm.xnat.MRScanAttributes–and put it in a jar in XNAT's plugins folder, that class definition essentially hides the original class definition.
Rick Herrick
Senior Software Developer
------ Original Message ------
Date 6/2/23, 3:11:01 AM
Subject Re: [XNAT Discussion] Re: Future plans regarding DCM field length bug