Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #20734

Re: how to clean up unused java file in eclipse

Newsgroups comp.lang.java.programmer
Date 2012-12-27 11:07 -0800
References <7180f798-396e-4b03-b628-2a57cc0a8bd7@googlegroups.com>
Message-ID <5cab4b6f-3d21-41ec-bfb9-42102c2cabce@googlegroups.com> (permalink)
Subject Re: how to clean up unused java file in eclipse
From Lew <lewbloch@gmail.com>

Show all headers | View raw


mche...
>     I have a project in eclipse, it has many java [sic] files, they are taken 
> from an open source project. I will call one single function from one class, 
> how can i [sic] clear out all unused classes?

By not copying them into your project.

However, this is both not the right way to do it nearly always, and risks 
your violation of license terms. Check with a lawyer to ensure that you comply 
with the open-source license.

Your question is rather odd. What one function from what one class is so 
valuable that you'd lift it, and what open-source project has such a gem 
yet none of its other functionality will serve?

Why not just add the JAR to your libraries? What's the big deal?

-- 
Lew

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


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