[opencms-dev] Folder synchronization

Christoph Fröhlich cfauto at folge2.de
Fri Jun 21 10:17:22 CEST 2013


We trigger the synchronisation from our build environemt by issuing a POST that simulates the mouseclick on the sync-button

wget --cookies=on --keep-session-cookies --save-cookies=cookie.txt -oresponse.txt -Oindex.html --post-data="ocUname=${opencms.username}&ocPword=${opencms.password}&login=true" ${opencms.baseurl}system/login/index.html

wget --load-cookies=cookie.txt -oresponse.txt -Oindex.html "${opencms.baseurl}system/workplace/commons/synchronize.jsp?action=confirmed&ok=Ok"
					

Regards
Christoph

Am 18.06.2013 um 22:58 schrieb Robert Weber <rw at clt.ag>:

> Hi list,
> 
> I just wanted to know if it is possible to trigger the synchronization of folders with JSP via OpenCMS-API.
> 
> 
> Cheers
> Robert
> 
> _______________________________________________
> 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
> 
> 
> 

-------------------------------------------------
Christoph Fröhlich
Folge 3 GmbH
Neuer Pferdemarkt 1
20359 Hamburg

+49 +40  79 69 48 78
cf at folge3.de
http://www.folge3.de
-------------------------------------------------
Geschäftsführer: Christoph Fröhlich, Anja Künzel
Handelsregister: HRB 105806, Amtsgericht Hamburg 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20130621/471ecbe3/attachment.htm>


More information about the opencms-dev mailing list