Hi Andreas,

Andreas Hartmann schrieb:
> Andreas Hartmann schrieb:
> 
> […]
> 
>> Would it make sense to provide version-independent commands, e.g.
>> sling.sh and sling.bat?
> 
> I just noticed that there are server control commands in
> launchpad/app/src/main/dist/windows and …/unix. Are they meant for the
> purpose I mentioned? Unfortunately the unix commands don't work on the Mac:
> 
> …/launchpad/app/src/main/dist/unix/serverctl: line 313:
> $SLING_CONTEXT/bin/${project.build.finalName}.jar: bad substitution
> 
> …/launchpad/app/src/main/dist/unix/serverctl: line 410: $SLING_JVM
> $jvmOpts -jar $SLING_CONTEXT/bin/${project.build.finalName}.jar
> $slingOpts: bad substitution

IIRC these are meant to be copied (and filtered) by the assembly profile
when build app.

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.

Regards
Felix

Reply via email to