[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.rcp] How To Access Folders When Testing Plugins
|
- From: gautam_hn@xxxxxxxxx (Exquisitus)
- Date: Tue, 13 May 2008 10:57:21 +0000 (UTC)
- Newsgroups: eclipse.platform.rcp
- Organization: Eclipse
- User-agent: NewsPortal/0.36 (http://florian-amrhein.de/newsportal)
Hi,
I've searched enough to find a solution for this particular issue, all in
waste.
Here's the situation I'm facing now.
I have two projects in Eclipse, lets say :
com.test.PluginProject (plugin project)
com.test.JavaProject (java project)
PluginProject has the business logic and JavaProject is dependant on
PluginProject. Everything works pretty much fine, except for, there are
some folders in the JavaProject which I'm not able to get a handle to,
when I launch the plugin for testing.
com.test.PluginProject -- depends on
com.test.JavaProject
-- Folder
-- Sub-Folder1
-- Sub-Folder2
-- Internal-Folder1
-- Internal0Folder2
I want to browse through the contents of the folder and subfolders and
internal folders.
this.getClassloader().getResource()
gets the URL (Absolute), but since my launched application I won't be able
to create a file object.
Any lead on this one will be helpful. I'm not sure if this is the right
approach, suggestions to do it right way much appreciated.
Thanks,
/G