Difference between revisions of "Developer Guide"
From OpenKM Documentation
Line 9: | Line 9: | ||
* Java JDK 1.6 at http://java.sun.com/javase/downloads/index.jsp | * Java JDK 1.6 at http://java.sun.com/javase/downloads/index.jsp | ||
− | {{Note|Starting from Eclipse Helios you have a Marketplace accessible from Help > Eclipse Marketplace... Here you can search for "maven" to install the "Maven Integration for Eclipse" and "Maven Integration for Eclipse (Extras)" solutions. Also you can search for "subversion" to find the " | + | {{Note|Starting from Eclipse Helios you have a Marketplace accessible from Help > Eclipse Marketplace... Here you can search for "maven" to install the "Maven Integration for Eclipse" and "Maven Integration for Eclipse (Extras)" solutions. Also you can search for "subversion" to find the "Subclipse" plugin.}} |
Once all them are installed, you can download OpenKM and build it. | Once all them are installed, you can download OpenKM and build it. |
Revision as of 13:07, 25 March 2011
The developer environment can be set in any Operating System (Linux, Windows, etc.) since it is a multi-platform system, but Linux is recommended, because is what it is being used.
You need to install Maven, eclipse IDE and some plugins. For OpenKM 4.0 and 5.0 you have these requirements:
- Maven at http://maven.apache.org/
- Eclipse Galileo (Eclipse IDE for Java EE Developers) at http://www.eclipse.org/galileo/
- Subversion eclipse plugin at http://subclipse.tigris.org
- Maven to eclipse plugin at http://m2eclipse.sonatype.org
- Java JDK 1.6 at http://java.sun.com/javase/downloads/index.jsp
Once all them are installed, you can download OpenKM and build it.
- Configure Java in Eclipse
- Configure JBoss server in Eclipse
- Maven installation
- Checkout source from Subversion
- Development tips
- Browsing embeded database
- Debugging OpenKM
- Debugging remote server
- Debugging with GWT
- Doxygen OpenKM 5.0.x ( OpenKM packages & classes & files documentation )
- Doxygen OpenKM 5.1.x ( OpenKM packages & classes & files documentation )
Note: You can configure Eclipse to integrate with MantisBT. Read Mylyn-Mantis Repository Connectofor more info.
Changelog
Changes between developer guide 4.0 to 5.0
- Development tips changes ( how to enable OpenKM extensions in compilation and disable automatic GWT compilation )
- GWT 2.0.4
- Java package has been refactoring to "com.openkm" all references to older package in configuration files has been changed
Changes between developer guide 2.0 to 4.0
- Changed to Eclipse Galileo
- Now we use maven in replacement of JBoss Tools
Changes between developer guide 1.2 to 2.0
- Changed IDE to Eclipse Europa / JBoss tools, before was JBoss IDE.
- GWT 1.5.3 is needed to compile, before was version 1.4.6
- Changed packaging to new jboss tools packaging.
- Changed GWT generating to temporary JBoss folder to project folders to developing.
- Added new generateback.sh and generateback.bat to GWT admin.
- Upgraded JBoss server to version 4.2.2.GA
Changes between developer guide 1.0 and 1.1 to 1.2
- GWT 1.4.6 is needed to compile, before was version 1.3.3.
- Changes on GWT shell configuration, now not uses GWTDS variable ( code deleted ).
- Configured generate.sh to deploy to tmp JBoss with OpenKM.ear deployed to fast developing.
- Added gecko to Main.gwt.xml to fast compiling only gecko when is uncommented.