You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@sridharjayakumar Yes, I saw how the bootstrap-content includes the custom bundle for the bootstrap-bundle but I personally just don't find it right. Firstly, it requires to build a separated bundle from the custom library. Secondly, dependency required by the bootstrap-bundle is added in the bootstrap-content. Not relevant modules become relevant which contradicts my idea of single-responsibility principle. Thirdly, a bundle with custom library would have to be visible with its services exposed. This violates the restrictions set on the custom library.
Is your solution the only one available?
There is a problem with extending the bootstrap connector bundle with custom library.
Steps to reproduce:
or take any library that is not publicly available.
lib
location, i.e.aem-translation-framework-bootstrap-connector/bundle/lib/dummy-1.0-SNAPSHOT.jar
maven-bundle-plugin
in bootstrap-connector.bundle pom fileIt does not matter if the library is embedded or inlined since if doesn't work in both cases. (I prefer inlined)
Call the library from the code, for example in
BootstrapTranslationServiceImpl.java
addprivate Dummy dummy = new Dummy();
on line 63.Deploy the bundle to the AEM instance.
Problem: When creating translation project
boostrap
name in no longer available on the Translation Provider list. And there is no errors in logs.The text was updated successfully, but these errors were encountered: