[opencms-dev] cmsshell.sh (org.opencms.main.CmsShell)

Christoph P. Kukulies kuku at physik.rwth-aachen.de
Sat Feb 11 15:06:12 CET 2012


Where would I find the classes for org.opencms.main.CmsShell?

Idea is to modify it to allow something like execution of
script files, kind of

cmsshell.sh @script

I found that using a construct like

#
/var/lib/tomcat6/webapps/ROOT/WEB-INF/cmsshell.sh <<EOF
login "Admin" "secret"
setCurrentProject "Offline"
EOF

do not work perfectly because after the EOF no further interactive input seems
possible. Don't know if it's a linux stty issue.


--
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de



More information about the opencms-dev mailing list