ANT script compilation fails when compiling and deploying the Custom Form.

ANT script compilation fails when compiling and deploying the Custom Form.

book

Article ID: KB0084891

calendar_today

Updated On:

Products Versions
TIBCO Collaborative Information Manager -
Not Applicable -

Description

Resolution:
Description:
============
In TIBCO MDM, ANT script compilation errors when compiling and deploying the Custom Form.


Symptoms:
========
Error Message:-
[tibco@sabad19121:/opt/tibco/cim/8.0/build/custom] $ ant compile
Unknown argument: -cp
ant [options] [target [target2 [target3] ...]]
Options:
-help, -h print this message
-projecthelp, -p print project help information
-version print the version information and exit
-diagnostics print information that might be helpful to
diagnose or report problems.
-quiet, -q be extra quiet
-verbose, -v be extra verbose
-debug, -d print debugging information
-emacs, -e produce logging information without adornments
-lib specifies a path to search for jars and classes
-logfile use given file for log
-l ''
-logger the class which is to perform logging
-listener add an instance of class as a project listener
-noinput do not allow interactive input
-buildfile use given buildfile
-file ''
-f ''
-D= use value for given property
-keep-going, -k execute all targets that do not depend
on failed target(s)
-propertyfile load all properties from file with -D
properties taking precedence
-inputhandler the class which will handle input requests
-find (s)earch for buildfile towards the root of
-s the filesystem and use it
-nice number A niceness value for the main thread:
1 (lowest) to 10 (highest); 5 is the default

Cause:
=====
Multiple ANT homes and  ANT_HOME  is different from the location of the ANT bin directory in the PATH variable.

Resolution:
==========
Setting the PATH to the ANT’s bin directory resolves the issue.

Issue/Introduction

ANT script compilation fails when compiling and deploying the Custom Form.