• Views
  • Iteration Report
  • My Iteration Report
  •  
OMERO.clients
  • Login
  • Help/Guide
  • About Trac
  • Preferences
  • Wiki
  • Timeline
  • Roadmap
  • Browse Source
  • View Tickets
  • Search

Context Navigation

  • Start Page
  • Index
  • History
  • Last Change

Contributing to OMERO.insight

Getting Started with OMERO.insight

Getting started with OMERO.insight entails that you have an OMERO.server already deployed.

Installing From Source ("trunk")

The source for OMERO.insight is available for anonymous checkout from http://cvs.openmicroscopy.org.uk/svn/shoola/trunk. The code can also be browsed via trac (see source:/trunk) where a link is available for a zip archive.

Requirements

  • Install a Java 5 Development Kit (JDK), available from Java SE Downloads and required for both the OMERO server and client code. Set the JAVA_HOME environment variable to your JDK installation.

Running Code

It is helpful to setup the project in Eclipse.

Build system

Ant

The compilation, testing, launch, and delivery of the application are automated by means of an Ant (http://ant.apache.org/) build file, located under the build directory (See Directory Contents). Move to the build directory and, from the command line, enter:

java build

This will display the available targets to compile, run, test, and create a distribution bundle. Use the target you wish, for example:

java build all

Because all the tools needed to build the software are already included in the build directory, you do not need to have Ant on your machine. If you wish to use Ant instead, you can still do it by using the build.xml file under the build directory. However, there are some dependencies to satisfy before; these are clearly documented in the build.xml file itself.

For more details, see Software Build and Deployment.

Hudson

The OME project currently uses Hudson as a continuous integration server available at http://hudson.openmicroscopy.org.uk . OMERO.insight is built by the "INSIGHT" job at http://hudson.openmicroscopy.org.uk/job/INSIGHT .

Hudson checks for SVN changes every 15 minutes and executes:

export JBOSS_HOME=$HOME/root/opt/jboss
export JAVA_OPTS="-Xmx600M -Djavac.maxmem=600M -Djavadoc.maxmem=600M -XX:MaxPermSize=256m"

#
# Build
#
J=7 java $JAVA_OPTS omero build-all
# integration unfinished


#
# Documentation and build reports
#
java $JAVA_OPTS omero -f components/antlib/resources/release.xml -Dbasedir=. javadoc
java $JAVA_OPTS omero findbugs # separate call to prevent PermGen OOM
java $JAVA_OPTS omero coverage


#
# Prepare a distribution
#
rm -f OMERO.insight-build*.zip
java -Domero.version=build$BUILD_NUMBER omero zip

The Javadocs are available at http://hudson.openmicroscopy.org.uk/job/INSIGHT/javadoc/ as well as several build metrics.

Attachments

  • sbdd.pdf (102.7 kB) - added by jburel 3 months ago.

Download in other formats:

  • Plain Text

Trac Powered

Powered by Trac 0.11
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/