Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » (Answered) When does Eclipse auto clean a project's binary directory?
icon5.gif  (Answered) When does Eclipse auto clean a project's binary directory? [message #1443508] Sun, 12 October 2014 21:33 Go to next message
Joseph Sheppard is currently offline Joseph SheppardFriend
Messages: 2
Registered: October 2014
Junior Member
Hi,

I've been making a Java Vassal Engine game and storing all of its files in its Eclipse project's binary output folder where its images directory, build file and module data file have been occasionally disappearing.

The "code" directory is the root package for this game's Java code and the vjar directory shown in the above screenshot is the binary output folder for this game's Eclipse project. Vassal Engine games are contained in .vjar archives so everything in the vjar directory is compressed into sov.zip which I then rename to sov.vjar.

Until I came across a forum post mentioning that non binary files can be deleted from an Eclipse project's bin folder when its cleaned, I had been worrying that malicious software on my PC was deleting these files. But I've not been able to make Eclipse auto clean this directory by doing things I may have been doing which could have resulted in it deciding to clean the bin directory.

So I'm still worrying that there could be malicious software on my PC deleting these files.

I've used my Norton anti-virus software and it hasn't found any malicious software but I know there's no guarantee that this anti-virus software will be able to find any malicious program running on my Windows 8.1 PC.

[Updated on: Mon, 13 October 2014 19:04]

Report message to a moderator

Re: When does Eclipse auto clean the bin directory? [message #1443992 is a reply to message #1443508] Mon, 13 October 2014 14:07 Go to previous messageGo to next message
David Wegener is currently offline David WegenerFriend
Messages: 1434
Registered: July 2009
Senior Member
On 10/13/2014 07:02 AM, Joseph Sheppard wrote:
> Hi,
>
> I've been making a Java Vassal Engine game and storing all of its files
> in its Eclipse project's bin folder where its images directory, build
> file and module data file have been occasionally disappearing:
> <I can't insert a screenshot of this directory until I've posted 5
> messages>
>
> The "code" directory is the root package for this game's Java code and
> the vjar directory shown in the above screenshot is this bin folder for
> this game's Eclipse project. Vassal Engine games are contained in .vjar
> archives so everything in the vjar directory is compressed into sov.zip
> which I then rename to sov.vjar.
>
> Until I came across a forum post mentioning that non binary files can be
> deleted from an Eclipse project's bin folder when its cleaned, I had
> been worrying that malicious software on my PC was deleting these files.
> But I've not been able to make Eclipse auto clean this directory by
> doing things I may have been doing which could have resulted in it
> deciding to clean the bin directory.
>
> So I'm still worrying that there could be malicious software on my PC
> deleting these files.
> I've used my Norton anti-virus software and it hasn't found any
> malicious software but I know there's no guarantee that this anti-virus
> software will be able to find any malicious program running on my
> Windows 8.1 PC.
You should not store things in the bin directory. This is where Eclipse
gets your program ready to run and Eclipse will delete things from this
directory without warning.

You should store the resources in the source directories of the project.
Eclipse will automatically copy non source files to the bin directory
when you perform a build. You can either include the files in the
source directory for you project, or create a separate resource source
directory.

The bin folder will be cleared out by a Project Clean depending on the
settings you have selected for cleaning the output folder on clean.
Re: When does Eclipse auto clean the bin directory? [message #1444175 is a reply to message #1443992] Mon, 13 October 2014 18:59 Go to previous message
Joseph Sheppard is currently offline Joseph SheppardFriend
Messages: 2
Registered: October 2014
Junior Member
Thanks for posting a helpful reply.
Previous Topic:Can Eclipse work with Guitar Pro Program?
Next Topic:Creating a Ghost project?
Goto Forum:
  


Current Time: Tue Oct 15 08:27:24 GMT 2019

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

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

Back to the top