Hi Rudiger,<div><br></div><div>That was insightful. Thank you! Do you guys also use any automated cmsshell features to deploy modules directly into opencms? Are there any ant tasks in the open source. Also, i am intrigued and would like to as why would you not use the commercial opencms feature of replication from one server to another? So, why would you not replicate your local environment into your test environment?</div>
<div><br></div><div>Also, I have never been able to get eclipse to play well with WebDAV because of limitations in eclipse. How exactly is this achieved? Is there an eclipse plugin that you know of?</div><div><br></div><div>
Once again, it is very insightful to hear that one can manually create a zip file that will probably be guaranteed to match the module format. I mean : it sounds like alkacon almost supports this manner of making module files. No?</div>
<div><br></div><div>thank you,</div><div><br></div><div>--</div><div>Tim</div><div><br><div class="gmail_quote">On Wed, Nov 25, 2009 at 9:37 AM, Rüdiger Kurz <span dir="ltr"><<a href="mailto:r.kurz@alkacon.com">r.kurz@alkacon.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi Lorenzo,<br>
<br>
first of all we at Alkacon develop OpenCms on a local system i.e.<br>
Microsoft Windows and transfer our changes after testing on the live<br>
system. On the development machines we have a folder dev i.e. c:\dev<br>
with the following folder structure:<br>
<br>
Apache   -> folder for apache httpd server<br>
BuildCms -> target folder for ant which deploys the webapp<br>
eclipse  -> eclipse installation<br>
MySQL5.0 -> installation of MySQL<br>
Tomcat6.0-> tomcat installation<br>
workspace-> workspace of eclipse<br>
<br>
If this components all running fine and OpenCms is installed correctly,<br>
we start to develop our own OpenCms-Modules. For doing so we create a<br>
module with the OpenCms-Workplace tool called Module-Management.<br>
Afterwards we export the created module and import it into a separate<br>
eclipse project which is dependent on the OpenCms-Core Project.<br>
Therewith we can use the OpenCms API in a separate project.<br>
<br>
The normal folder structure of a module in eclipse has two sub folders<br>
<br>
1) modules/com.company.modulename/resources (the resources folder which<br>
contains the module resources like JSPs)<br>
<br>
2) modules/com.company.modulename/src (the source folder which contains<br>
packages and java files that belong to the java build path)<br>
<br>
The folder modules/com.company.modulename/resources looks like the<br>
following:<br>
<br>
- system<br>
   + modules<br>
     + int.wipo.cutomers<br>
       + classes<br>
       + elements<br>
       + pages<br>
       + resources<br>
       + schemas<br>
       + templates<br>
- manifest.xml<br>
<br>
We use a ant script which is able to build a module<br>
ZIP-File which can be imported via the OpenCms workplace. If you don't<br>
want to write your own ant script you can use eclipse to<br>
develop your jar files which you later copy manually to your WEB-INF/lib<br>
folder and creating JSPs and other content elements directly in OpenCms<br>
Workplace.<br>
<br>
<br>
For the development in general there are two main possibilities:<br>
<br>
1) Development in eclipse with manual synchronization with the OpenCms<br>
VFS (as we do in general and is described above)<br>
<br>
2) Development in eclipse with the use of webdav connectivity (Makes it<br>
possible to synchronize VFS and RFS automatically)<br>
<br>
<br>
--<br>
Kind Regards,<br>
Rüdiger<br>
<br>
-------------------<br>
Rüdiger Kurz<br>
<br>
Alkacon Software GmbH  - The OpenCms Experts<br>
<a href="http://www.alkacon.com" target="_blank">http://www.alkacon.com</a> - <a href="http://www.opencms.org" target="_blank">http://www.opencms.org</a><br>
<br>
<br>
Lorenzo Caggioni schrieb:<br>
<div><div></div><div class="h5">> Hello,<br>
> I'm starting using OpenCms in a new big project.<br>
> The project need a collaborative development environment and a system of<br>
> development -> test -> production environments.<br>
><br>
> Is there any best practice to do that?<br>
><br>
> Which are the best steps to:<br>
> - create module (Eclipse?)<br>
> - deploy the module on development environment<br>
> - share the module with collegues(SVN?)<br>
> - deploy the module on test environment and on production environment<br>
><br>
> How can I organize those steps in an armonic way?<br>
><br>
> I read about maven-OpenCms project but it seems stacked to OpenCms 7.0.3<br>
> version...<br>
><br>
> Thanks in advance,<br>
> Lorenzo<br>
><br>
> ----------------------------------------<br>
>  Lorenzo Caggioni<br>
>  Premiaweb s.r.l.<br>
>  e-mail: <a href="mailto:lorenzo.caggioni@premiaweb.it">lorenzo.caggioni@premiaweb.it</a><br>
>  Tel: 02-66406018<br>
> ----------------------------------------<br>
><br>
> <a href="http://www.premiaweb.it" target="_blank">www.premiaweb.it</a><br>
> <a href="http://www.agriturismo.it" target="_blank">www.agriturismo.it</a> - la guida selezionata agli agriturismo d'Italia<br>
> <a href="http://www.matrimonio.it" target="_blank">www.matrimonio.it</a>  - il sito dedicato agli sposi<br>
> <a href="http://www.travelfool.it" target="_blank">www.travelfool.it</a>  - le migliori occasioni di viaggio del web<br>
><br>
><br>
><br>
><br>
> _______________________________________________<br>
> This mail is sent to you from the opencms-dev mailing list<br>
> To change your list options, or to unsubscribe from the list, please visit<br>
> <a href="http://lists.opencms.org/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/mailman/listinfo/opencms-dev</a><br>
<br>
<br>
<br>
_______________________________________________<br>
This mail is sent to you from the opencms-dev mailing list<br>
To change your list options, or to unsubscribe from the list, please visit<br>
<a href="http://lists.opencms.org/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/mailman/listinfo/opencms-dev</a><br>
</div></div></blockquote></div><br></div>