How to prevent Eclipse from doing automated builds? [message #85001] |
Tue, 12 August 2003 13:33  |
Eclipse User |
|
|
|
Originally posted by: nkale.calcas.com
Hi,
I'm using an ant script for my build file, which directs all compiled
classes to a certain directory (among other things).
I set up my project to point to the same output path.
But whenever I make any changes to my code in eclipse, it deletes most of
my class files - so I end up having to run my ant script over and over
again - which is a waste of time.
Is there a way out of this situation? Can I tell eclipse not to do that?
Thanks!
|
|
|
|
Re: How to prevent Eclipse from doing automated builds? [message #85138 is a reply to message #85001] |
Tue, 12 August 2003 18:24  |
Eclipse User |
|
|
|
Originally posted by: eric.rizzo.jibeinc.com
NK wrote:
> Hi,
> I'm using an ant script for my build file, which directs all compiled
> classes to a certain directory (among other things).
> I set up my project to point to the same output path.
> But whenever I make any changes to my code in eclipse, it deletes most of
> my class files - so I end up having to run my ant script over and over
> again - which is a waste of time.
Please note that this question is asked very frequently on these groups.
Please spend some time searching through the archives
(http://www.eclipse.org/search/search.cgi) and/or the Eclipse Wiki
(http://eclipsewiki.swiki.net/) to find previously asked/answered questions.
Eclipse is building .class files into the directory you specify. If all
you want in that location is the compiled classes, there should be no
need to run your Ant script again. If, however, your script is doing
things other than compile Java classes into that directory, then the
Eclipse builder will sometimes scrub (clean) that directory (but it
should only happen when doing a full project rebuild, not the
incremental builds that happen when you change & save code).
See http://eclipsewiki.swiki.net/103#erased
HTH,
Eric
--
Eric Rizzo
Software Architect
Jibe, Inc.
http://www.jibeinc.com
|
|
|
Powered by
FUDForum. Page generated in 0.08942 seconds