Code for picture (outdated): [[File:J-MCDA-project-libraries.png|250px|right|The libraries dependencies illustrated.]]

How to start? (outdated)

Find a code sample relevant to the task you want to achieve and adapt it to your needs while reading the relevant javadoc parts.

  • You want to build an export for a custom (non XMCDA) file format: look at the example from the class org.decisiondeck.xmcda_oo.utils.IrisExport in J-MCDA.
  • You want to use the command line tool to generate XMCDA files from CSV files:
    • Get the CSV file. An example CSV file is there. One way to create a correct CSV file is to use OpenOffice calc, save as CSV, decimal separator must be dot (use e.g. english linguistics), export parameters for the CSV filter: UTF-8, field-sep comma, text-sep double quote, raw cell data (do not record cell 'as is'). With Excel this should be similar.
    • Download (at least version 0.3) from J-MCDA, extract somewhere.
    • Under Linux, type java -classpath "$rootMCDA/lib/*:$rootMCDA/conf" org.decisiondeck.xmcda_oo.utils.CSVToXMCDA, where $rootMCDA is the folder where you extracted J-MCDA.
    • Under Windows, type java -classpath "%rootMCDA\lib\*;%rootMCDA\conf" org.decisiondeck.xmcda_oo.utils.CSVToXMCDA, where %rootMCDA is the folder where you extracted J-MCDA.
    • You should get a message explaining the syntax (saying what you need to add behind the preceding line to specify what to convert).
  • You want to do something not yet documented? Ask for help on the forum (see below). This project is only starting so help us document things properly by pointing out what is lacking.