1 HOW TO COMPILE dmcDue/iDmc
2 --------------------------
4 Starting from the 2.x.x series, iDmc is a pure Java program
5 (although it depends on the native idmclib library).
7 iDmc was developed under Debian and Ubuntu GNU/Linux mainly using the IBM Eclipse
8 IDE (www.eclipse.org) and Netbeans.
10 The Java part is Java2 1.6 compliant.
12 Full and successful compile and runtime testing was done with Sun's Java2
13 SDK/JRE 1.5.0_08 under Ubuntu GNU/Linux (x86_64/x86_32) and under Micro$oft Windows XP.
15 The compilation defaults to produce a "static" jar file.
16 This is to avoid dependencies hells only and is not stricly
19 Sofware you need to compile:
21 - Java2 SDK 1.5 or above
24 - Apace ant 1.5 or above
25 http://ant.apache.org/
29 - idmclib: The iDMC C support library, version 0.5.0 or compatible
30 http://code.google.com/p/idmclib
32 - JGoodies Forms, Java panels layout library
33 http://www.jgoodies.com/
35 - JFree JFreeChart 0.9.18: a free Java class library for generating charts
38 - JCommon 0.9.3: used by JFreeChart
41 - jakarta-log4j-1.2.14: logging library used by JFreeChart
42 http://logging.apache.org/log4j/docs
44 The JGoodies Forms library API is stable so, generally
45 speaking, you should be able to use more recent versions of this
46 library. About JFreeChart, the core library of the program, stick to
47 the specified version or you'll certainly have to adapt part of the
49 For compiling idmclib from sources, other dependencies are involved.
50 Read idmclib compiling instructions for an up-to-date reference.
52 To compile under Linux using the included build.xml unpack all the packages
54 Compile the idmclib library by typing:
55 $ cd idmclib-x.x.x-Source
60 For more details, read idmclib compiling instructions, or ask
61 in mailing list and/or package mantainers.
62 When idmclib is compiled, go to the iDmc folder:
65 Finally, use ant to compile all:
68 Look for other ant targets in the build.xml file.
69 In principle, the same steps works also under Windows, using the MinGW/MSYS
70 environment for compiling idmclib. Read idmclib documentation for further hints
71 about that. Anyway, the project mantainer will generally take care of distributing
72 precompiled windows binaries.
74 In the misc directory you will also find a NSIS (Nullsoft Scriptable
75 Install System, http://nsis.sourceforge.net/home/) script to create
76 Windows autoinstaller packages.
78 Daniele Pizzoni <auouo@tin.it>
79 Last modified by Antonio, Fabio Di Narzo on 13/04/2007