Hi Mike,

On Mon, Apr 20, 2009 at 9:45 AM, Mike Müller <[email protected]> wrote:
> ...So what are the best pracices to develop an OSGi bundle for Sling in 
> Eclipse?
> How are you guys developing/testing bigger projects for Sling?
> (including packaging the jar with the correct manifest)....

The way I do it might not be a best practice but that works for me:

-Start by copying and adapting an existing Sling pom that looks like what I need
-Generate the Eclipse project files using mvn eclipse:eclipse
-Disable the Java builder in the Eclipse projects
-Build and test from the command-line, using the Eclipse remote debugger
-If adding dependencies to my poms, run mvn eclipse:eclipse again and
refresh the project in Eclipse
-Use the subclipse svn client for most things, back to the command
line for the really important stuff

I know some people want things more integrated with their IDE, but as
I said the above works fine for me, and I'm almost never fighting with
the IDE.

-Bertrand

Reply via email to