calling Ant from java

2008-06-08 Thread Sonal Bannore
Hi, I am calling ant from java program. When I am calling the my-build.xml, it gives parsing error as invalid file or cannot be read. My-build.xml has import statement. When I remove that statement(import), the parsing error disappers, and the code works fine. I have ant.jar and ant-lau

calling ant from java

2008-06-06 Thread Sonal Bannore
Hi, I am calling ant from java code. The build.xml which I am calling from java code has statement inside it. This current build.xml imports another another build1.xml. When this file is called from java code, it throws exception build.xml is invalid or cannot be read. But if the import st