# Should be "source"d rather than executed.

# Check that we know where we are
if [ ! -f $ix_base/scripts/unix/setvars ]
then
    # No - tell the user
    echo "Incorrect I-X base $ix_base"
    exit 1
fi

# Location of "imported" .jar files
imports_dir=$ix_base/imports

# Start with java directory in the class path.
# ix_cpath=$ix_base/java

# Start with ix.jar in the class path
ix_cpath=$ix_base/ix.jar

# Put all .jar files in $imports_dir in the class path.

ix_cpath=$ix_cpath:`echo $imports_dir/*.jar | tr " " ":"`

# all-imports.jar in $imports_dir should take care of Jena.

# ix_cpath=$ix_cpath:`echo $imports_dir/jena2/*.jar | tr " " ":"`

export ix_cpath

# That's it!

