classes in output dir getting removed [message #167082] |
Thu, 24 August 2006 10: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 #167700 is a reply to message #167197] |
Mon, 28 August 2006 04:57  |
Eclipse User |
|
|
|
Walter Harley wrote:
>"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.
>
>
This can be prevented (though not recommended) by unchecking "Scrub
output folders ..." on Java > Compiler > Building preference page (see
Output folder section).
Dani
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.07731 seconds