Your main problem is, that you need a buildfile (build.xml) for your project. 
So you have to write that.

http://ant.apache.org/manual/using.html#buildfile
http://ant.apache.org/manual/tutorial-HelloWorldWithAnt.html
 

Jan


>-----Ursprüngliche Nachricht-----
>Von: Rebhan, Gilbert [mailto:[EMAIL PROTECTED] 
>Gesendet: Donnerstag, 19. April 2007 10:37
>An: Ant Users List
>Betreff: RE: Query regarding working of Ant
>
> 
>Hi,
>
>-----Original Message-----
>From: raj kanwal [mailto:[EMAIL PROTECTED] 
>Sent: Thursday, April 19, 2007 8:43 AM
>To: [email protected]
>Subject: Query regarding working of Ant
>
>
>>build.xml file not found.
>
>that's normal when running ant command without
>pointing to a file, i.e. C:\>ant
>
>>ant -buildfile fetch.xml it is giving an error  - "import command not
>found"
>
>sounds like a syntax error in your build file.
>
>are you trying something like =
>
>    <!-- // Import MacroDefs -->
>    <!-- import common targets -->
>    <import file="../common/common_macros.xml" optional="false"/>
>    <!-- Import MacroDefs // -->
>
>
>some editors, f.e. Eclipse show errors, better than using notepad.
>
>
>Regards, Gilbert
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to