>> I see, so looking if there is a
src/main/webapp/WEB-INF/portlet.xml file in the project would work, right?
>
> That is a better approach yes, but what do you expect to happen when such file is
found ?
>
> Just doing "nothing" seems wrong. Maybe a dialog showing some explanation
?
>
> Any suggestion on what this would say ?
>
> Maybe something like "It looks like this project is a portlet and thus a proper
URL cannot be calculated. Instead go to <something?> to find your page" ?
After discussing this with Thomas, we agree that some text would be OK. We will propose
some wording.
Another question is if it would be possible to have a per-project configurable URL?
Well, we got a basis today that is <hostname of server you are
running>:<webport>/<contextroot> + <whatever the current selection
"resolves to">
What kind of url are we talking here ? If just something like /myportlet/somename then try
just setting the contextroot (its in project preferences) and if it works you can actually
set this via some maven properties
and m2e will apply them so it will "just work" today.
Unfortunately there is no universal <something?> that would
work for every portlet project.
By something I meant "that place in portlet UI where you can see and test your
portlets" - I don't recall where it is though. its been mentioned before as the
only place
where you can actually see a list or just a view of the porlets.
/max