Hi Michael.,

I would recommend to switch to the maven-slingstart-plugin which is used by
the launchpad in the trunk as well (see [0]).  This provides a pretty
conventient way to define an instance including the initial configuration
(see documenation [1] and launchpad provisioning model [2])

I hope this solves all your requirements.

Cheers
Dominik


[0]
https://github.com/apache/sling/blob/trunk/launchpad/builder/pom.xml#L79-L87
(with packaging slingstart)
[1] https://sling.apache.org/documentation/development/slingstart.html
[2]
https://github.com/apache/sling/tree/trunk/launchpad/builder/src/main/provisioning

On Wed, Jun 17, 2015 at 5:59 PM, Haefele, Michael <michael-haef...@idexx.com
> wrote:

> Hello,
>
> We have a launchpad standalone jar constructed with the maven launchpad
> plugin.
> I want to have this deploy with an non-default property for the GET
> Servlet (specifically json.maximumresults), but I can't seem to find how to
> wire that up in my jar or maven project..
>
> A couple things I've tried:
> Configuring that servlet manually in the Web Console, it creates a new
> file in <sling
> dir>/config/org/apache/sling/servlets/get/DefaultGetServlet.config
> I tried adding a
> /src/main/resources/config/org/apache/sling/servlets/get/DefaultGetServlet.config
> to my maven project.
> The config directory makes it into the jar, but doesn't make it to the
> final sling working directory when running the jar.
>
> Adding it to the resources/sling_install.properties in my project.
> It gets carried over to <sling dir>/sling.properties when I run the jar,
> but it doesn't seem to be picked up by the servlet (I'm assuming this is
> not used for the servlet's config).
>
> Happy to RTM on this if someone has some good links.
>
> Thanks,
> Mike
>

Reply via email to