Hi,
Bertrand Delacretaz schrieb:
> On Wed, Jan 28, 2009 at 4:55 PM, Felix Meschberger <[email protected]> wrote:
>
>>> …/launchpad/app/src/main/dist/unix/serverctl: line 313:
>>> $SLING_CONTEXT/bin/${project.build.finalName}.jar: bad substitution...
>
>> ...On a similar recount: I think, these scripts would need some work, in
>> other works made simpler. Esp. the unix shell script is much too
>> complicated IMHO.
>
> I suggest removing those scripts - there are much better utilities
> around to start runnable jars or webapps, I think that's outside of
> Sling's scope.
I agree with respect to webapps -- webapps are to be deployed into
whatever container is available.
With respect to the standalone Jar, I think it would be nice to have a
set of very simple scripts to launch sling. With "simple" I mean the
kind thing:
#!/bin/sh
JAVA_HOME=... find it out ...
${JAVA_HOME}/bin/java -jar path/to/sling.jar $@
or slightly more elaborate to also enable debugging by a simple command
line argument.
But for the short term, I agree, the scripts should be removed.
Regards
Felix