Closed DirkMahler closed 6 years ago
Will be in 1.4.1
Did 'migrate' instead of 'create', but it does not work because Labels vanish. E.g. when the linecount plugin runs after this plugin (which accepts all files), there is only the Linecount label left. Is this the expected behavior? I expected that all label accumulate instead replace. With current behavior 'migrate' is useless when several plugins run after each other.
Migrate is already heavily used by other plugins to add labels, see https://github.com/buschmais/jqa-java-plugin/blob/master/src/main/java/com/buschmais/jqassistant/plugin/java/impl/scanner/PropertyFileScannerPlugin.java#L41
Ah, but this is 'addDescriptorType' which I expect to work like desired. Will give it a try.
Seems to work as expected this time.
Currently the plugin implementations create new
File
labeled nodes instead of using the ones already provided by the file scanner:Instead the following pattern should be used: