Overview

Commons IO uses Maven 1 , Maven 2 or Ant as a build system.

IO 1.4 requires a minimum of JDK 1.4 to build. However all but four new implementations are JDK 1.3 compatible (by the source and target compiler options being set to 1.3) and the ant build excludes those new JDK 1.4 implementations, if the JDK is version 1.3.

You may also be interested in the upgrade notes:
Upgrade from 1.3.2 to 1.4
Upgrade from 1.3, or 1.3.1 to 1.3.2
Upgrade from 1.3 to 1.3.1
Upgrade from 1.2 to 1.3
Upgrade from 1.1 to 1.2
Upgrade from 1.0 to 1.1

Maven 2 Goals

The following Maven 2 commands can be used to build io:

  • mvn clean - clean up
  • mvn test - compile and run the unit tests
  • mvn site - create io documentation
  • mvn package - build the jar
  • mvn install - build the jar and install in local maven repository
  • mvn site assembly:assembly - Create the source and binary distributions

Maven 1 Goals

The following Maven 1 commands can be used to build io:

  • maven clean - clean up
  • maven test - compile and run the unit tests
  • maven site - create io documentation
  • maven jar - build the jar
  • maven dist - Create the source and binary distributions

Ant Goals

Note:

  • The ant build is JDK dependant. Building with JDK 1.3 excludes JDK 1.4 dependant classes.
  • Dependencies are automatically downloaded if not specified explicitly in a build.properties file.

The following Ant commands can be used to build io:

  • ant clean - clean up
  • ant test - compile and run the unit tests
  • ant javadoc - create javadocs
  • ant jar - build the jar
  • ant dist - Create the source and binary distributions