Fórum

Unwanted "-portlet" suffix when deploying with Eclipse IDE

Bernd Hofmann, modificado 9 Anos atrás.

Unwanted "-portlet" suffix when deploying with Eclipse IDE

New Member Postagens: 2 Data de Entrada: 20/07/12 Postagens Recentes
Hallo,
I recently switched to the newest Eclipse Liferay IDE based on Eclipse Luna (mainly to have 64bit support).

I'm suffering from the feature that the Liferay Plugin adds an unwanted suffix "-portlet" to the deployment artifacts, when it publish them to the server. With the previous version of the Liferay IDE I used, this did not happen.
The project is not a Maven project and the web context does not have the suffix "-portlet".

Is there a chance to get the previous behaviour back, that the portlet projects are deployed "as is" ?

Thanks in advance,
Bernd Hofmann
thumbnail
David H Nebinger, modificado 9 Anos atrás.

RE: Unwanted "-portlet" suffix when deploying with Eclipse IDE

Liferay Legend Postagens: 14916 Data de Entrada: 02/09/06 Postagens Recentes
Sometimes hot deploy only works when the plugin extension type is included. We had problems, for example, under tcat when deploying plugins that did not include "-portlet" at the end. YMMV, but the current recommendation is to leave them in place.
Bernd Hofmann, modificado 9 Anos atrás.

RE: Unwanted "-portlet" suffix when deploying with Eclipse IDE

New Member Postagens: 2 Data de Entrada: 20/07/12 Postagens Recentes
Thanks for the quick answer emoticon

I'll definitly keep your recommendation in mind when I'm going to set up a new portlet project.
Is there any kind of work-around to get my current projects deployed without the suffix?
thumbnail
David H Nebinger, modificado 9 Anos atrás.

RE: Unwanted "-portlet" suffix when deploying with Eclipse IDE

Liferay Legend Postagens: 14916 Data de Entrada: 02/09/06 Postagens Recentes
Not sure. I never build in eclipse since my build server uses maven, I too use maven to get the same sort of result. For that, I control name using the finalName tag. That may actually work for eclipse also, but I haven't tried it myself.