Forums

Home » Liferay IDE » English

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Sofien Jamel
Clone of asset publisher portlet
August 6, 2012 1:04 AM
Answer

Sofien Jamel

Rank: New Member

Posts: 6

Join Date: August 4, 2011

Recent Posts

Hi,
I've spent 4 days to get a solution for importing the existing asst publisher portlet within Eclipse and re-deploy it after changing the name and the Id .
Could anybody help me on this ? ,I need just to import existing asset publisher and re-deploy it again using Eclipse .

Regards,
Jignesh Vachhani
RE: Clone of asset publisher portlet
August 6, 2012 1:14 AM
Answer

Jignesh Vachhani

Rank: Liferay Master

Posts: 783

Join Date: March 10, 2008

Recent Posts

Hi Sofien,

Existing asset publisher portlet is developed on strut base application.
So you can create separate struts plugin portlet and then apply complete configuration from liferay-portlet.xml,portlet.xml,stuts-config.xml,tiles-def.xml .
Also take the complete bunch of jsp from tomcat location (i.e. liferay-portal-6.1.0-ce-ga1\tomcat-7.0.23\webapps\ROOT\html\portlet\asset_publisher).
Also copy all the java classes and proper packages and put it into newly created plugin.
Most probably this much code you may need to copy and need to put on proper place in new portlet code.
Sofien Jamel
RE: Clone of asset publisher portlet
August 6, 2012 1:33 AM
Answer

Sofien Jamel

Rank: New Member

Posts: 6

Join Date: August 4, 2011

Recent Posts

Thank you Jignesh ,
I'm happy to read you reply .I will check and let you know .

Regards,

Sofien