ITEA3-Measure / MeasurePlatform

The Measure Platform is a web application which allows to collect, compute, store, and visualize measurements by execution of software measures (they may be defined in SMM - Structured Metrics Metamodel)
10 stars 4 forks source link

Platform is looking for MeasureMetadata.xml in the wrong directory #8

Closed alexandrasandulescu closed 7 years ago

alexandrasandulescu commented 7 years ago

When I tried to upload a Measure example from [1], the archive would contain the file "MeasureMetadata.xml" inside the "metadata" directory. The code lead me to "src/main/java/org/measure/platform/core/impl/MeasureCatalogueService.java".

The suggestion is to change the place where platform searches for "MeasureMetadata.xml". Otherwise, all examples from [1] should be modified.

[1] https://github.com/ITEA3-Measure/Measures

aabherve commented 7 years ago

To be deployed, the measures have to be packaged following this process : https://github.com/ITEA3-Measure/MeasurePlatform/wiki/Manual-Measure-Implementation https://github.com/ITEA3-Measure/MeasurePlatform/wiki/Measure-Packaging

Did you follow this process to package the measure?

alexandrasandulescu commented 7 years ago

PR [1] should fix this. The implementation is done for one single measure, but it can be extended for all measures in the [2] repo.

[1] https://github.com/ITEA3-Measure/Measures/pull/1 [2] https://github.com/ITEA3-Measure/Measures