Download and installation

jfcm-core-1.0.5.jar

Download JFCM

JFCM project is hosted on Sourceforge, the download page can be found here:

http://sourceforge.net/projects/jfcm/files/

Installation

To use JFCM in your project you must make library and dependencies available in the classpath. Currently only two jars are needed:

  • jfcm-core-1.x.x.jar
  • commons-lang-x.x.jar

They are included in the binary distribution, you can find them in the /lib directory.

Note: version numbers may differ, depending on the library version you downloaded.

Using Ant

[TODO: add Ant instructions]

Using Maven

jfcm-core is in its early stage of development and it is not yet hosted on Maven Central repository. To include it as a dependency for your Maven-enabled project you must first install it. Here's how to do it:

  • download jfcm-core;
  • keep track of the version number: if the jar file you downloaded is named jfcm-core-1.0.5.jar, then the version number is 1.0.5;
  • install the library in your local Maven repository with this command:
mvn install:install-file -DgroupId=org.megadix.jfcm
  -DartifactId=jfcm-core -Dversion=[CURRENT_VERSION] -Dpackaging=jar
  -Dfile=[PATH_TO_JAR]

Where:

  • CURRENT_VERSION is the version number of the library (e.g. 1.0.5);
  • PATH_TO_JAR is the absolute path to the jar file.

Now add the correct dependency:

    <dependency>
      <groupId>org.megadix.jfcm</groupId>
      <artifactId>jfcm-core</artifactId>
      <version>1.0.5</version>
    <dependency>

in the <dependencies> section of your pom.xml file.