Hi Mike,
I currently try several ways of a simple projectsetup myself and for me the
way Bertrand sets up his projects works pretty good for me.
I additionally use maven-sling-plugin [1] to enrich the install-phase by
direct deployment into a running sling instance. The espblogsample may be a
good start for your pom ( but doesn't use the maven-sling-plugin yet)
To have all running in eclipse you can run sling as external tool (using mvn
jetty:run) in eclipse (Run -> External Tools) with your params for remote
debugging and if you don't want to use a plugin as m2 plugin you can define
the goals you need in eclipse as external tools configurations the same way.
Btw. ${project_loc} is the required variable for the Working Directory in
the external tools configuration for the mvn install goal.
Best regards,
Dominik
[1] http://incubator.apache.org/sling/site/sling.html
On Mon, Apr 20, 2009 at 10:08 AM, Bertrand Delacretaz <
[email protected]> wrote:
> On Mon, Apr 20, 2009 at 9:45 AM, Mike Müller <[email protected]> wrote:
> > ...How are you guys developing/testing bigger projects for Sling?
> > (including packaging the jar with the correct manifest)....
>
> forgot about that one - I just use mvn install, and the
> mvn-bundle-plugin does the rest.
>
> -Bertrand
>