Development Lifecycle

(Difference between revisions)
Jump to: navigation, search
(Described the development lifecycle)
 
m (Added links to other pages)
Line 4: Line 4:
 
This module development lifecycle has several phases:
 
This module development lifecycle has several phases:
 
# <strong>Edit Files</strong> in the IDE
 
# <strong>Edit Files</strong> in the IDE
# <strong>Synchronize</strong> to copy changes made in the IDE to the VFS
+
# <strong>[[RFS_Synchronization|Synchronize]]</strong> to copy changes made in the IDE to the VFS
 
# <strong>Publish</strong>. You must publish if you changed
 
# <strong>Publish</strong>. You must publish if you changed
 
#* a Java class or a Java classpath resource (<tt>/system/module/yourmodule/classes/</tt>)
 
#* a Java class or a Java classpath resource (<tt>/system/module/yourmodule/classes/</tt>)
Line 14: Line 14:
 
# <strong>Test</strong> changes
 
# <strong>Test</strong> changes
  
If you develop a tool and your changes did not involve classpath relevant files it might suffice to reinitialize the Workplace (this function is available under Administration/Workplace Tools) instead of reloading OpenCms completely.
+
If you [[Adding_Admin_Tools|develop a tool]] and your changes did not involve classpath relevant files it might suffice to reinitialize the Workplace (this function is available under Administration/Workplace Tools) instead of reloading OpenCms completely.

Revision as of 13:26, 17 November 2006

If you are developing a module which relies on custom code you probably use an IDE like Eclipse, Idea or NetBeans. You probably also use the synchronization feature of OpenCms to synchronize your changes in the IDE with the OpenCms VFS.

This module development lifecycle has several phases:

  1. Edit Files in the IDE
  2. Synchronize to copy changes made in the IDE to the VFS
  3. Publish. You must publish if you changed
    • a Java class or a Java classpath resource (/system/module/yourmodule/classes/)
    • a Java library (/system/module/yourmodule/lib/)
    • another resource which needs to be exported (e.g. in /system/workplace/resources/tools/yourtool/icons. They get exported to /resources in the Webapp folder).
  4. Reload OpenCms or reinitialize the Workplace. You do not need to do this if you changed JSP files. They are reloaded automatically. However, you have to reload whenever you change
    • a Java class or a Java classpath resource
    • a Java library
  5. Test changes

If you develop a tool and your changes did not involve classpath relevant files it might suffice to reinitialize the Workplace (this function is available under Administration/Workplace Tools) instead of reloading OpenCms completely.

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox