Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » How to prevent Eclipse from doing automated builds?
How to prevent Eclipse from doing automated builds? [message #85001] Tue, 12 August 2003 17:33 Go to next message
Eclipse UserFriend
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 #85125 is a reply to message #85001] Tue, 12 August 2003 21:55 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: faust.acm.org

windows->preferences->workbench.

disable "perform build automatically on resource modification". this will
prolly keep it from scrubbing unless you do a full build manually


Randy

"NK" <nkale@calcas.com> wrote in message news:bhb8cc$l26$1@eclipse.org...
> 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 22:24 Go to previous message
Eclipse UserFriend
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
Previous Topic:Object Browser in 3.0
Next Topic:Keeping Javadoc up to date
Goto Forum:
  


Current Time: Sat Oct 19 06:03:34 GMT 2024

Powered by FUDForum. Page generated in 0.03997 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top