Is there any way to recover a lost directory? [message #44632] |
Fri, 30 May 2003 14:02 |
Eclipse User |
|
|
|
Originally posted by: mobiko.lycos.com
Hi,
I store my subdirectory containing my images into the "Default Output
Folder" setting under Properties -> Java Build Path.
I just realised that somehow the IDE wiped off my entire "images"
directory. How can I recover my directory, and how to prevent this? Is
this an IDE bug? Or maybe I am still not familiar with Eclipse IDE.
Any advice please.
Many thanks,
mobiko
|
|
|
Re: Is there any way to recover a lost directory? [message #45596 is a reply to message #44632] |
Fri, 30 May 2003 22:11 |
Eclipse User |
|
|
|
Originally posted by: eric.rizzo.jibeinc.com
mobiko wrote:
> Hi,
>
> I store my subdirectory containing my images into the "Default Output
> Folder" setting under Properties -> Java Build Path.
>
> I just realised that somehow the IDE wiped off my entire "images"
> directory. How can I recover my directory, and how to prevent this? Is
> this an IDE bug? Or maybe I am still not familiar with Eclipse IDE.
Eclipse automatically "scrubs" a Project's output directory whenever a
full rebuild of the Project is triggered ("scrub" means "clean out
everything in the directory"). This is intended behavior. It is not
logical to place files in that directory manually - that is your build
output location, not a place to store files permanently.
You may be able to recover stuff from that directory by selecting it in
the Navigator view, right-click on the directory, and choose "Restore
from local history..."
HTH,
Eric
--
Eric Rizzo
Software Architect
Jibe, Inc.
http://www.jibeinc.com
|
|
|
Re: Is there any way to recover a lost directory? [message #46559 is a reply to message #45596] |
Mon, 02 June 2003 11:22 |
Philippe Mulet Messages: 229 Registered: July 2009 |
Senior Member |
|
|
In 2.1, you can also tell Eclipse to no longer clean the output folder (you
are supposed to manually do so when it makes sense to you).
See preference>Java>Compiler>BuildPath>Scrub output folders on full build.
Now, if you are willing to have picture resource files on the runtime path
by putting these into the output folder, then the preferred way to achieve
this is to store these resources into a separate class folder which is
appended to your classpath (see project properties>Java Build
Path>Libraries>Add Class Folder). All resources located into a class folder
will be left untouched, and made available at runtime.
Alternatively, you could mix these files with your source files (next to
them) and then they would get duplicated into the output folder.
"Eric Rizzo" <eric.rizzo@jibeinc.com> wrote in message
news:bb8kol$i5v$1@rogue.oti.com...
> mobiko wrote:
> > Hi,
> >
> > I store my subdirectory containing my images into the "Default Output
> > Folder" setting under Properties -> Java Build Path.
> >
> > I just realised that somehow the IDE wiped off my entire "images"
> > directory. How can I recover my directory, and how to prevent this? Is
> > this an IDE bug? Or maybe I am still not familiar with Eclipse IDE.
>
> Eclipse automatically "scrubs" a Project's output directory whenever a
> full rebuild of the Project is triggered ("scrub" means "clean out
> everything in the directory"). This is intended behavior. It is not
> logical to place files in that directory manually - that is your build
> output location, not a place to store files permanently.
>
> You may be able to recover stuff from that directory by selecting it in
> the Navigator view, right-click on the directory, and choose "Restore
> from local history..."
>
> HTH,
> Eric
> --
> Eric Rizzo
> Software Architect
> Jibe, Inc.
> http://www.jibeinc.com
>
|
|
|
Re: Is there any way to recover a lost directory? [message #47420 is a reply to message #46559] |
Tue, 03 June 2003 15:15 |
Eclipse User |
|
|
|
Originally posted by: mobiko.lycos.com
Phillpe, thanks for your advice. It works. :-)
Philippe Mulet wrote:
> In 2.1, you can also tell Eclipse to no longer clean the output folder (you
> are supposed to manually do so when it makes sense to you).
> See preference>Java>Compiler>BuildPath>Scrub output folders on full build.
> Now, if you are willing to have picture resource files on the runtime path
> by putting these into the output folder, then the preferred way to achieve
> this is to store these resources into a separate class folder which is
> appended to your classpath (see project properties>Java Build
> Path>Libraries>Add Class Folder). All resources located into a class folder
> will be left untouched, and made available at runtime.
> Alternatively, you could mix these files with your source files (next to
> them) and then they would get duplicated into the output folder.
> \"Eric Rizzo\" <eric.rizzo@jibeinc.com> wrote in message
> news:bb8kol$i5v$1@rogue.oti.com...
> > mobiko wrote:
> > > Hi,
> > >
> > > I store my subdirectory containing my images into the \"Default Output
> > > Folder\" setting under Properties -> Java Build Path.
> > >
> > > I just realised that somehow the IDE wiped off my entire \"images\"
> > > directory. How can I recover my directory, and how to prevent this? Is
> > > this an IDE bug? Or maybe I am still not familiar with Eclipse IDE.
> >
> > Eclipse automatically \"scrubs\" a Project\'s output directory whenever a
> > full rebuild of the Project is triggered (\"scrub\" means \"clean out
> > everything in the directory\"). This is intended behavior. It is not
> > logical to place files in that directory manually - that is your build
> > output location, not a place to store files permanently.
> >
> > You may be able to recover stuff from that directory by selecting it in
> > the Navigator view, right-click on the directory, and choose \"Restore
> > from local history...\"
> >
> > HTH,
> > Eric
> > --
> > Eric Rizzo
> > Software Architect
> > Jibe, Inc.
> > http://www.jibeinc.com
> >
|
|
|
|
|
Re: Is there any way to recover a lost directory? [message #1766034 is a reply to message #1733550] |
Thu, 15 June 2017 02:31 |
Ianasksder Yang Messages: 1 Registered: June 2017 |
Junior Member |
|
|
sally redlly wrote on Mon, 30 May 2016 06:40You still have a chance to recover your deleted directory or other data as long as they're not over-written by newly created data, then try some free Android memory data recovery software to scan your device.
Can't deny the data loss became common issues , Because of our phone is always in a state of update operation, the data loss is unavoidable , it is true, when we meet this problem , what we need have a solution to recover back lost data , there are many tutorials on Google
[Updated on: Tue, 20 June 2017 06:04] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.03586 seconds