b v j 14 年之前 I have a well structured build process in 5.2 that utilizes the Service Builder tooling against generated EXT images. The extended db and SOAP services behave well, and properly support plugins that utilize the EXTed services. My EXT project configuration also supports the upgrade process that follows the db upgrade patterns implemented in the kernel. The EXT framework has proven to be a reliable and robust feature of Liferay 5.xWith 6.x, I'm concerned that I lose the level of extensibility intregration available in 5.2. It's not a matter of adapting my ant tooling to the 6.x configuration, it's a question of limitations in 6.x plugins that are not present in 5.2 EXT.Prior to using the Service Builder in EXT, I tried adding services via the 5.x plugins framework. I recall problems with invalid db sessions related to thread contexts, and schema management issues that made the plugin approach unattractive in comparison to the EXT option. 1) Is it necessary to drop the EXT framework?2) Will the Service Builder tooling be fully supported in 6.x?3) Will we be able to hook into the upgrade process as possible in EXT?4) Will tests be performed to validate DB schema extensions and the wire services extensions such as SOAP and JSON? Will the tests be available to the community?5) Does portal-ext.properties serve any purpose in 6.x?Related forum thread: http://www.liferay.com/community/forums/-/message_boards/message/4533829 请登录以投票。 以……回复 取消 Ed Shin b v j 14 年之前 b v j, will respond to your questions in the forum thread. 请登录以投票。 以……回复 取消 Srikanth Reddy Ed Shin 13 年之前 hi,can any one help me with this .. i got this error when i tried to use this command::ant build-services BUILD FAILEDTarget "build-services" does not exist in the project "ext".and also got this error when i used the above command to run DBBuilderie..ant build-dbbuild-db: [echo] [echo] . [echo] [echo] WARNING: Support for ServiceBuilder in EXT plugins will be deprecated in future [echo] versions. EXT plugins are designed to override the portal's core code that [echo] cannot be done with hooks, layout templates, portlets, or themes. EXT plugins [echo] are not meant to contain new custom services. Please migrate your service.xml to [echo] a portlet plugin. [echo]BUILD FAILED,i tried to find build-parent.xml file in ext-impl,but i didnt see any such thing there ,Can anyone let me know,how are we suppose to generate Service builder and Db builber 请登录以投票。 以……回复 取消 Srikanth Reddy Ed Shin 13 年之前 and also what exactly the above given sentence mean: Both build-service (ServiceBuilder) and build-db (DBBuilder) have been ported to EXT Plugins to allow developers to regenerate their services and SQL code in EXT Plugins: 请登录以投票。 以……回复 取消 simon tuffle Srikanth Reddy 13 年之前 hi Srikanth,just go and find at (plugins\themes)what is exactly in the build-common-theme.xml either "service" or "services" and then run ant command. Ex:ant build-{service or services}. I think it will resolve.Rgds 请登录以投票。 以……回复 取消 Srikanth Reddy simon tuffle 13 年之前 Hi simon, thank you verymuch ,yes there is some mistake ,it printed as Services ,but when i gave the command service ,its working Thank you very much 请登录以投票。 以……回复 取消
Ed Shin b v j 14 年之前 b v j, will respond to your questions in the forum thread. 请登录以投票。 以……回复 取消 Srikanth Reddy Ed Shin 13 年之前 hi,can any one help me with this .. i got this error when i tried to use this command::ant build-services BUILD FAILEDTarget "build-services" does not exist in the project "ext".and also got this error when i used the above command to run DBBuilderie..ant build-dbbuild-db: [echo] [echo] . [echo] [echo] WARNING: Support for ServiceBuilder in EXT plugins will be deprecated in future [echo] versions. EXT plugins are designed to override the portal's core code that [echo] cannot be done with hooks, layout templates, portlets, or themes. EXT plugins [echo] are not meant to contain new custom services. Please migrate your service.xml to [echo] a portlet plugin. [echo]BUILD FAILED,i tried to find build-parent.xml file in ext-impl,but i didnt see any such thing there ,Can anyone let me know,how are we suppose to generate Service builder and Db builber 请登录以投票。 以……回复 取消 Srikanth Reddy Ed Shin 13 年之前 and also what exactly the above given sentence mean: Both build-service (ServiceBuilder) and build-db (DBBuilder) have been ported to EXT Plugins to allow developers to regenerate their services and SQL code in EXT Plugins: 请登录以投票。 以……回复 取消 simon tuffle Srikanth Reddy 13 年之前 hi Srikanth,just go and find at (plugins\themes)what is exactly in the build-common-theme.xml either "service" or "services" and then run ant command. Ex:ant build-{service or services}. I think it will resolve.Rgds 请登录以投票。 以……回复 取消 Srikanth Reddy simon tuffle 13 年之前 Hi simon, thank you verymuch ,yes there is some mistake ,it printed as Services ,but when i gave the command service ,its working Thank you very much 请登录以投票。 以……回复 取消
Srikanth Reddy Ed Shin 13 年之前 hi,can any one help me with this .. i got this error when i tried to use this command::ant build-services BUILD FAILEDTarget "build-services" does not exist in the project "ext".and also got this error when i used the above command to run DBBuilderie..ant build-dbbuild-db: [echo] [echo] . [echo] [echo] WARNING: Support for ServiceBuilder in EXT plugins will be deprecated in future [echo] versions. EXT plugins are designed to override the portal's core code that [echo] cannot be done with hooks, layout templates, portlets, or themes. EXT plugins [echo] are not meant to contain new custom services. Please migrate your service.xml to [echo] a portlet plugin. [echo]BUILD FAILED,i tried to find build-parent.xml file in ext-impl,but i didnt see any such thing there ,Can anyone let me know,how are we suppose to generate Service builder and Db builber 请登录以投票。 以……回复 取消
Srikanth Reddy Ed Shin 13 年之前 and also what exactly the above given sentence mean: Both build-service (ServiceBuilder) and build-db (DBBuilder) have been ported to EXT Plugins to allow developers to regenerate their services and SQL code in EXT Plugins: 请登录以投票。 以……回复 取消 simon tuffle Srikanth Reddy 13 年之前 hi Srikanth,just go and find at (plugins\themes)what is exactly in the build-common-theme.xml either "service" or "services" and then run ant command. Ex:ant build-{service or services}. I think it will resolve.Rgds 请登录以投票。 以……回复 取消 Srikanth Reddy simon tuffle 13 年之前 Hi simon, thank you verymuch ,yes there is some mistake ,it printed as Services ,but when i gave the command service ,its working Thank you very much 请登录以投票。 以……回复 取消
simon tuffle Srikanth Reddy 13 年之前 hi Srikanth,just go and find at (plugins\themes)what is exactly in the build-common-theme.xml either "service" or "services" and then run ant command. Ex:ant build-{service or services}. I think it will resolve.Rgds 请登录以投票。 以……回复 取消 Srikanth Reddy simon tuffle 13 年之前 Hi simon, thank you verymuch ,yes there is some mistake ,it printed as Services ,but when i gave the command service ,its working Thank you very much 请登录以投票。 以……回复 取消
Srikanth Reddy simon tuffle 13 年之前 Hi simon, thank you verymuch ,yes there is some mistake ,it printed as Services ,but when i gave the command service ,its working Thank you very much 请登录以投票。 以……回复 取消
Sandeep Nair 14 年之前 Awesome work 请登录以投票。 以……回复 取消 Edward Shin Sandeep Nair 14 年之前 Thanks! Credit should go to Tomas (IBA, CZ) and Brian though. =) 请登录以投票。 以……回复 取消
Edward Shin Sandeep Nair 14 年之前 Thanks! Credit should go to Tomas (IBA, CZ) and Brian though. =) 请登录以投票。 以……回复 取消
Sampsa Sohlman 14 年之前 I saw that this is also included to Liferay 5.2 SP3. Is the plugin mature enough on to use on 5.2 SP3 instead of old ext. 请登录以投票。 以……回复 取消 Edward Shin Sampsa Sohlman 14 年之前 For overriding core classes and anything within the portal source code, the plugin is mature enough to use. If you're just starting to use EXT Plugins, as mentioned above, do not use it to create custom services. 请登录以投票。 以……回复 取消
Edward Shin Sampsa Sohlman 14 年之前 For overriding core classes and anything within the portal source code, the plugin is mature enough to use. If you're just starting to use EXT Plugins, as mentioned above, do not use it to create custom services. 请登录以投票。 以……回复 取消
Xinsheng Robert Chen 13 年之前 Hi, Edward,I have some problem with the ext environment upgrade in Liferay 6.0.11. It is like this:(1)C:\aproject\workspace\liferay-plugins-sdk-6.0-ee-sp1\ext>ant upgrade-ext -Dext.dir=C:/aproject/downloads/LR6EE-CA/trunk/ext -Dext.name=bprjct -Dext.display.name=bprjct...BUILD FAILEDC:\aproject\workspace\liferay-plugins-sdk-6.0-ee-sp1\ext\build.xml:6:The following error occurred while executing this line:C:\aproject\workspace\liferay-plugins-sdk-6.0-ee-sp1\build-common-plugins.xml:4: The following error occurred while executing this line:C:\aproject\workspace\liferay-plugins-sdk-6.0-ee-sp1\build-common.xml:72: .Task cannot continue because ECJ is not installed.ECJ was automatically installed. Please rerun your task.(2) Now I re-run the command:C:\aproject\workspace\liferay-plugins-sdk-6.0-ee-sp1\ext>ant upgrade-ext -Dext.dir=C:/aproject/downloads/LR6EE-CA/trunk/ext -Dext.name=bprjct -Dext.display.name=bprjctBuildfile: C:\aproject\workspace\liferay-plugins-sdk-6.0-ee-sp1\ext\build.xmlupgrade-ext:create:BUILD FAILEDC:\aproject\workspace\liferay-plugins-sdk-6.0-ee-sp1\ext\build.xml:79: The following error occurred while executing this line:C:\aproject\workspace\liferay-plugins-sdk-6.0-ee-sp1\ext\build.xml:31: bprjct-ext already exists.Total time: 3 secondsThe fact is the "bprjct-ext/" directory is not there. However, I cannot go on anymore.Has anybody had a similar problem?Thanks! 请登录以投票。 以……回复 取消 Elena Fernandez Xinsheng Robert Chen 13 年之前 I'm having the same problem. Did you finally find a solution for it? 请登录以投票。 以……回复 取消 Xinsheng Robert Chen Elena Fernandez 13 年之前 Hi, Elena,Please try to download the Plugins SDK for Liferay 6.0 SP1 again and try. 请登录以投票。 以……回复 取消
Elena Fernandez Xinsheng Robert Chen 13 年之前 I'm having the same problem. Did you finally find a solution for it? 请登录以投票。 以……回复 取消 Xinsheng Robert Chen Elena Fernandez 13 年之前 Hi, Elena,Please try to download the Plugins SDK for Liferay 6.0 SP1 again and try. 请登录以投票。 以……回复 取消
Xinsheng Robert Chen Elena Fernandez 13 年之前 Hi, Elena,Please try to download the Plugins SDK for Liferay 6.0 SP1 again and try. 请登录以投票。 以……回复 取消
Henry Zhao 13 年之前 Hi,I have an Liferay 5.2.3 EXT environment that I ran the upgrade to make it a Liferay 6 EXT Plugin, without including the source code for com.ext and com.liferay.portal.service packages from 5.2.3. When I deploy, I got the following error: WARN [PortletLocalServiceImpl:553] Portlet with the name 51 is described in liferay-portlet.xml but does not have a matching entry in portlet.xml ERROR [PortletBagFactory:118] java.lang.ClassNotFoundException: com.ext.portlet.reports.ReportsPortletDo I need to include the old com.ext package from 5.2.3 to build, or is there a equivalent jar in Liferay 6?Thanks! 请登录以投票。 以……回复 取消
(你) 12 年之前 [...] We should not build any services inside the EXT as of Liferay 6.0. The following link may help you understand more about EXT-plugins and how they are different from the previous EXT-environment:... [...] Read More 请登录以投票。 以……回复 取消