Development

Bryan Hunt edited this page Apr 5, 2014 · 10 revisions
Clone this wiki locally

I highly recommend Eclipse 4.2 for development. You will need JDT, PDE, EMF, EGit, FindBugs, and Workspace Mechanic installed in your IDE. If you download the Eclipse 4.2 modeling package, you will have everything you need except EGit and Workspace Mechanic to get started.

FindBugs

You may install FindBugs from the following p2 repository: http://findbugs.cs.umd.edu/eclipse

Workspace Mechanic

You may install Workspace Mechanic from the following p2 repository: http://workspacemechanic.eclipselabs.org.codespot.com/git.update/mechanic

Workspace Preparation

  • Clone the Git repository
  • Configure Workspace Mechanic
    • Preferences -> Workspace Mechanic
    • New...; add the directory {workspace_loc}/org.eclipselabs.mongoemf.developer/Preferences/Required
    • New...; add the directory {workspace_loc}/org.eclipselabs.mongoemf.developer/Preferences/Optional (these are optional)
  • Configure Target Platform
    • Open org.eclipselabs.mongoemf.developer/Targets/MongoEMF.target
    • Click Set as Target Platform

Running the Tests

All tests are located in the projects named .junit. Each test bundle contains a launch configuration in the launches directory.

Issue Priority

The desired priority for managing any issues is:

  1. Pull Requests
  2. Bugs
  3. Cleanup
  4. Features

Legal

Every Java source file must contain the standard EPL source header. You must modify the Eclipse preferences to include the copyright below. You should be the copyright owner, and add to the contributors list as appropriate. If you are generating EMF models, you must include the copyright in the genmodel Copyright Text property. Leaving the year field as "${year}" will automatically insert the current year. Copyright:

/*******************************************************************************
 * Copyright (c) ${year} <Your Name>.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *    <Your Name> - initial API and implementation
 *******************************************************************************/