Hi Robert, Very useful feature indeed! I was wondering, how does m2eclipse do 'download source', perhaps we can follow a similar approach?
Cheers, Stefan On 16/02/16 22:33, "Robert Munteanu" <[email protected]> wrote: >Hi, > >In the light of SLING-3605 [0] which will bring the Eclipse tooling the >ability to automagically configure debugging to use the sources of the >bundles deployed on a Sling instance, I will need to create a new >tooling/support bundle. > >For now, this bundle will expose a servlet which returns a list of all >bundles installed in a Sling runtime, together with source lookup >hints. > >The only source lookup hints that I have at the moment are the Maven >GAV coordinates. These are located inside the bundle in a file named >/META-INF/maven/${artifactId}/pom.properties. > >I did not see a way to retrieve this using existing HTTP APIs or the >web console so I'm going to create my own. > >Two questions: > >a) Is there already a way to retrieve this info that I missed? >b) What would be a good bundle symbolic name for this bundle? > >For b) I am considering org.apache.sling.tooling.support.introspection >or org.apache.sling.tooling.support.info , but maybe someone has a >better suggestion :-) > >Thanks, > >Robert > > >[0]: https://issues.apache.org/jira/browse/SLING-3605
