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

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

{quote}I assume with the first solution you mean, that first a GET is done and 
when it returns the correct answer, you do a POST?{quote}

Yes, that's right.

{quote}I personally would go with the second one (snip){quote}

OK, I'll use the second one then. Thanks!

> 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