简体   繁体   中英

How to create liferay-portal-src-6.1.1-ce-ga2 in Eclipse

This might sound a bit silly, but I want to create an Eclipse project for liferay-portal-src-6.1.1-ce-ga2 . But I have no idea what type of project should I choose this to be under Eclipse. I actually want to make some changes in ThemeDisplay.java which is under 'portal-service' (path - C:/liferay-portal-src-6.1.1-ce-ga2/portal-service/) folder and re-create the portal-service jar. How am I supposed to achieve it?

First, you can simply import liferay-portal-src-6.1.1-ce-ga2 in Eclipse, since it has .project file.

Second, to change ThemeDisplay.java it is better to use ext-plugin, since it allows to override Liferay core classes. You can read more about it here

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM