[ 
https://issues.apache.org/jira/browse/SLING-3019?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13801628#comment-13801628
 ] 

Robert Munteanu commented on SLING-3019:
----------------------------------------

I'm almost ready to commit some changes I've made to reflect the above 
comments.  One thing I'm not sure of is when we need to call 
packageAdmin.refreshPackages(bundle). I'm sure we need to call it after a 
bundle is updated, but do we need to call it after it is installed?



> 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)

Reply via email to