Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » How prevent deleting resources from classpath
How prevent deleting resources from classpath [message #118610] Mon, 21 November 2005 10:25 Go to next message
Eclipse UserFriend
Originally posted by: igorl.qlusters.com

Hi,
How can I prevent delete different resource files fro classpath after
first build? I would like to elaborate more: content of classpath
directory is initially created by build process (by maven), then I would
like to work with Eclipse, but after first build Eclipse actually deletes
all content of output path.
I searched differnet option, but didn't find anything.

Thank you,
Igor
Re: How prevent deleting resources from classpath [message #118751 is a reply to message #118610] Mon, 21 November 2005 19:25 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse3.rizzoweb.com

Igor wrote:
> Hi,
> How can I prevent delete different resource files fro classpath after
> first build? I would like to elaborate more: content of classpath
> directory is initially created by build process (by maven), then I would
> like to work with Eclipse, but after first build Eclipse actually
> deletes all content of output path. I searched differnet option, but
> didn't find anything.

The problem is how does Eclipse distinguish between Maven-copied files
and old files that are no longer part of the source? If you remove an
old file from the source tree, Eclipse needs to remove it from the build
output, too. How would it know which ones are to be removed and which
ones were put there by Maven?

I suggest including the files that are being copied by Maven into the
Eclipse project's source location(s) - that way they will be copied into
the build output automatically.

HTH,
Eric
Re: How prevent deleting resources from classpath [message #118948 is a reply to message #118751] Tue, 22 November 2005 14:10 Go to previous message
Eclipse UserFriend
Originally posted by: igorl.qlusters.com

Yes, it works,
many thanks!

Igor
Previous Topic:Background color of TypeDefs (CDT)
Next Topic:Eclipse Runtime Errors
Goto Forum:
  


Current Time: Sat Nov 09 00:06:07 GMT 2024

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

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

Back to the top