I am using one of the java class from ant jar file.
Jar:
\Interwoven\TeamSite\tools\ant\lib\ant.jar
My extenal task java program calling a function which resides in the above jar.
import org.apache.tools.ant.DefaultLogger;
.
.
public class BuildExecutor implements CSURLExternalTask {
private static final Logger logger = Logger.getLogger(GenerateFilelist.class);
public final void execute(CSClient client, CSExternalTask task, Hashtable params) throws CSException {
logger.debug("before getting new default logger");
try{
consoleLogger = new DefaultLogger();
}catch(Exception e){
logger.debug(e);
}
logger.debug("before getting new default logger");
}
Complile mode, While building the toolkit no issues. Execution mode, when external task runs the java program, the java program prints till the first debug statement and then halts at consoleLogger object creation (in red above).. Neither it throws any exception nor it gives any error.
As it is compiled with no error, can I assume that ant.jar was located by java program.
Any ideas where exactly it is throwing the error messsage. Any specific log I need to see.