Forums de discussion
Calendar API migrated to OSGi
juan meza, modifié il y a 7 années.
Calendar API migrated to OSGi
Regular Member Publications: 228 Date d'inscription: 06/01/14 Publications récentes
Hi, i have liferay 6.2 GA4, and im trying to migrate to liferay 7
im using the code upgrade tool
the error im getting is Calendar's API migrated to OSGi
but i cant find how to do this, how do i change the portlet to OSGi? how do i import the calendar module to my portlet? the upgrade tool only says "#Legacy" in the documentation change, so i dont know what to do next... i have a lot of this "#Legacy" errors, how do i correct them?
thank you!
im using the code upgrade tool
the error im getting is Calendar's API migrated to OSGi
but i cant find how to do this, how do i change the portlet to OSGi? how do i import the calendar module to my portlet? the upgrade tool only says "#Legacy" in the documentation change, so i dont know what to do next... i have a lot of this "#Legacy" errors, how do i correct them?
thank you!
juan meza, modifié il y a 7 années.
RE: Calendar API migrated to OSGi (Réponse)
Regular Member Publications: 228 Date d'inscription: 06/01/14 Publications récentes
Hi, to add the CalendarAPI to the migrated portlet, you have to migrate to workspace... and then add the dependencies to settings.gradle's dependencies section:
and to build.gradle's dependencys of your portlet:
classpath group: "com.liferay", name: "com.liferay.calendar.api", version: "2.0.2"
classpath group: "com.liferay", name: "com.liferay.calendar.service", version: "2.1.9"
and to build.gradle's dependencys of your portlet:
compileOnly group: "com.liferay", name: "com.liferay.calendar.api", version: "2.0.2"
compileOnly group: "com.liferay", name: "com.liferay.calendar.service", version: "2.1.9"