I have created my custom Model Listener for Social Office Calendar as this thread suggests but when trying to extend my plugin the build fails and the reason is that the target "compile-java" does not exist in the project.
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".
Does this have to do with the build-common-plugin-ext.xml or I should have followed another procedure for implementing a custom model listener in social office calendar?
Note: I have extended successfully other social office plugins(chat-portlet, contacts etc.) with the same build file(build-common-plugin-ext.xml) but in those cases I didn't add a custom Java class like now with the model listener.