Just done a google on 'calling ant from java' and one of the results I got
was someone else asking the same question.

http://www.junlu.com/msg/17340.html

Purhaps the resulting answers to his question may help you.

Chris

On Mon, Jun 9, 2008 at 8:43 AM, Sonal Bannore <
[EMAIL PROTECTED]> wrote:

> 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-launcher.jar in the classpath.
>
>
>
>
>
> Regards,
>
> -Sonal
>
>
>
>
> DISCLAIMER
> ==========
> This e-mail may contain privileged and confidential information which is
> the property of Persistent Systems Ltd. It is intended only for the use of
> the individual or entity to which it is addressed. If you are not the
> intended recipient, you are not authorized to read, retain, copy, print,
> distribute or use this message. If you have received this communication in
> error, please notify the sender and delete all copies of this message.
> Persistent Systems Ltd. does not accept any liability for virus infected
> mails.
>

Reply via email to