classes in output dir getting removed [message #167082] |
Thu, 24 August 2006 14:43 |
Eclipse User |
|
|
|
Originally posted by: me.somewhere2.com
Eclipse 3.0.2, have output dir defined as C:\something\classes.
I'm using a project that was previously developed by someone using eclipse,
and his \classes dir has some class files and dirs that i need for runtime.
If I copy his \classes folder over mine and run, all's well.
Somewhere along the way, maybe eclipse re-start or project close, the
subdirs in \classes are being removed.
How can I solve this issue? Would like Eclipse to just write to classes but
not remove previously existing dirs. Over-write is fine, but not clean-up.
cheers.
c
|
|
|
Re: classes in output dir getting removed [message #167197 is a reply to message #167082] |
Thu, 24 August 2006 23:28 |
Eclipse User |
|
|
|
Originally posted by: wharley.bea.com
"c" <me@somewhere2.com> wrote in message
news:eckdvo$9fn$1@utils.eclipse.org...
> Eclipse 3.0.2, have output dir defined as C:\something\classes.
>
> I'm using a project that was previously developed by someone using
> eclipse, and his \classes dir has some class files and dirs that i need
> for runtime.
>
> If I copy his \classes folder over mine and run, all's well.
>
> Somewhere along the way, maybe eclipse re-start or project close, the
> subdirs in \classes are being removed.
>
> How can I solve this issue? Would like Eclipse to just write to classes
> but not remove previously existing dirs. Over-write is fine, but not
> clean-up.
If you have .class resources that are not generated by the build, you should
not keep them in an output folder. Put them in a class folder instead (like
a src folder but for binaries - it's one of the options in the Java Build
Path dialog, and one of the New items you can create for a project).
The output directory *will* get blown away during a full build.
|
|
|
|
Powered by
FUDForum. Page generated in 0.08601 seconds