正如该线程所建议的那样,我已经为社交办公室日历创建了自定义模型侦听器,但是当尝试扩展我的插件时,构建失败,原因是项目中不存在目标“compile-java”。
BUILD FAILED
C:\devel\fishnet\liferay-fishnet-project-6-2\liferay-plugins-sdk-6.2\build-common-plugin-ext.xml:66: The following error occurred while executing this line:
C:\devel\fishnet\liferay-fishnet-project-6-2\liferay-plugins-sdk-6.2\build-common-plugin-ext.xml:347: The following error occurred while executing this line:
Target "compile-java" does not exist in the project "calendar-new-portlet".
这是否与 build-common-plugin-ext.xml 有关,或者我应该遵循另一个程序在社交办公室日历中实现自定义模型侦听器?
注意:我已经使用相同的构建文件(build-common-plugin-ext.xml)成功扩展了其他社交办公插件(聊天门户、联系人等),但在这些情况下,我没有像现在这样添加自定义 Java 类与模型侦听器。