[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.rcp] Re: How To Access Folders When Testing Plugins
|
I answered this question in eclipse.newcomer.
Wayne
On Tue, 2008-05-13 at 10:57 +0000, Exquisitus wrote:
> 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
>