I am new with Eclipse, I was using Forte. I like it because it is
faster, specially the debugger. But I have problems with it.
I have an old project with great number of classes but with no source.
When I open new project in Eclipse, and put dir with old project as
project dir, it deletes all the ".class" files. Even when I create
project, and copy class from backup, then go to project to do
"refresh" it deletes ".class" files. Can I turn off this option
somehow? If not, can you tell me the solutions for this problem?
Robert Klemme - 16 Sep 2003 12:01 GMT
How about putting them into a JAR?
robert
> I am new with Eclipse, I was using Forte. I like it because it is
> faster, specially the debugger. But I have problems with it.
[quoted text clipped - 4 lines]
> "refresh" it deletes ".class" files. Can I turn off this option
> somehow? If not, can you tell me the solutions for this problem?
Jon Skeet - 16 Sep 2003 12:37 GMT
> I am new with Eclipse, I was using Forte. I like it because it is
> faster, specially the debugger. But I have problems with it.
[quoted text clipped - 4 lines]
> "refresh" it deletes ".class" files. Can I turn off this option
> somehow? If not, can you tell me the solutions for this problem?
Don't keep them in the same area as your output or your class files.
Keep them in a separate directory under your project, and add that
directory to the build path.

Signature
Jon Skeet - <skeet@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Dave Stallard - 25 Sep 2003 16:02 GMT
> I am new with Eclipse, I was using Forte. I like it because it is
> faster, specially the debugger. But I have problems with it.
[quoted text clipped - 4 lines]
> "refresh" it deletes ".class" files. Can I turn off this option
> somehow? If not, can you tell me the solutions for this problem?
I had the same problem with it. I tried Eclipse hoping for a
better-performing IDE than JBuilder, but eventually gave up on it. Too
complicated, and too many nasty surprises like this one. I keep looking
at it to see if it's improved, but I guess it hasn't.
Dave
manfred r - 26 Sep 2003 10:27 GMT
There are several ways to do it
- use a separate directory for your class-files and add it to the
projects build path
- jar the classes into a jar-file and add it to the projects build
path
(I would recommend this)
- under preferences you can opt to not delete build-folders on
complete
rebuilds (exactly what you are asking, but I do not recommend it -
clean builds are a good thing to do from time to time )
hope this helps,
Manfred
http://www.regele.org
> I am new with Eclipse, I was using Forte. I like it because it is
> faster, specially the debugger. But I have problems with it.
[quoted text clipped - 4 lines]
> "refresh" it deletes ".class" files. Can I turn off this option
> somehow? If not, can you tell me the solutions for this problem?