Fórum

Add custom portlet to src of portal 6.0.6

Yegor Bondar, modificado 12 Anos atrás.

Add custom portlet to src of portal 6.0.6

New Member Postagens: 21 Data de Entrada: 23/08/11 Postagens Recentes
Good day!
I have some questions about deploy portal from "box".
How add custom portlet to src of portal than its compile and deploy with other portal portlets?
Where place programmatically creation of layouts and pages of portal?
thumbnail
David H Nebinger, modificado 12 Anos atrás.

RE: Add custom portlet to src of portal 6.0.6

Liferay Legend Postagens: 14919 Data de Entrada: 02/09/06 Postagens Recentes
Yegor, you really don't want to mess around w/ the Liferay portal source. Doing this will lock you into one specific version of Liferay or at least make upgrades very difficult.

Instead look into the plugin development. You can do themes, layouts, and portlets outside of the Liferay source and won't have any of these other issues.
thumbnail
Pranay R Patadiya, modificado 12 Anos atrás.

RE: Add custom portlet to src of portal 6.0.6

Regular Member Postagens: 177 Data de Entrada: 23/02/10 Postagens Recentes
Hi,
You should go with Plug In development, please refer bellow links for the same:
1) Liferay Plugin Guide
2) Liferay Plugin Blog

Let me know if you want anything more.

Thanks,
Pranay
Yegor Bondar, modificado 12 Anos atrás.

RE: Add custom portlet to src of portal 6.0.6

New Member Postagens: 21 Data de Entrada: 23/08/11 Postagens Recentes
I work with plugins and Liferay SDK and also with portal src.
But we should give projects to our customer. And customer doesn`t have SDK.
How auto deploy our portlets with portal from src of portal?
thumbnail
Sagar A Vyas, modificado 12 Anos atrás.

RE: Add custom portlet to src of portal 6.0.6

Liferay Master Postagens: 679 Data de Entrada: 17/04/09 Postagens Recentes
Yegor Bondar:
I work with plugins and Liferay SDK and also with portal src.
But we should give projects to our customer. And customer doesn`t have SDK.
How auto deploy our portlets with portal from src of portal?


Hi Yeugor,

Which application server uses your customer ?

You dont need to add your portlet in LIferay Portal SRC .
As David mention it would be not good practice to do same.

You can probably use hot deployment concept.

Thanks,
Sagar Vyas
thumbnail
Hitoshi Ozawa, modificado 12 Anos atrás.

RE: Add custom portlet to src of portal 6.0.6

Liferay Legend Postagens: 7942 Data de Entrada: 24/03/10 Postagens Recentes
You don't need SDK to deploy your portlet.
Keep Liferay shutdown when you deploy your portlet from source. This should create a *.war file in the Liferay deploy directory.
Just deploy this *.war file at your customer site. Liferay will hot deploy it if it's running or it will deploy it the next time Liferay is
startup if it is not running.
thumbnail
David H Nebinger, modificado 12 Anos atrás.

RE: Add custom portlet to src of portal 6.0.6

Liferay Legend Postagens: 14919 Data de Entrada: 02/09/06 Postagens Recentes
Yegor Bondar:
I work with plugins and Liferay SDK and also with portal src.
But we should give projects to our customer. And customer doesn`t have SDK.
How auto deploy our portlets with portal from src of portal?


When you build using the SDK, a war file will be created in the {SDK}/dist directory. That war file can be deployed to the customer's Liferay instance by dropping it into their {LIFERAY}/deploy folder.