New web API

I'm trying to update the Orion plugin to use the new web integration API, but hav come across a rather irritating problem. It looks like it is no longer possible to get the webroot path...or am I missing something? Previously I could call webApp.getRootDirectory(), but I can't figure out the equivelant method in Module...any help?

2 comments

I'm not sure I understood this correctly, but it seems the webroot is the
root of the web module in the new structure. Once you declare a web module
there is no way to define the webroot somewhere else, it seems like they
intended them to be the same (web module root and webroot).

Maybe this thread can shed some light on the problem:
http://www.intellij.net/forums/thread.jsp?forum=22&thread=58626&tstart=0&trange=30

Still digging,
Andrei

"Hani Suleiman" <hani@formicary.net> wrote in message
news:20385696.1071008857636.JavaMail.javamailuser@localhost...

I'm trying to update the Orion plugin to use the new web integration API,

but hav come across a rather irritating problem. It looks like it is no
longer possible to get the webroot path...or am I missing something?
Previously I could call webApp.getRootDirectory(), but I can't figure out
the equivelant method in Module...any help?
>


0

Yay, very cool. It was the webapp tab that was causing all the problems. Who would have thought that enabling generic appserver support would activate all that functionality! The web stuff is still a complete mess, but it's a work in progress so that's ok I suppose.

Anyway, new version of orion plugin being uploaded shortly.

0

Please sign in to leave a comment.