kieker-monitoring / kieker

Kieker's main repository
Apache License 2.0
70 stars 41 forks source link

[KIEKER-921] Check for not exported properties of plugins #946

Open rju opened 2 weeks ago

rju commented 2 weeks ago

JIRA Issue: KIEKER-921 Check for not exported properties of plugins Original Reporter: Nils Christian Ehmke


This is related to KIEKER-923 Done and KIEKER-867 Done .

Each plugin should export the properties (with the getCurrentConfiguration method), which are declared in the annotations. This should also be checked. Since changeset 522bb4d753cc64e1b8c5ffacd2a1473b6b4a6efb there is a new JUnit test (TestPluginConfigurationRetention) which makes this sure. All classes which extend AbstractPlugin and which are in the src directory are checked.

The current implementation (736c03217df66982ce603e32a87eccdb880ec236) uses a try-catch-block to catch an exception which occurs only in Jenkins (Jenkins does not find, for example, the JMXWriter class). The same ant target works fine for my local build. Any ideas?

Checklist:

rju commented 1 week ago

author nils-christian -- Tue, 11 Jun 2013 14:19:11 +0200

Solved with cbd8b953a51fff3707c92593bc297dbd0d1de584 and 6d9658ca66b2e8ab8df108be3cfd348f21737de7. Problem was an invalid separator which worked only for Windows, but not for Unix.