CMS Shell

From OpenCms Wiki
Revision as of 19:19, 7 April 2008 by Rizenine (Talk | contribs)
Jump to: navigation, search

Shell script for Linux/Windows to start a shell prompt which gives you access to OpenCms

java -Djava.ext.dirs=./lib/ org.opencms.main.CmsShell

Then like you said:

login "Admin" "password"

createDefaultProject "Offline" "The Offline Project"


I copied these two jar into the opencms lib folder. Then deleted them after I was done. servlet-api.jar jsp-api.jar

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox