Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
App CMS 0.12.0
-
None
Description
I've followed documentation to build Sling CMS APP
at org-apache-sling-app-cms/docs/building.md, where it says:
To run the Sling CMS, build the code and copy the files
builder/src/main/scripts/start.sh builder/src/main/scripts/stop.sh and
builder/target/org.apache.sling.cms-{VERSION].jar to a directory. Execute
the script ./start.sh to start Sling CMS.
Well, when I do this, I get error:
$ /bin/sh
/path/to/workspace/org-apache-sling-app-cms/target/distro/start.sh ( copy
of a builder/src/main/scripts/start.sh ).
ls: cannot access 'cms.jar': No such file or directory
Application started on port 8080!
Well, I run this from inside InteliJ IDEA, and I guess it is more of a
missing feature on iDEA to set home/working directory, but eather way, if
start.sh and stop.sh would be changed in a way, to set/switch to working
directory like this:
( start.sh:23 )
script="$0"
basename="$(dirname $script)"
cd $basename
Attachments
Issue Links
- links to