Eclipse integration

(Difference between revisions)
Jump to: navigation, search
(fixed link to eclipse)
Line 1: Line 1:
Developing modules within OpenCms leads to numerous errors and slower development as it lacks a good development ide. To edit schemas (xsd), templates (jsp) and everything else, that can be packed into a module, the [http://www.eclipse.org/ Eclipse Development IDE] is predestinated. Developing modules has be distinguished from content editing, which is the reason for using a cms.
+
Developing modules within OpenCms leads to numerous errors and slower development as it lacks a good integrated development environment, or IDE for short. To edit schemas (xsd files), templates (jsp files) and everything else that can be packed into a module, the [http://www.eclipse.org/ Eclipse Development IDE] is predestined. Developing modules has been distinguished from content editing, which is the reason for using a CMS.
  
For editing modules within the eclipse development ide currently two free plugins are available: the [http://www.redstardevelopment.nl/opencms/opencms/en/opencms/plugin/ OpenCms Module Developer] (Eclipse Public License v1.0) from Red Star Development and opencmsvfs (LGPL) from Laughing Panda. While the development of Opencms VFS is discontinued the OpenCms Module Developer is under development.
+
For editing modules within the Eclipse IDE two free plugins are currently available: the [http://www.redstardevelopment.nl/opencms/opencms/en/opencms/plugin/ OpenCms Module Developer] (Eclipse Public License v1.0) from Red Star Development and OpenCms VFS (LGPL) from Laughing Panda. While the development of OpenCms VFS is discontinued, the OpenCms Module Developer is under development.
  
 
== OpenCms Module Developer ==
 
== OpenCms Module Developer ==
The OpenCms Module Developer gives you access to the modules within your OpenCms-VFS. The plugin let you choose a module to edit, which is in turn loaded into the development-folder (real-file system!) of eclipse. Here the files can be created and edited.
+
The OpenCms Module Developer gives you access to the modules within the virtual file system of your OpenCms installation. The plugin lets you choose a module to edit, which is in turn loaded into the development-folder (the real-file system) of Eclipse. Here the files can be created and edited.
  
 
=== Features ===
 
=== Features ===
Line 14: Line 14:
 
   <li>Eclipse Library containing the OpenCms binaries is automatically added to your project's classpath</li>
 
   <li>Eclipse Library containing the OpenCms binaries is automatically added to your project's classpath</li>
 
   <li>Upload your module to OpenCms, overwriting existing files and removing obsolete files. OpenCms properties set on existing files are preserved</li>
 
   <li>Upload your module to OpenCms, overwriting existing files and removing obsolete files. OpenCms properties set on existing files are preserved</li>
  <li>Upload (as above) and publish your module to OpenCms</li>
+
  <li>Upload (as above) and publish your module to OpenCms</li>
  <li>Download your module from OpenCms, overwriting existing files and removing obsolete files</li>
+
  <li>Download your module from OpenCms, overwriting existing files and removing obsolete files</li>
 
</ul>
 
</ul>
  
Line 23: Line 23:
 
   <li>OpenCms installation: OpenCms versions 6.0 through 7.0 (rc2 or newer) are supported</li>
 
   <li>OpenCms installation: OpenCms versions 6.0 through 7.0 (rc2 or newer) are supported</li>
 
</ul>
 
</ul>
When communicating with OpenCms, about 22 MB of memory from Eclipse is used. Please adjust your memory settings of Eclipse as appropriate.  
+
When communicating with OpenCms, about 22MB of memory from Eclipse is used. Please adjust your memory settings of Eclipse as appropriate.  
 +
 
 
=== Installation ===
 
=== Installation ===
 
The OpenCms Module Developer is an eclipse-plugin.  
 
The OpenCms Module Developer is an eclipse-plugin.  
 
<ul>
 
<ul>
   <li>[http://sourceforge.net/project/showfiles.php?group_id=196539 Download the current version] (sourceforge)</li>
+
   <li>Download the [http://sourceforge.net/project/showfiles.php?group_id=196539 current version] from Sourceforge</li>
   <li>Drop the downloaded jar-file into the /plugins directory of Eclipse and (re)start Eclipse</li>
+
   <li>Drop the downloaded .jar file into the /plugins directory of Eclipse and (re)start Eclipse</li>
   <li>After (re)start, first set the preferences on the OpenCms module Developer preferences pages in Eclipse (Window | preferences...)</li>
+
   <li>After (re)start, first set the preferences on the OpenCms Module Developer preferences pages in Eclipse (Window | Preferences...)</li>
 
</ul>
 
</ul>
Redstar Development created a [http://www.redstardevelopment.nl/opencms/opencms/en/opencms/plugin/userinstructions.html video tutorial] that guides you through the preferences setup and usage.
+
Red Star Development created a [http://www.redstardevelopment.nl/opencms/opencms/en/opencms/plugin/userinstructions.html video tutorial] that guides you through the preferences setup and usage.
  
 
=== Usage ===
 
=== Usage ===
Line 43: Line 44:
 
   <li>[http://www.redstardevelopment.nl/ RedStar Development]</li>
 
   <li>[http://www.redstardevelopment.nl/ RedStar Development]</li>
 
   <li>[http://www.redstardevelopment.nl/opencms/opencms/en/opencms/plugin/ OpenCms Module Developer Home]</li>
 
   <li>[http://www.redstardevelopment.nl/opencms/opencms/en/opencms/plugin/ OpenCms Module Developer Home]</li>
   <li>[http://sourceforge.net/project/showfiles.php?group_id=196539 OpenCms Module Developer download] (sourceforge)</li>
+
   <li>[http://sourceforge.net/project/showfiles.php?group_id=196539 OpenCms Module Developer download] (Sourceforge)</li>
 
   <li>[http://www.redstardevelopment.nl/opencms/opencms/en/opencms/plugin/userinstructions.html video tutorial] on configuration and usage</li>
 
   <li>[http://www.redstardevelopment.nl/opencms/opencms/en/opencms/plugin/userinstructions.html video tutorial] on configuration and usage</li>
 
   <li>[http://opencmsmoddev.svn.sourceforge.net/viewvc/opencmsmoddev/ subversion repository]</li>
 
   <li>[http://opencmsmoddev.svn.sourceforge.net/viewvc/opencmsmoddev/ subversion repository]</li>
Line 50: Line 51:
 
</ul>
 
</ul>
  
== opencmsvfs (outdated) ==
 
<p>Opencms Vfs development is discontinued. It officially supports Eclipse 3.2 and Opencms 6.x.x.</p>
 
Opencms Vfs can map the vfs of opencms in Eclipse. ordinarily, if you want to create files (such as jsp xml) and edit them, you must go to opencms workplace, using editors of opencms, but the editors are not very efficient!
 
  
What is it?
+
== OpenCms VFS (outdated) ==
 +
OpenCms VFS development is discontinued. It officially supports Eclipse 3.2 and Opencms 6.x.x.
 +
OpenCms VFS can map the virtual file system (VFS) of OpenCms in Eclipse. Ordinarily, if you want to create files (such as jsp and xml files) and edit them, you would do this via the OpenCms workplace, using the integrated editors of OpenCms. However, these editors are very simple, and not comparable to the sophisticated IDEs typically used by developers (e.g. Eclipse).
  
OpenCms VFS is an Eclipse plugin used to access the OpenCms (http://www.opencms.org) virtual file system (VFS) from Eclipse. It is intended as a tool for OpenCms development, not content editing.
+
=== What is it? ===
  
Features
+
OpenCms VFS is an Eclipse plugin used to access OpenCms' virtual file system from within Eclipse. It is intended as a tool for OpenCms development, not content editing.
  
    * Basic vfs operations (edit, copy, move, delete, publish, lock, unlock) except new file creation .
+
=== Features ===
 +
* Basic VFS operations (edit, copy, move, delete, publish, lock, unlock) except new file creation .
  
Releases
+
=== Releases ===
 +
* 0.0.3 (http://www.laughingpanda.org/~shonkone/opencmsvfs/releases/opencmsvfs-0.0.3.zip) (Change Log)
 +
* 0.0.2 (http://www.laughingpanda.org/~shonkone/opencmsvfs/releases/opencmsvfs-0.0.2.zip) (Change Log)
 +
* 0.0.1 (http://www.laughingpanda.org/~shonkone/opencmsvfs/releases/opencmsvfs-0.0.1.zip) (please read the Release Notes)
  
    * 0.0.3 (http://www.laughingpanda.org/~shonkone/opencmsvfs/releases/opencmsvfs-0.0.3.zip) (Change Log)
+
=== Installation ===
    * 0.0.2 (http://www.laughingpanda.org/~shonkone/opencmsvfs/releases/opencmsvfs-0.0.2.zip) (Change Log)
+
* Download the distributed file
    * 0.0.1 (http://www.laughingpanda.org/~shonkone/opencmsvfs/releases/opencmsvfs-0.0.1.zip) (please read the Release Notes)
+
* Unzip the file in your Eclipse directory
 +
* Start Eclipse
 +
* Edit the preferences (Window/Preferences.../OpenCms VFS Preferences)
  
Installation
+
Note: The plugin will not work unless you set the preferences correctly
 +
* Start the view (Window/Show view/Other.../OpenCms/OpenCms VFS)
  
    * Download the distributed file
+
=== Upgrading ===
    * Unzip the file in your Eclipse directory
+
* Delete file plugins/org.laughingpanda.opencmsvfs_x.x.x.jar
    * Start Eclipse
+
* Unzip new version's package in eclipse -directory
    * Edit the preferences (Window/Preferences.../OpenCms VFS Preferences)
+
* Start eclipse with -clean option
 
+
o Note: The plugin will not work unless you set the preferences correctly
+
 
+
    * Start the view (Window/Show view/Other.../OpenCms/OpenCms VFS)
+
 
+
Upgrading
+
 
+
    * Delete file plugins/org.laughingpanda.opencmsvfs_x.x.x.jar
+
    * Unzip new version's package in eclipse -directory
+
    * Start eclipse with -clean option
+
 
+
Supported software versions
+
  
 +
=== Supported software versions ===
 
OpenCms
 
OpenCms
 
+
* 6.2.1
    * 6.2.1
+
* 6.2.2
    * 6.2.2
+
  
 
Eclipse
 
Eclipse
 +
* 3.2
  
    * 3.2
+
=== License ===
 
+
License
+
  
 
Copyright (C) 2006 Sami Honkonen
 
Copyright (C) 2006 Sami Honkonen
Line 103: Line 97:
 
Resources
 
Resources
  
Developers
+
=== Developers ===
 
+
* Sami Honkonen (http://sami.honkonen.fi), project lead (when emailing me about issues concerning OpenCmsVFS, use my work email address)
    * Sami Honkonen (http://sami.honkonen.fi), project lead (when emailing me about issues concerning OpenCmsVFS, use my work email address)
+
* Alexander Kandzior
    * Alexander Kandzior
+
 
+
Thanks to
+
  
    * Pekka Enberg
+
=== Thanks to ===
    * Joni Freeman
+
* Pekka Enberg
 +
* Joni Freeman
  
Version Control
+
=== Version Control ===
 +
* Anonymous URL - http://svn.laughingpanda.com/svn/opencmsvfs-eclipse/trunk
 +
* Developer URL - https://svn.laughingpanda.com/svn/opencmsvfs-eclipse/trunk
 +
* Jira - http://www.laughingpanda.org/jira/browse/OPENCMSVFS
  
    * Anonymous URL - http://svn.laughingpanda.com/svn/opencmsvfs-eclipse/trunk
 
    * Developer URL - https://svn.laughingpanda.com/svn/opencmsvfs-eclipse/trunk
 
    * Jira - http://www.laughingpanda.org/jira/browse/OPENCMSVFS
 
 
[[Category:Eclipse integration|!]]
 
[[Category:Eclipse integration|!]]

Revision as of 19:32, 28 April 2010

Developing modules within OpenCms leads to numerous errors and slower development as it lacks a good integrated development environment, or IDE for short. To edit schemas (xsd files), templates (jsp files) and everything else that can be packed into a module, the Eclipse Development IDE is predestined. Developing modules has been distinguished from content editing, which is the reason for using a CMS.

For editing modules within the Eclipse IDE two free plugins are currently available: the OpenCms Module Developer (Eclipse Public License v1.0) from Red Star Development and OpenCms VFS (LGPL) from Laughing Panda. While the development of OpenCms VFS is discontinued, the OpenCms Module Developer is under development.

Contents

OpenCms Module Developer

The OpenCms Module Developer gives you access to the modules within the virtual file system of your OpenCms installation. The plugin lets you choose a module to edit, which is in turn loaded into the development-folder (the real-file system) of Eclipse. Here the files can be created and edited.

Features

Current features of the OpenCms Module Developer (version 0.3) are:

  • New Module wizard
  • Support for OpenCms 6.0 through 7.0 (rc2 or newer)
  • Support for special web container configurations, such as database drivers that are located in a shared lib folder
  • Eclipse Library containing the OpenCms binaries is automatically added to your project's classpath
  • Upload your module to OpenCms, overwriting existing files and removing obsolete files. OpenCms properties set on existing files are preserved
  • Upload (as above) and publish your module to OpenCms
  • Download your module from OpenCms, overwriting existing files and removing obsolete files

Requirements

  • Eclipse 3.2 or newer
  • OpenCms installation: OpenCms versions 6.0 through 7.0 (rc2 or newer) are supported

When communicating with OpenCms, about 22MB of memory from Eclipse is used. Please adjust your memory settings of Eclipse as appropriate.

Installation

The OpenCms Module Developer is an eclipse-plugin.

  • Download the current version from Sourceforge
  • Drop the downloaded .jar file into the /plugins directory of Eclipse and (re)start Eclipse
  • After (re)start, first set the preferences on the OpenCms Module Developer preferences pages in Eclipse (Window | Preferences...)

Red Star Development created a video tutorial that guides you through the preferences setup and usage.

Usage

Have a look at the video tutorial.

License

As of version 0.3: Copyright (C) 2007 Red Star Development, sourcecode released under the Eclipse Public License v1.0.

Links


OpenCms VFS (outdated)

OpenCms VFS development is discontinued. It officially supports Eclipse 3.2 and Opencms 6.x.x. OpenCms VFS can map the virtual file system (VFS) of OpenCms in Eclipse. Ordinarily, if you want to create files (such as jsp and xml files) and edit them, you would do this via the OpenCms workplace, using the integrated editors of OpenCms. However, these editors are very simple, and not comparable to the sophisticated IDEs typically used by developers (e.g. Eclipse).

What is it?

OpenCms VFS is an Eclipse plugin used to access OpenCms' virtual file system from within Eclipse. It is intended as a tool for OpenCms development, not content editing.

Features

  • Basic VFS operations (edit, copy, move, delete, publish, lock, unlock) except new file creation .

Releases

Installation

  • Download the distributed file
  • Unzip the file in your Eclipse directory
  • Start Eclipse
  • Edit the preferences (Window/Preferences.../OpenCms VFS Preferences)

Note: The plugin will not work unless you set the preferences correctly

  • Start the view (Window/Show view/Other.../OpenCms/OpenCms VFS)

Upgrading

  • Delete file plugins/org.laughingpanda.opencmsvfs_x.x.x.jar
  • Unzip new version's package in eclipse -directory
  • Start eclipse with -clean option

Supported software versions

OpenCms

  • 6.2.1
  • 6.2.2

Eclipse

  • 3.2

License

Copyright (C) 2006 Sami Honkonen

This is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or any later version. Resources

Developers

  • Sami Honkonen (http://sami.honkonen.fi), project lead (when emailing me about issues concerning OpenCmsVFS, use my work email address)
  • Alexander Kandzior

Thanks to

  • Pekka Enberg
  • Joni Freeman

Version Control

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox