Project

General

Profile

Actions

EclipsePluginCreation » History » Revision 4

« Previous | Revision 4/28 (diff) | Next »
Anahit Babadshanjan, 10/07/2008 12:09 PM


Instructions for Creating a CDM Library Eclipse Plugin

1) Synchronize your working copy with the repository (svn update).

2) Install all .jar-files with maven (mvn install).

All means: cdmlib-commons, cdmlib-model, cdmlib-persistence, cdmlib-services (cdmlib-io and cdmlib-remote are not needed for now).

You can call "mvn install" from your main workspace directory to build all projects at once.

If you experience compilation problems or problems running the unit tests then remove the targets of those projects that cause problems and try again.

3) Copy all created jars into the plugin base directory (...cdmlib\eclipse-plugin).

eclipse-plugin_makeSources.bat can be used for this but you need to adapt the paths. You can run _makeSources.bat by double-clicking it in Windows Explorer. You will see the copied jar-files in Windows Explorer.

4) Open plugin.xml within eclipse-plugin from Eclipse IDE. Increase the Version number in Overview/General Information and save.

If new external jars are needed (a new dependency has been added to the pom.xml files of one of the projects):

4a) The according jar (and the source code jar, if available) has to be added to the plugin base-directory.

4b) In the "Runtime" tab, the jars have to be added to the classpath.

5) Open feature.xml within eclipse-feature increase the version number, and save.

5) Open site.xml within eclipse-updateSite. Goto page Update Site Map/Managing the Site. Remove the old feature from cdmLibrary. Add the new feature. Click Build All.

6) Copy the result (to be found at local: ...\cdmlib\eclipse-updateSite) to wp5.e-taxonomy.eu/cdmlib/update (192.168.1.17). Only site.xml and the newest version of the plugin and the feature have to be copied.

Updated by Anahit Babadshanjan almost 16 years ago · 4 revisions