我使用 Liferay 6 并结合 Struts2。
我正在使用 Liferay Bundled Tomcat 7。
它工作正常。
我的问题是,每当资源(portlet.xml 或 java 文件)发生更改以及单击 build.xml 时,部署都会花费大量时间。
请告诉我如何减少部署时间
INFO: Server startup in 60602 ms
14:04:00,328 INFO [AutoDeployDir:167] Processing HelloStruts2-portlet-6.0.6.1.war
14:04:00,375 INFO [PortletAutoDeployListener:71] Copying portlets for E:\liferaytomcat\liferay-portal-6.1.0-ce-b4\deploy\HelloStruts2-portlet-6.0.6.1.war
14:04:00,484 INFO [PortletAutoDeployListener:81] Portlets for E:\liferaytomcat\liferay-portal-6.1.0-ce-b4\deploy\HelloStruts2-portlet-6.0.6.1.war copied successfully. Deployment will start in a few seconds.
此行之后服务器花费了很多时间
在最新版本中,JRebel 包含了一些 Liferay 特定的集成,因此它现在工作得更加流畅http://www.liferay.com/community/projects/jrebel/overview http://www.liferay.com/community/projects/jrebel/overview
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)