Results 1 to 3 of 3
  1. #1
    trax is offline Member
    Join Date
    Mar 2009
    Posts
    42
    Rep Power
    0

    Default Uable to get projects from workspace

    I am using api System.out.println(ResourcesPlugin.getWorkspace(). getRoot().getProjects().length);


    but i am unable to get any projects although i have projects in my workspace .

  2. #2
    vogella is offline Member
    Join Date
    Aug 2009
    Location
    Heidelberg
    Posts
    47
    Rep Power
    0

    Default

    Have a look here: Eclipse JDT - Abstract Syntax Tree (AST) and the Java Model - Tutorial

    The first example in the article reads all projects in the workspace and prints out some information about the projects.

  3. #3
    trax is offline Member
    Join Date
    Mar 2009
    Posts
    42
    Rep Power
    0

Similar Threads

  1. Replies: 2
    Last Post: 04-03-2009, 03:03 PM
  2. Workspace build at startup
    By cattox in forum Eclipse
    Replies: 0
    Last Post: 03-16-2009, 05:56 PM
  3. Replies: 0
    Last Post: 08-07-2008, 01:29 AM
  4. Opening a workspace twice
    By javaplus in forum Eclipse
    Replies: 0
    Last Post: 01-08-2008, 09:56 AM
  5. Smilehouse Workspace 1.8.3
    By Jamie in forum Java Software
    Replies: 0
    Last Post: 06-14-2007, 02:53 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •