Table of Contents | ||
---|---|---|
|
The File Manager
This self guided tutorial is intended for first time users.
...
No Format | ||
---|---|---|
| ||
. ├── bin │ ├── filemgr │ ├── filemgr-client │ └── query-tool ├── etc │ ├── filemgr.properties │ └── mime-types.xml ├── lib │ └── *.jar ├── logs └── policy | ├── cmd-line-actions.xml | ├── cmd-line-options.xml | ├── oodt├── core | │ ├── elements.xml | │ ├── product-type-element-map.xml | │ └── product-types.xml | | | ├── trace | │| ├── elements.xml | │| ├── product-type-element-map.xml | │| └── product-types.xml | | | ├── geo | │| ├── elements.xml | │| ├── product-type-element-map.xml | │| └── product-types.xml | │| | (additional policy sub subdirectoriesdirectories) └── run |
Please note, if you are using version 0.3 of OODT or earlier, the policy directory will look like this (with no subdirectoriessub directories):
No Format | ||
---|---|---|
| ||
└── policy ├── elements.xml ├── product-type-element-map.xml └── product-types.xml |
...
Server side metadata is generated by using java classes and the extractors that will be used are configured in the product-types.xml file in the chosen policy directory. For this example configuration, you should have /usr/local/oodt/cas-filemgr/policy/coreoodt
as the policy directory, unless you're running version 0.3 or earlier of OODT, in which case you should have /usr/local/oodt/cas-filemgr/policy
as the policy directory.
...
For the GenericFile type find the <metExtractors>
key. It's specifying some extractors to use for server side metadata extraction, namely: CoreMetExtractor, MimeTypeExtractor, FinalFileLocationExtractor. For more details about metadata and extractors see the following page: http://oodt.apache.org/components/maven/metadata/user/basic.html Metadata Extractors.
If you're feeling curious, check out the other xml files in the /usr/local/oodt/cas-filemgr/policy
subdirectories to get a better feel for how we define product types and elements. For a discussion of best practices w.r.t File Manager Policy, the reader is referred to Everything you want to know about File Manager Policy
...