Re: Project reflection
From: Chris Smith (cdsmith_at_twu.net)
Date: 12/17/03
- Previous message: Shirley: "Project reflection"
- In reply to: Shirley: "Project reflection"
- Next in thread: Shirley: "Re: Project reflection"
- Reply: Shirley: "Re: Project reflection"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 16 Dec 2003 21:01:34 -0700
Shirley wrote:
> I wonder if anyone can help me with the following question.
>
> How would you get package and class names given the project name as a
> String? For example, given a project name I need to be able to get
> all it's contained packages and classes.
There is no such concept as a "project" in Java. Many development
environments have such a concept, but it's only an organizational tool
for managing the software development process. Different environments
define that concept in subtly different ways, and it is not a real-life
fact about Java. Hence, you can't do anything with it from within a
Java application, which is *not* tied to the development tool used to
write it.
On the other hand, if you are writing plug-in tools for your development
environment, there will almost certainly be some API available to you
which provides that information. In that case, feel free to ask again,
but provide specific information about which environment you are writing
for (for example, maybe you're writing an Eclipse plug-in, or a JBuilder
plug-in...).
-- www.designacourse.com The Easiest Way to Train Anyone... Anywhere. Chris Smith - Lead Software Developer/Technical Trainer MindIQ Corporation
- Previous message: Shirley: "Project reflection"
- In reply to: Shirley: "Project reflection"
- Next in thread: Shirley: "Re: Project reflection"
- Reply: Shirley: "Re: Project reflection"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|