You configure a dm Server instance to host a repository
by editing the
remote clients can then access the artifacts in this hosted repository and use them locally.
When you specify a property in the file, use the format
repository-namerefers to the name of the hosted repository.
propertyrefers to the name of a particular property.
valuerefers to the value of the property.
my-hosted-repo.type=external specifies that the
my-hosted-repository repository is
The following table lists the properties that you can include in the
Table 9.7. Hosted Repository Properties
|Specifies the type of path of the hosted repository.
All paths are local to the current dm Server instance.
You can set this property to one of the following valid values:
See Watched or External Repository? for additional information about when to configure watched or external repositories for your particular environment.
Specifies the pattern that an external hosted repository uses when deciding which
local directories it should search when identifying artifacts.
Use this property when
Specifies the single directory of a watched hosted repository.
You can specify either an absolute or relative pathname for the directory.
If you specify a relative pathname, it is relative to the root of the dm Server installation (
Specifies the interval in seconds between checks of a watched directory by a watched hosted repository.
This property is optional. Use this property when
The following sample shows a
com.springsource.repository.hosted.properties file with a single external repository
my-hosted-repo with search pattern
See Example of watched and remote repositories for details on how a local repository can remotely access the artifacts in this hosted repository.