FOray
|
FOray: Development EnvironmentContentsToolsThe following tools are needed for FOray development:
ConfigurationThe problem with configuring development environments for a team of developers is that there are differences in the local environments that must be handled flexibly. And yet, we wish to hard-code as much information as possible, to prevent each developer from needing to deal with the details of setting up the various projects, finding the libraries, configuring checkstyle, etc. To achieve these contradictory goals, FOray uses a centralized build configuration properties file and makes that file available through the local environment. This file is always named "foray-build.properties" and should be placed in a directory whose location can be found by java at FORAY_CONFIG. The FORAY_CONFIG variable can be set either in your local environment or by using the -D switch when starting up your various Java processes, including your IDE. It is usually easier to set it in your local environment. A documented, pro-forma example of "foray-build.properties" is located in the "scripts" directory. Please be sure to set up the various properties noted there. SandboxBefore you can work on the source code, you will need to get a copy of it from the FOray Subversion Repository. As suggested in the repository documentation, be sure to append "/trunk" to the URL documented there. We also strongly recommend keeping your Subversion sandbox separate from your Integrated Development Environment (IDE). For example, the default Eclipse behavior is to download the code directory into the Eclipse workspace. You will generally get better results if you keep your sandbox in a separate location, and just point projects in your IDE to that sandbox. Eclipse IDE Quick-StartInstall Eclipse. After downloading your sandbox, open Eclipse in the workspace of your choice. Make sure you have a J2SE-1.5 Execution Environment installed. Open the "Window / Preferences menu item, then select "Java / Installed JREs / Execution Environments". Click on the "J2SE-1.5" environment, and make sure it points to a valid Java 1.5 JRE. The easiest thing to do is to let maven import the FOray projects into your workspace. Make sure you have m2e installed as a plugin to Eclipse (it is a plugin to Eclipse, not to Maven).
If you intend to submit patches or commit code, please also install the following Eclipse plugins:
|