|
DevelopmentSetup
Getting set up to work w/ the project source code.
Access to Source CodeBrowse Source CodeDownload Source Code(aka check out source code)
IntroductionThe project has been developed under Netbeans, though it does not require Netbeans to run. The source is structured as a number of "modules", many of which of which depend upon each other. Module List
SetupNetbeansIf Netbeans is setup properly w/ SVN, you should be able to connect to the repository, select all of the "modules" and check them all out at once. The trunk branch of each module contains Netbeans project files which can be opened in the Netbeans IDE. You will probably have to fix some dependencies since I'm still trying to figure out how NB handles all of that and some (perhaps many) of the settings that I use might not work for you. Module DependenciesBecause of the modular nature in which we've designed this program, many of the modules depend on other modules. If you're not developing in Netbeans, you need to make sure that these modules all appear in your CLASSPATH. If you are using Netbeans, these dependencies need to be listed in the "libraries" section of each project's properties. (Right click on the project, select "properties", then "libraries".) Notes: All modules depend upon CPS-Spec for the core APIs. The CropPlanning module depends upon CPS-Spec as well as all other modules. This is sort of a Netbeans funkiness: all dependencies are copied to the dist/ folder upon build, so by listing all of the modules here (even though the CropPlanning module doesn't technically depend upon all of them) everything will sort of shake out politely upon build and put all of the requisite modules and libraries in the right place. Note: After checkout, module CropPlanning must be set as the main project in Netbeans.
External Libraries
Note: When you download these libraries and set them up in NetBeans (menu: Tools > Libraries), you can name them anything you want. However, if you name them as they appear in the above table, you might not get hassled by NetBeans to have to resolve broken dependencies. Ant LibrariesThe following libraries shouldn't be needed for day to day development, but will be needed for anyone who wants use the custom Ant tasks in the CropPlanning module to generate distributable disk images and zip archives. Once downloaded and unpacked, add the files jarbundler-<version>.jar and launch4j.jar to the Ant classpath in the Netbeans Preferences, under Miscellaneous > Ant.
Utilities/Misc
|