Bertrand Delacretaz wrote:
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.
Yeah. I've frequently argued that an Ant script is almost always the
right way to run Java cross-platform. Not only does it have some of the
best launch scripts (it will figure out JAVA_HOME in most any
situation), but Ant is frequently already installed (like on Mac) or
just an apt-get or rpm away.
Of course an executable JAR is even better if it suits the application.
Jim