[opencms-dev] How to automate OpenCms module
Robert Spielmann
robert.spielmann at codecentric.de
Mon Apr 19 21:50:14 CEST 2010
Am 19.04.2010 10:53, schrieb Steve Bryan:
> Hi Achim and Robert
>
> Thanks for sharing your info on this! I was recently trying to use OpenCms
> shell to synchronise code and jsps from Eclipse to OpenCms, but failed
> because there didn't seem to be a 'Synchronize' function available (we use
> Ant to copy files to the sync directory, but then currently have to manually
> sync using the OpenCms front end button).
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
Geschäftsführer: Mirko Novakovic, Rainer Vehns
Sitz der Gesellschaft: Solingen
Registergericht: Amtsgericht Wuppertal, HRB 19214
Diese E-Mail einschließlich evtl. angehängter Dateien enthält
vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht
der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben,
informieren Sie bitte sofort den Absender und löschen Sie diese E-Mail
und evtl. anhängende Dateien umgehend. Das unerlaubte Kopieren, Nutzen
oder Öffnen evtl. anhängender Dateien sowie die unbefugte Weitergabe
dieser E-Mail ist nicht gestattet.
More information about the opencms-dev
mailing list