Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jdt-core-dev] getting started

Hi Tim,
 
Thanks for the suggestion.
 
The annotation processor introduced in Java 5 looked promising, and we evaluated it for our project.  Since we need access to the bodies of methods (both local-variable definitions and individual statements) we are forced to consider adding more invasive hooks.  We think the changes needed to support our work would be relatively minor as the JDT Core already has the concept of an abstract comment parser.
 
Is there documentation on how to build just the JDT (or JDT core)?  I'm sorry for being blind to them if links are readily apparent, but my search for such newbie information has not been fruitful.
 
From a Sun FAQ on annotations:
  • How can I process annotations on local variables?
    Annotations on local variables are invisible since the declaration hierarchy does not model program structure inside a method or constructor.
  • Thanks again,
    Perry

     
    On 3/6/06, Tim Wagner <twagner@xxxxxxx> wrote:

    If you're interested in metadata-driven development, you may find the work on JSR 175 metadata analysis and code generation interfaces ("APT") useful as well, and it would require less invasive JDT work to get started.

     


    From: jdt-core-dev-bounces@xxxxxxxxxxx [mailto:jdt-core-dev-bounces@xxxxxxxxxxx] On Behalf Of Perry James
    Sent: Saturday, March 04, 2006 1:13 PM
    To: Eclipse JDT Core developers list.
    Subject: [jdt-core-dev] getting started

     

     Hi,

       My research group is interested in adding hooks to the JDT compiler to allow comment parsers to influence the creation of the AST and to allow later compiler stages to modify the AST before code generation.  We think we have determined the few places in the code that changes are needed to accomplish this. 

       Our question is where to start:  The source code for all of Eclipse is available, and the Ant-driven build procedure takes about half an hour.  That doesn't seem to be what we should be using.

       What is the standard way of doing development on the JDT? Is there a procedure that will build just the JDT core?

    Is there documentation for those new to JDT development?  I have searched but have so far been unsuccessful.

       Thanks in advance for your help,

       Perry

     

    Perry James

    Ph.D. Candidate

    Dependable Software Research Group
    Department of Computer Science & Software Engineering
    Concordia University
    Montreal, Canada

    _______________________________________________________________________
    Notice:  This email message, together with any attachments, may contain
    information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated
    entities,  that may be confidential,  proprietary,  copyrighted  and/or
    legally privileged, and is intended solely for the use of the individual
    or entity named in this message. If you are not the intended recipient,
    and have received this message in error, please immediately return this
    by email and then delete it.
    


    Back to the top