[jbosstools-dev] Showing no URL after deploying a Portlet project

Peter Palaga ppalaga at redhat.com
Thu Jan 17 10:56:48 EST 2013


On 2013-01-17 14:09, Max Rydahl Andersen wrote:
> 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.

This is very relevant. Thanks. The m2eclipse.wtp.contextRoot property in 
pom.xml could be an acceptable solution. I have just tested it and it 
works. I'd set it to

   <m2eclipse.wtp.contextRoot>/portal/classic</m2eclipse.wtp.contextRoot>

in all portlet quickstarts and comment it properly. WDYT, Thomas?

-- PP


More information about the jbosstools-dev mailing list