Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #20725
| From | Joerg Meier <joergmmeier@arcor.de> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: how to clean up unused java file in eclipse |
| Date | 2012-12-27 14:34 +0100 |
| Message-ID | <pprtx4y24m21.k6lmco90tfwd$.dlg@40tude.net> (permalink) |
| References | <7180f798-396e-4b03-b628-2a57cc0a8bd7@googlegroups.com> |
On Wed, 26 Dec 2012 20:44:51 -0800 (PST), mcheung63@gmail.com wrote: > Dear All > I have a project in eclipse, it has many java files, they are taken from an open source project. I will call one single function from one class, how can i clear out all unused classes? > thanks Select the files you don't want and press the Delete key. There is no automatic way to do what you want. An optimizer/shrinker such as ProGuard can be used to clean away unused classes from your compiled output, but its use is not trivial. Also, just because you only call one function doesn't mean no other classes are needed - the function or the class holding the function itself might reference a multitude of classes, possibly even all of them. Liebe Gruesse, Joerg -- Ich lese meine Emails nicht, replies to Email bleiben also leider ungelesen.
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
how to clean up unused java file in eclipse mcheung63@gmail.com - 2012-12-26 20:44 -0800 Re: how to clean up unused java file in eclipse Joerg Meier <joergmmeier@arcor.de> - 2012-12-27 14:34 +0100 Re: how to clean up unused java file in eclipse Lew <lewbloch@gmail.com> - 2012-12-27 11:07 -0800 Re: how to clean up unused java file in eclipse Arne Vajhøj <arne@vajhoej.dk> - 2012-12-27 14:15 -0500
csiph-web