The Oracle Commerce Platform includes a URL protocol named dynamosystemresource
. You can use this protocol to refer to any file in the system CLASSPATH. Just as Nucleus makes components available through a Nucleus address relative to the Oracle Commerce Platform configuration path, the dynamosystemresource
protocol makes files available through an address relative to the CLASSPATH. For instance, the following notation identifies a file with a path relative to the CLASSPATH of somepackage/file.txt
:
dynamosystemresource:/somepackage/file.txt
You can use a URL in this form as a property value in components. For example:
fileLocation=dynamosystemresource:/somepackage/file.txt