aemtools / aemtools

AEM Tools is Intellij IDEA plugin containing Adobe Experience Manager related features
https://plugins.jetbrains.com/plugin/9397-aem-tools
GNU General Public License v3.0
56 stars 21 forks source link

OSGI: Add ability to generate SCR xml from OSGI annotations during build by Idea #226

Closed bobi closed 2 years ago

bobi commented 2 years ago

I think it will be useful if Idea will be able to generate scr xml from OSGI annotations during build by IDE. It will be useful for build and then run unit tests with IDE.

koha26 commented 2 years ago

Thank you for the suggestion. However, I think it is not the responsibility of the plugin. Doesn't this maven plugin (https://felix.apache.org/documentation/subprojects/apache-felix-maven-scr-plugin/apache-felix-maven-scr-plugin-use.html) do it?

bobi commented 2 years ago

yes, this plugin or maven-bundle-plugin if this is out of scope in this plugin then you can close the ticket.

koha26 commented 2 years ago

I just want to figure it out for myself. What are the use cases when such plugin functionality can be used instead of maven-scr-plugin or maven-bundle-plugin?

bobi commented 2 years ago

mine use case is to build project with IDE and then run tests again with IDE not with maven.

koha26 commented 2 years ago

Unfortunately, a lot of AEM projects use Maven as a build tool for projects. So, I will close this issue, because there is existed free workaround.