-
Bug
-
Resolution: Fixed
-
Critical
-
None
-
NodeJs 4.4.7
NPM-CLI 0.0.1-snapshot-85
OSX 10.11.6
-
-
Empty show more show less
-
Basel 56
-
1
The jumpstart command doesn't update the
magnolia.resources.dir
in magnolia.properties located at
apache-tomcat/webapps/magnoliaAuthor/WEB-INF/config/default
with the right location of the light-modules folder created by jumpstart.
Steps to reproduce:
- Run: mgnl jumpstart
INFO: Using configuration at /usr/local/lib/node_modules/@magnolia/cli/lib/config/mgnl-cli.json INFO: Using prototypes at /usr/local/lib/node_modules/@magnolia/cli/lib/config/mgnl-cli-prototypes INFO: No path option provided. Will use the default 'light-modules' in the current directory INFO: No magnolia-version option provided. Will use the latest Community Edition INFO: '/Users/ebguilbert/tmp/jira-npm/light-modules' does not seem to exist. Path will be created automatically. Downloading...
- When finished check the bottom of messages:
Extracting... magnolia-5.4.8/apache-tomcat-7.0.64/ to /Users/ebguilbert/tmp/jira-npm/apache-tomcat Extraction completed Replacing Magnolia properties to prepare it for light development... Changing magnolia.properties at apache-tomcat/webapps/magnoliaAuthor/WEB-INF/config/default as follows: magnolia.develop=true magnolia.update.auto=true magnolia.resources.dir=/Users/ebguilbert/tmp/jira-npm/light-modules Downloading neat-resources-1.0.1.jar [====================] 100% 0.0s DONE: Magnolia has been successfully setup for light development! You can now go to 'apache-tomcat/bin' and start up Magnolia by entering './magnolia_control.sh start' Magnolia will be ready after a few seconds at localhost:8080/magnoliaAuthor. Username and password is superuser To stop Magnolia enter './magnolia_control.sh stop'. On Windows use magnolia_control.bat neat-resources-1.0.1.jar copied to WEB-INF/lib/ of Magnolia webapps
- Run: cd apache-tomcat/webapps/magnoliaAuthor/WEB-INF/config/default
- Check the magnolia.resources.dir property:
$ grep "magnolia.resources.dir=" magnolia.properties magnolia.resources.dir=${magnolia.home}
Acceptance criteria
- is related to
-
NPMCLI-37 Install shows deprecation warnings including "RegExp DoS issue"
- Closed