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

Florian Hopf hopf at synyx.de
Sat Feb 11 16:09:34 CET 2012


Hi,

what about using Groovy? http://blog.synyx.de/2011/01/scripting-opencms/

Regards
Florian

Am 11.02.2012 15:06, schrieb Christoph P. Kukulies:
> 
> 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
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
> 
> 
> 


-- 
/**
 * Florian Hopf
 * Senior Developer/Software Architect
 *
 * synyx GmbH & Co. KG
 * Open Source Solutions
 * Karlstr. 68
 * 76137 Karlsruhe
 *
 * Telefon   +49 721 203823-0
 * Fax       +49 721 203823-12
 * E-Mail    hopf at synyx.de
 * Web       http://www.synyx.de
 * Blog      http://blog.synyx.de
 *
 * Sitz der Gesellschaft: Karlsruhe
 * Registergericht: Mannheim
 * Handelsregisternummer: HRA 104793
 * USt-IdNr.: DE249264296
 *
 * Komplementärin: synyx Verwaltung GmbH
 * Sitz der Gesellschaft: Karlsruhe
 * Geschäftsführer:
 * Thomas Kraft, Markus Daniel, Joachim Arrasz
 * Registergericht: Mannheim
 * Handelsregisternummer: HRB 107250
 */





More information about the opencms-dev mailing list