Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder1.xlned.com!news.astraweb.com!border5.a.newsrouter.astraweb.com!border2.nntp.ams.giganews.com!Xl.tags.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!local2.nntp.ams.giganews.com!nntp.bt.com!news.bt.com.POSTED!not-for-mail NNTP-Posting-Date: Sun, 27 Apr 2014 02:54:19 -0500 Date: Sun, 27 Apr 2014 08:54:18 +0100 From: lipska the kat User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121010 Thunderbird/16.0.1 MIME-Version: 1.0 Newsgroups: comp.lang.java.programmer Subject: Re: How Do I Get Ant In Eclipse To Give Me Error Message References: <7b07869b-886e-4fea-a7bc-a11339d4d228@googlegroups.com> <1f4nmh98yz6n8$.1fysdf62irhct.dlg@40tude.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Lines: 33 X-Usenet-Provider: http://www.giganews.com X-AuthenticatedUsername: NoAuthUser X-Trace: sv3-CSi6Ajq8cjjHaoGBeASbLSlHQZoxHIDGsBch7eq0EDtv6OWAH+r5+0uzukSG8+gUFG86U0D0lBP1Lzp!DeL4O3Lh7rVqM6lzH/RSM7XoM1xmzxmJcAHA7IWACplZ/mR+AfTX520+WFhpTbonZIbTHfufchE= X-Complaints-To: abuse@btinternet.com X-DMCA-Complaints-To: abuse@btinternet.com X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 2588 Xref: csiph.com comp.lang.java.programmer:28248 On 25/04/14 14:17, clus@aol.com wrote: > On Thursday, April 24, 2014 2:43:34 PM UTC-4, Joerg Meier wrote: >> ps.: All that being said, I have abandoned Ant a while ago, but I recall >> >> the output of running it just going to the console window. Is that not the >> >> case for you ? > > All it tells me is failed build or successful build. > I think you need to take a step back here. If you are using Eclipse then there really is no need to use Ant to compile your project, Eclipse will do that for you. Enable Window -> Show View -> Markers to see compile time errors, fix the errors then build. Where Ant is useful (to me) is for building archive files. I use Eclipse to develop web applications mainly, once things compile I run the Ant script in Eclipse to build and deploy a war file to the server. It is perfectly possible to build and deploy an application using Ant even though your code has arbitrary errors, Ant will not complain if you are not using it to compile your code. Are you actually using Ant to *compile* your code or just assemble the archive? -- lipska the kat - treacherous feline. Proudly nominated for IPOTY 2014 - LIGAF GNU/Linux user #560883 - linuxcounter.net