[
https://issues.apache.org/jira/browse/SLING-3019?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13791403#comment-13791403
]
Carsten Ziegeler commented on SLING-3019:
-----------------------------------------
Yes, I think we should go the full way and enhance the current install bundle
to also take a jar via post and install it - so we won't rely on any
additional stuff being there (like the web console etc) and the only
difference between those two mechanisms would be that the local case first
creates the jar and performs the action while the remote gets the jar and
performs the exact same action.
> Provide a mechanism to install a bundle based on a directory
> ------------------------------------------------------------
>
> Key: SLING-3019
> URL: https://issues.apache.org/jira/browse/SLING-3019
> Project: Sling
> Issue Type: New Feature
> Components: IDE
> Reporter: Carsten Ziegeler
> Assignee: Carsten Ziegeler
>
> 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>
--
This message was sent by Atlassian JIRA
(v6.1#6144)