Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » getting the source folder of a project
getting the source folder of a project [message #174426] Sun, 22 August 2004 18:36 Go to next message
Eclipse UserFriend
Originally posted by: ximor_iksivich.lycos.co.uk

Hi,
My plugin works with Java files. Now it needs to know where the source
folders of a java project are. Is there an easy way to get to the source
folder of a project if I have it's IJavaProject handle?

Thanks,
Ximor.
Re: getting the source folder of a project [message #174460 is a reply to message #174426] Mon, 23 August 2004 03:20 Go to previous message
Eclipse UserFriend
IJavaProject#getPackageFragmentRoots(), then select the ones of kind
K_SOURCE (see IPackageFragmentRoot#getKind()).

Jerome

"Ximor " <ximor_iksivich@lycos.co.uk> wrote in message
news:cgb752$q6g$1@eclipse.org...
> Hi,
> My plugin works with Java files. Now it needs to know where the source
> folders of a java project are. Is there an easy way to get to the source
> folder of a project if I have it's IJavaProject handle?
>
> Thanks,
> Ximor.
>
Previous Topic:jdk1.5's annotations
Next Topic:is 0 (byte) != 0 (int)???
Goto Forum:
  


Current Time: Sun Oct 26 06:56:10 EDT 2025

Powered by FUDForum. Page generated in 0.24576 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top