AW: [opencms-dev] Module development - Best practices

Michael Dernen Michael.Dernen at framfab.de
Thu Dec 6 11:36:05 CET 2001


Hi Philippe,

for development you can compile your classes into the
occlasses directory and restart tomcat to use the new classes.
When your module is working you can finally upload your classes
into the virtual file system. The easiest way to upload multiple classes
is to use the synchronization feature of OpenCms:

1. create a directory for synchronization in the real file system 
of the computer where OpenCms is running .
2. click the synchronization button in the administartion view
3. select a directory in the virtual file system to be synchronized
(/system/classes/ for synchronization of the classes)
4. type in the path to the synchronization directory in the real filesystem
on your computer as destination directory
5. a synchronization button will appear in the top frame in your project
6. click this button and if the path to the real filesystem is correct the
current state of the virtual file system will be synchronized with the real
filesystem
7. the real filesystem should now contain the directory structure
/system/classes/...
in your synchronization directory
8. place your compiled classes in the synchronization directory in the real
filesystem and
click again on the synchronization button on the top, the file should now be
uploaded
to OpenCms if they are not existing there




More information about the opencms-dev mailing list