Re: Project reflection

From: Chris Smith (cdsmith_at_twu.net)
Date: 12/17/03

  • Next message: Schippy: "Re: Project reflection"
    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
    

  • Next message: Schippy: "Re: Project reflection"

    Relevant Pages

    • Re: Project reflection
      ... > How would you get package and class names given the project name as a ... There is no such concept as a "project" in Java. ... environments have such a concept, but it's only an organizational tool ... if you are writing plug-in tools for your development ...
      (comp.lang.java.programmer)
    • Re: Project reflection
      ... > How would you get package and class names given the project name as a ... There is no such concept as a "project" in Java. ... environments have such a concept, but it's only an organizational tool ... if you are writing plug-in tools for your development ...
      (comp.lang.java.help)
    • XML support in Java 5?
      ... The javax.xml and javax.xml.stream packages have some classes that look very useful for writing and reading XML. ... The few things that are documented as being in Java 5, I don't see how they are useful for actually writing XML. ...
      (comp.lang.java.programmer)
    • Re: setting a specific range for primitive value for the compiler
      ... Somehow I thought there was something possible like setting a specific ... range in java, but may-be I am totally confused with other ... environments I used. ... and I am writing 'bs'. ...
      (comp.lang.java.programmer)
    • Re: help - right allignment of text
      ... > Im working with Java. ... > Im writing this program right now.....and one of the thing i have to do is ... See the java.text package. ... And consider posting your beginner's ...
      (comp.lang.java.programmer)