[opencms-dev] How to automate OpenCms synchronise

Steve Bryan steve at bright-interactive.com
Tue Apr 20 16:01:55 CEST 2010


Hi Robert

Yes please, I would definitely like to know a bit about your
push/synchronise ANT task - as I said I couldn't figure out how to do it via
the shell since there isn't a 'Synchronize' function available in the shell
API.

It would definitely be nicer than the manual push button step :-)

Thanks
Steve

-----Original Message-----


Hi Steve,

for IDE -> CMS synchronization, we also use Ant. We have a task called 
"Synchronize and Publish" for that. It does also copy files to a synch 
directory, but then runs the OpenCms Shell in order to push + 
synchronize the files that have changed. At this level, we do NOT 
perform an entire delete + re-import of the module. If you're 
interested, I might be able to share a little more info on our Ant setup.

> Is this quite fast? I would be concerned the jsp template developer has to
> wait a while after each little change to see the effect in OpenCms. It is
a
> bit painful using our ANT + OpenCms sync method but I would only be
> interested trying this if it gives benefits of speed.

This depends - I don't know how long it takes you or your co-workers to 
push the button in OpenCms - I think that a full IDE integration is 
always better, even if you do have to wait a couple of seconds after you 
have triggered the synchronization.

Regards
Robert

-- 
Agile Software GmbH
Merscheider Str. 1
42699 Solingen

B?ro:  +49 (212) 233628-42
Mobil: +49 (151) 14705709
Fax:   +49 (212) 233628-79

Mail:  robert.spielmann at codecentric.de
Web:   http://www.codecentric.de
Blog:  http://blog.codecentric.de





More information about the opencms-dev mailing list