knowing/Knowing — Issue #27: DPU Bundle Manifest Header
Author: muuki88
Created: 2012-01-05 09:25:41+00:00
State: open
Labels: core, enhancement

### Task

DPU should not only be provided as _IDPUProvider_
service, but also as a header in the MANIFEST.MF

### Implementation

The header could look like
`knowing-dpu: arff-testing.dpu,serialize-test.dpu`

Blanks arent allowed in the DPU filename and DPUs
are separated by comma.

### Affected

The [IDPUDirectory](https://github.com/knowing/Knowing/blob/master/de.lmu.ifi.dbs.knowing.core/src/main/scala/de/lmu/ifi/dbs/knowing/core/service/IDPUDirectory.scala) service implementation now has to listen to BundleEvents to recognize new DPU models. On startup it has to check all existing bundles for resources. Take a look at Eclipse Gemini JPA source code as this implements similar functionality for `persistence.xml`