ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: Query regarding working of Ant
Date Thu, 19 Apr 2007 08:48:02 GMT
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:Gilbert.Rebhan@huk-coburg.de] 
>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:rajcools@gmail.com] 
>Sent: Thursday, April 19, 2007 8:43 AM
>To: user@ant.apache.org
>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: user-unsubscribe@ant.apache.org
>For additional commands, e-mail: user-help@ant.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message