Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Project build deletes the output folder
Project build deletes the output folder [message #103670] Mon, 13 October 2003 02:13 Go to next message
Eclipse UserFriend
Originally posted by: rami.abramson.terayon.com

Hello all,

How is it possible to prevent the project's build from deleting the output
folder before building?
Question's Motivation: The output folder and subfolders contain resources
that are not required to be touched during compilation, and compilation
deletes them.

Would appreciate your help,

Rami A.
Re: Project build deletes the output folder [message #103683 is a reply to message #103670] Mon, 13 October 2003 02:31 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: scottdiny.yahoo.com

Hi
Here
Preferences->Java->Compiler
you can find "Build Path" tab
Clean output folders on full build
unchecked it.


"Rami A." <rami.abramson@terayon.com> wrote in message
news:bmdfq8$4bf$1@eclipse.org...
> Hello all,
>
> How is it possible to prevent the project's build from deleting the output
> folder before building?
> Question's Motivation: The output folder and subfolders contain resources
> that are not required to be touched during compilation, and compilation
> deletes them.
>
> Would appreciate your help,
>
> Rami A.
>
Re: Project build deletes the output folder [message #103835 is a reply to message #103683] Mon, 13 October 2003 07:43 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rami.abramson.terayon.com

ScottDing wrote:

> Hi
> Here
> Preferences->Java->Compiler
> you can find "Build Path" tab
> Clean output folders on full build
> unchecked it.


> "Rami A." <rami.abramson@terayon.com> wrote in message
> news:bmdfq8$4bf$1@eclipse.org...
> > Hello all,
> >
> > How is it possible to prevent the project's build from deleting the output
> > folder before building?
> > Question's Motivation: The output folder and subfolders contain resources
> > that are not required to be touched during compilation, and compilation
> > deletes them.
> >
> > Would appreciate your help,
> >
> > Rami A.
> >

thank you very much, it works.
Re: Project build deletes the output folder [message #104053 is a reply to message #103835] Mon, 13 October 2003 13:57 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.NO--SPAM.us.ibm.com

However I don't recommend doing that. That prevents it from cleaned up
nicely. The better way is to put your resources into the same source
folder as your java classes. They will then be copied over to the output
folder automatically. This then allows the java compiler to cleanup the
output folder and give a nice clean build without old artifacts laying
around that may no longer be needed.

Rich
Previous Topic:Load project classes from a plugin
Next Topic:Run configuration; absolute/relative path
Goto Forum:
  


Current Time: Fri Jul 18 00:11:48 EDT 2025

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

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

Back to the top