Anatomy Of A Source

Each source directory follows the same file structure as detailed below:

    SOURCE_NAME
    |-- build.xml

File used by ant for the build. needs to be edited for project name

    |-- main
    |   |-- build.xml

File used by ant for the build. needs to be edited for project name

        |   |-- lib

Additional libraries if required

    |   |-- project.properties

Includes compile dependencies

    |   |-- resources

Config files needed by the converter

    |   `-- src
        |-- org.intermine.bio.dataconversion

Contains the Java source code for integrating the source (DataConvertor or DataTranslator)

        |-- org.intermine.bio.postprocess

Contains the Java source code for postprocessing

    |-- project.properties

Contains compilation dependencies and some properties as defined in SourceProjectProperties?

    |-- SOURCE_NAME_additions.xml

Contains the model additions as required

    |-- resources
    |   `-- SOURCE_NAME_keys.properties

Contains primary keys for integrating the source

    |   |-- build.xml
    |   |-- lib
    |   |-- project.properties
    |   |-- resources
    |   `-- src
    `-- test
        |-- build.xml
        |-- lib

Contains additional libraries if required

        |-- project.properties
        |-- resources

Contains files used by the JUnit tests.

        `-- src

Contains the code for the source's JUnit tests