My favorites | Sign in
Project Home Wiki Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
SetUpEnvirnoment  
Updated Oct 1, 2010 by denis.ha...@gmail.com

Introduction

This document describes how to set up development environment in order to develop Jibe based application. Document will presume usage of Eclipse IDE since this is the IDE of our choice. Any contribution in the sense of description of other development environments is more than welcome.

Eclipse plugins used

  • m2eclipse Maven plugin
  • Sysdeo Tomcat plugin. This plugin has the great feature to reload deployed Java classes without server restart. It will also allow you to put break points into Java code without setting up of remote debugging.
  • Subclipse subversion plugin

Setting up core and content manager projects

The most efficient way to develop with Jibe is to checkout org.jibeframework.core and org.jibeframework.contentmanager projects into your Eclipse environment. Doing that, you will have access to all resources in both projects which could be helpful during development.

Projects should be checked out from http://jibeframework.googlecode.com/svn/trunk.

If you need detailed instructions on how to check out projects, please continue reading, otherwise, you might want to skip over to deploying projects into Alfresco

Presuming that you have installed Subclipse plugin, in order to checkout required projects into Eclipse follow instructions bellow

  • Define SVN repository
    • Select menu item Window -> Show view -> Other
    • In the opened dialog select SVN -> SVN Repositories
    • In the opened tab "SVN Repositories" right click and select New->Repository location
    • In the Url field enter http://jibeframework.googlecode.com/svn/trunk
  • Checkout projects
    • Select menu item File -> New -> Other
    • In the opened wizard select SVN -> Checkout projects from SVN and click Next
    • Select SVN Repository location created in previous step and click Next
    • Select trunk -> org.jibeframework.core and click Finish
    • If you would like to checkout org.jibeframework.contentmanager project please repeat last four steps and select different project on the last step

Deploying projects into Alfresco

In order to deploy checked out projects into your local instance of Alfresco, you have to create file called local-deploy.properties and put it into your local user home. The content of the file is the following

tomcat.root.dir=<Path to your tomcat installation>

After you create the file and save it in proper location you can execute deploy target from ant build.xml files in both project which will eventually copy deploy projects to Alfresco instance

Powered by Google Project Hosting