Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Completed
-
Affects Version/s: 6.0.0 Preview
-
Fix Version/s: 6.0.6 GA
-
Component/s: Tools > Service Builder
-
Labels:None
-
Environment:tomcat 6.0.24, linux
-
Similar Issues:
Description
From within pluginSDK/portlet environment when build-service target is started from a portlet, it generates everything properly except those model interfaces
com.liferay.whatever.model.BookReportsEntry; < - this is missing - the entire package
com.liferay.whatever.model.impl.BookReportsEntryImpl; <- this is generated
Could please anybody tell my what is going on ?

Don't look at the names of classes, instead of book there is recipe
~/workspace/liferay-stable/portal-svn/plugins/portlets/recipe-manager-portlet$ ant build-service
Buildfile: /home/lisak/workspace/liferay-stable/portal-svn/plugins/portlets/recipe-manager-portlet/build.xml
build-service:
[mkdir] Created dir: /home/lisak/workspace/liferay-stable/portal-svn/plugins/portlets/recipe-manager-portlet/docroot/WEB-INF/classes
[copy] Copied 9 empty directories to 5 empty directories under /home/lisak/workspace/liferay-stable/portal-svn/plugins/portlets/recipe-manager-portlet/docroot/WEB-INF/classes
[java] Loading jar:file:/opt/aaa/liferay-portal-6.0.0/at-2/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/system.properties
[java] Loading jar:file:/opt/aaa/liferay-portal-6.0.0/at-2/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/portal.properties
[java] Loading jar:file:/opt/aaa/liferay-portal-6.0.0/at-2/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/com/liferay/portal/tools/dependencies/portal-tools.properties
[java] 00:53:27,823 INFO [PortalImpl:258] Global lib directory /opt/aaa/liferay-portal-6.0.0/at-2/lib/ext/
[java] 00:53:27,844 INFO [PortalImpl:278] Portal lib directory /opt/aaa/liferay-portal-6.0.0/at-2/webapps/ROOT/WEB-INF/lib/
[java] Building RecipeReportsEntry
[java] Writing docroot/WEB-INF/service/com/liferay/recipeManager/model/RecipeReportsEntryWrapper.java
[mkdir] Created dir: /home/lisak/workspace/liferay-stable/portal-svn/plugins/portlets/recipe-manager-portlet/docroot/WEB-INF/service-classes
[delete] Deleting: /home/lisak/workspace/liferay-stable/portal-svn/plugins/portlets/recipe-manager-portlet/docroot/WEB-INF/lib/recipe-manager-portlet-service.jar
[javac] Compiling 19 source files to /home/lisak/workspace/liferay-stable/portal-svn/plugins/portlets/recipe-manager-portlet/docroot/WEB-INF/service-classes
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[zip] Building zip: /home/lisak/workspace/liferay-stable/portal-svn/plugins/portlets/recipe-manager-portlet/docroot/WEB-INF/lib/recipe-manager-portlet-service.jar
[delete] Deleting directory /home/lisak/workspace/liferay-stable/portal-svn/plugins/portlets/recipe-manager-portlet/docroot/WEB-INF/service-classes
BUILD SUCCESSFUL