Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #28248

Re: How Do I Get Ant In Eclipse To Give Me Error Message

Date 2014-04-27 08:54 +0100
From lipska the kat <lipskathekat@example.com>
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> <beee13a9-0058-4434-9f0a-15887d9a32a3@googlegroups.com>
Message-ID <ptWdnf958rA2KsHOnZ2dnUVZ8gWdnZ2d@bt.com> (permalink)

Show all headers | View raw


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

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

How Do I Get Ant In Eclipse To Give Me Error Message "clu@aol.com" <clusardi2k@aol.com> - 2014-04-24 11:12 -0700
  Re: How Do I Get Ant In Eclipse To Give Me Error Message Joerg Meier <joergmmeier@arcor.de> - 2014-04-24 20:42 +0200
    Re: How Do I Get Ant In Eclipse To Give Me Error Message clusardi2k@aol.com - 2014-04-25 06:42 -0700
    Re: How Do I Get Ant In Eclipse To Give Me Error Message clusardi2k@aol.com - 2014-04-25 06:47 -0700
      Re: How Do I Get Ant In Eclipse To Give Me Error Message Joerg Meier <joergmmeier@arcor.de> - 2014-04-25 17:50 +0200
  Re: How Do I Get Ant In Eclipse To Give Me Error Message Joerg Meier <joergmmeier@arcor.de> - 2014-04-24 20:43 +0200
    Re: How Do I Get Ant In Eclipse To Give Me Error Message "clus@aol.com" <clusardi2k@aol.com> - 2014-04-25 06:17 -0700
      Re: How Do I Get Ant In Eclipse To Give Me Error Message lipska the kat <lipskathekat@example.com> - 2014-04-27 08:54 +0100

csiph-web