Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-3019

Provide a mechanism to install a bundle based on a directory

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • IDE
    • None

    Description

      With an IDE integration and incremental builds, it would be great to have a mechanism to install/update a bundle based on the output directory of a project.

      I'll start with a prototype of a bundle which receives post requests containing the path of a local directory. The servlet will then either install or update the bundle from that directory

      For this to work, the scr descriptor files of a project should go into a bundle. So configure the scr plugin like this:
      <plugin>
      <groupId>org.apache.felix</groupId>
      <artifactId>maven-scr-plugin</artifactId>
      <configuration>
      <outputDirectory>${project.build.directory}/classes</outputDirectory>
      </configuration>
      </plugin>

      Attachments

        Issue Links

          Activity

            People

              cziegeler Carsten Ziegeler
              cziegeler Carsten Ziegeler
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: