Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!.POSTED!not-for-mail From: Novice Newsgroups: comp.lang.java.programmer Subject: Finding classes used by Applet Date: Wed, 26 Oct 2011 20:55:44 +0000 (UTC) Organization: Your Company Lines: 20 Message-ID: NNTP-Posting-Host: Yzqi07giy+IXRagYOPUEUQ.user.speranza.aioe.org X-Complaints-To: abuse@aioe.org User-Agent: Xnews/5.04.25 X-Antivirus-Status: Clean X-Notice: Filtered by postfilter v. 0.8.2 X-Antivirus: avast! (VPS 111026-1, 2011-10-26), Outbound message Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:9215 Is there a simple and reliable technique for determining the classes needed for an applet jar? In other words, if I want to put Applet X in a jar, how do I determine all of the classes I'm using in the Applet - directly or indirectly but excluding the Oracle Java classes - which I wrote. Currently, I'm doing it by inspection. I look at the imports in the applet, then look at the other classes referenced in the code which aren't in the import list and then see what they depend on. This is a slow and error- prone approach. I'll bet there is a simpler way to do it. I'm using Eclipse 3.7. Is there a built-in facility to do what I want in Eclipse? If so, what is it called and where do I find it? Or is there a plug-in that determines dependencies which I can add to Eclipse? -- Novice