deprecated API question (ProjectRootManager.getFullClassPath)

Hello,

i'm trying to get the scrappy plugin to work under idea 4.0. The code-owner made it open, because he/she no longer develop this plugin.

Inside the code i found a part that is deprecated now. In the deprecated list of the open api javadoc i did not found which method i should use instead.

Here is the trouble maker:

VirtualFile[] ProjectRootManager.getFullClassPath()

Thanks in advance, Leif

1 comment
Comment actions Permalink

Try this:

ModuleRootManager mrm = ModuleRootManager.getInstance(module);
VirtualFile dirs[] = mrm.getFiles(OrderRootType.COMPILATION_CLASSES);

"Hanack" <no_mail@jetbrains.com> wrote in message
news:25503965.1081625767587.JavaMail.itn@is.intellij.net...

Hello,

>

i'm trying to get the scrappy plugin to work under idea 4.0. The

code-owner made it open, because he/she no longer develop this plugin.
>

Inside the code i found a part that is deprecated now. In the deprecated

list of the open api javadoc i did not found which method i should use
instead.
>

Here is the trouble maker:

>

VirtualFile[] ProjectRootManager.getFullClassPath()

>

Thanks in advance, Leif



0

Please sign in to leave a comment.