[
https://issues.apache.org/jira/browse/SLING-3009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13736754#comment-13736754
]
Stefan Egli edited comment on SLING-3009 at 8/12/13 11:14 AM:
--------------------------------------------------------------
As a basis we can do:
* create a launch configuration that uses m2eclipse and issues 'mvn clean
package sling:install -Dsling.url=http://localhost:8080/system/console'
while taking the sling.url from the configured server
* trigger above launch configuration on explicit user request plus
automatically on file-save->project build
* distinguish "auto-deploy" from "manual deploy" from the fact that a
particular configured server is started or stopped. Ie if a server is started,
then auto-deploy, otherwise dont.
was (Author: egli):
As a basis we can do:
* create a launch configuration that uses m2eclipse and issues 'mvn clean
package sling:install -Dsling.url=http://localhost:8080/system/console'
while taking the sling.url from the configured server
* trigger above launch configuration on explicit user request plus
automatically on file-save->project build
> [Tooling] support auto-deploy of osgi bundles from eclipse to a running sling
> launchpad
> ---------------------------------------------------------------------------------------
>
> Key: SLING-3009
> URL: https://issues.apache.org/jira/browse/SLING-3009
> Project: Sling
> Issue Type: New Feature
> Components: IDE
> Reporter: Stefan Egli
> Assignee: Stefan Egli
> Fix For: Sling Eclipse IDE 1.0.0
>
>
> From Eclipse, for a bundle type maven project, it should be possible to
> auto-deploy the built bundle into the configured sling launchpad. Ideally,
> but optionally, we'd have hot-code replacement of individual classes of that
> bundle. But auto redeploying the entire bundle is fine as a start.
> We should look into such tools like Eclipse libra
> (http://www.eclipse.org/libra/) or Spring-Loaded
> (https://github.com/SpringSource/spring-loaded) for help on redeploy/hotcode
> replacement
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira