Carsten Ziegeler schrieb:
Andreas Hartmann wrote:
Hi Sling devs,
according to the website the following command has to be used to start
the launchpad:
java -jar
target/org.apache.sling.launchpad.app-2.0.0-incubator-SNAPSHOT.jar -c
sling -f -
Since it includes the version number, one has to change the command to
fit the current version, or you'd have to update the website continuously.
Would it make sense to provide version-independent commands, e.g.
sling.sh and sling.bat? Or maybe it's possible to use Maven for this
purpose (I'm not familiar yet with the Maven capabilities)?
We could use the finalName configuration (for the app and the webapp),
this ensures that the artifact in the target dir has always the same
name - this doesn't affect the name in the repo.
Thanks for the pointer!
Do you mean something like this?
Index: launchpad/app/pom.xml
===================================================================
--- launchpad/app/pom.xml (revision 738488)
+++ launchpad/app/pom.xml (working copy)
@@ -44,6 +44,7 @@
</scm>
<build>
+ <finalName>org.apache.sling.launchpad.app</finalName>
<plugins>
<!-- Bundles to list in the installer properties file -->
<plugin>
This seems to work for me.
-- Andreas
--
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01