Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » [Plugin Dev]Get source folder of the Dynamic Web Project
[Plugin Dev]Get source folder of the Dynamic Web Project [message #191060] Wed, 04 April 2007 09:50 Go to previous message
Eclipse User
Originally posted by: naqalone.googlemail.com

Hello everyone,

I am writting a Eclipse plugin which uses WTP.
The plugin is used to create Portlet Project (extending Dynamic Web
Project).

I know how to get the WebContent/WEB-INF folder by these code:
---
getDir("WEB-INF");
...
public static IFolder getDir(final IProject project,final String path) {
final IVirtualComponent vc = ComponentCore.createComponent( project );

final IVirtualFolder vf = vc.getRootFolder().getFolder( path );

return (IFolder) vf.getUnderlyingFolder();

}

--
But I don't know how to get the source folder (src) which is outside the
WebContent folder.

Any help is highly appreciated !

AnhQuan
 
Read Message
Read Message
Read Message
Previous Topic:Source Not Found and JDOMException
Next Topic:Web Service pure java client
Goto Forum:
  


Current Time: Fri May 24 02:31:35 EDT 2013

Powered by FUDForum. Page generated in 0.03171 seconds