Fórum

Maven portlet: My portlet is running from temp folder, why?

Pablo M Mino, modificado 14 Anos atrás.

Maven portlet: My portlet is running from temp folder, why?

Regular Member Postagens: 135 Data de Entrada: 02/10/09 Postagens Recentes
Hi,

I made a portlet with jsf, spring, hibernate and maven, when the portlet runs the ApplicationContext sets the web app root to the temp folder, instead to the one in webapps

I've created the same portlet with Plugins SDK and that doesn't happen

So my guess is Plugins SDK does something specific that tells LR how to deploy correctly the portlet, and I'm not doing that on my maven antrun

Can someone help me plz?

Also it doesn't recognize the category correctly, I assume it's the same reason but that's not so urgent

P.S.: moved this from development to see if I could get better results here emoticon
atul patel, modificado 14 Anos atrás.

RE: Maven portlet: My portlet is running from temp folder, why?

Regular Member Postagens: 192 Data de Entrada: 18/11/06 Postagens Recentes
Take a look at the deployed web.xml for both versions. Is there anything different about the configured listeners?
Pablo M Mino, modificado 14 Anos atrás.

RE: Maven portlet: My portlet is running from temp folder, why?

Regular Member Postagens: 135 Data de Entrada: 02/10/09 Postagens Recentes
Both files are exactly the same, didn't knew Liferay add so many things to them btw...
Pablo M Mino, modificado 14 Anos atrás.

RE: Maven portlet: My portlet is running from temp folder, why?

Regular Member Postagens: 135 Data de Entrada: 02/10/09 Postagens Recentes
Pablo M Mino:

Also it doesn't recognize the category correctly, I assume it's the same reason but that's not so urgent


Found that my maven is not transforming the liferay-plugin-package.properties to .xml which might solve the problem quoted, I'm not adding any lib from that file anyway

How can I tell my maven-ant-run to create that?

P.S: this means my app is still running from temp, plz help
Pablo M Mino, modificado 14 Anos atrás.

RE: Maven portlet: My portlet is running from temp folder, why?

Regular Member Postagens: 135 Data de Entrada: 02/10/09 Postagens Recentes
I'm a newbie at deploying.... I really need a hand

There must be someone who already created a portlet as a full project with maven