javablog.com
域名年龄: 23年8个月19天HTTP/1.1 200 OK 服务器:Apache-Coyote/1.1 X-Content-Type-Options: nosniff X-Frame-Options: SAMEORIGIN 网站XSS保护:1 设置Cookie:JSESSIONID=617F80B2CE73B483A49B66B4D5102B64; Path=/; HttpOnly Content-Encoding: gzip 设置Cookie:COOKIE_SUPPORT=true; Expires=Sun, 18-Dec-2061 13:49:03 GMT; Path=/; HttpOnly 设置Cookie:GUEST_LANGUAGE_ID=en_US; Expires=Sun, 18-Dec-2061 13:49:03 GMT; Path=/; HttpOnly Liferay-Portal: Liferay Portal Community Edition 设置Cookie:GUEST_LANGUAGE_ID=en_US; Expires=Sun, 18-Dec-2061 13:49:03 GMT; Path=/; HttpOnly 设置Cookie:COOKIE_SUPPORT=true; Expires=Sun, 18-Dec-2061 13:49:03 GMT; Path=/; HttpOnly 类型:text/html;charset=UTF-8 Transfer-Encoding: chunked 访问时间:2015年05月06日 19:06:55 网站编码:UTF-8
JavaBlog Sign In Search Search RSS (Opens New Window) Working with Liferay 6.2+ and 7 Concurrently... tips and settings Published Date 3/3/15 9:54 AM Working with Liferay 6.2 and 7.0.0-m4 I've been recently working on stabilizing my themes for Liferay 7. Looking at what will change and making adjustments for the products so they are ready for market the moment that Liferay 7 is released (late summer?). This effort has made me more aware that most people or companies that develop the themes aren't thinking of the pain or pleasure that a new release of Liferay Portal will bring. Here are some tips and settings that I'm using to develop and test themes on Liferay 6.2 and 7 concurrently. Number #1: Liferay Maven Plugin This would be the official "other way" of building components for Liferay. In my experience, using the liferay maven plugin permits your project to adapt to enterprise level software tools quicker than the ant based Liferay SDK. Both are great for building liferay components, but maven can do so much more via off-the-shelf plugins like release software to nexus, minify css and javascript, deploy software to liferay, execute tests and so on... Using the liferay maven plugin is quite simple. Simply make sure maven is on your path and then bootstrap a project by typing in the following: ># mvn archetype:generate If you don't get results - you might be having a problem with your internet connection and/or your corporate proxy. Filter the results with liferay and you see 13 liferay plugin archetypes to choose from. By following the archetype wizard to its end, your new plugin is being bootstrapped to use the liferay maven plugin. A good way around your corporate proxy is to save the latest archetype catalog to your $HOME/.m2/archetype-catalog.xml directory then use it locally. ># cd $HOME/.m2 ># wget https://repo1.maven.org/maven2/archetype-catalog.xml (NOTE: if that in not stalled use curl) ># curl -o archetype-catalog.xml https://repo1.maven.org/maven2/archetype-catalog.xml Then when wanting to use the maven liferay plugin - execute the following command to get started: ># mvn archetype:generate -DarchetypeCatalog=local Number #2: Maven Profiles <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"> <profiles> <profile> <id>liferay-tomcat-62-ce</id> <properties> <tomcat.home>/Users/ben/Servers/Liferay/6.2-ce-ga3/tomcat-7.0.42</tomcat.home> <liferay.maven.plugin.version>6.2.10.10</liferay.maven.plugin.version> <liferay.version>6.2.10.10</liferay.version> <lif
© 2010 - 2020 网站综合信息查询 同IP网站查询 相关类似网站查询 网站备案查询网站地图 最新查询 最近更新 优秀网站 热门网站 全部网站 同IP查询 备案查询
2026-01-04 09:51, Process in 0.0061 second.