Hi Bruce, On Thu, Nov 13, 2014 at 8:57 AM, Bruce Edge <[email protected]> wrote: > Also, I found 2 plugins that seem to be similar, > http://docs.adobe.com/content/docs/en/dev-tools/aem-eclipse.html > http://sling.apache.org/documentation/development/ide-tooling.html > Which to people use? > > I settled on the non-adobe one as I'm not using CQ.
Well, that's the right approach. For now, the Adobe plugins add a new project wizard and some AEM branding. The new project wizard generates a project based on AEM libraries so it would not deploy on Sling at all. The rest of the features come from the Sling IDE Tooling anyway. > > Does anyone actually use the eclipse sling plugin to add/remove bundles > to/from a sling server? > > I got a doPost SlingAllMethodsServlet working, but only through the maven > plugin, i.e.: > mvn org.apache.sling:maven-sling-plugin:install-file > -Dsling.file=ingest-2.2.2.jar > > Connecting to a sling server from the plugin's server manager works, as does > the debugging. So just the deploy/undeploy seems broken. > I'm running on nonstandard ports (not 8080) for conflict reasons, is there > anything that needs to change other than in the server's config? That should work, I'm using it for day-to-day work. A couple of questions: 1. Do you have anything in the sling log that indicates an error deploying from Eclipse? 2. If you open the Sling console ( see [1] ) do you see anything related to installing local bundles? Thanks, Robert [1]: https://sling.apache.org/documentation/development/ide-tooling.html#gathering-debug-information > > I do have the port setup in the pom: > <plugin> > <groupId>org.apache.sling</groupId> > <artifactId>maven-sling-plugin</artifactId> > <version>2.1.0</version> > <configuration> > <slingUrl>http://localhost:8090/system/console</slingUrl> > <user>admin</user> > <password>admin</password> > </configuration> > </plugin> > > -Bruce
