欢迎来到天天文库
浏览记录
ID:1121563
大小:834.55 KB
页数:19页
时间:2017-11-07
《liferay portal 6.1源码导入到eclipse》由会员上传分享,免费在线阅读,更多相关内容在应用文档-天天文库。
1、LiferayPortal6.1源码部署到eclipsecontribute:湖北红安shimanandate:2012/9/26一:下载文件。进入网站http://www.liferay.com/downloads/liferay-portal/available-releases,下载文件:1、BundledwithTomcat下载地址:http://sourceforge.net/projects/lportal/files/Liferay%20Portal/6.1.1%20GA2/liferay-portal-tomcat-6.1.1-ce-ga2-20120731132
2、656558.zip/download对应文件:liferay-portal-tomcat-6.1.1-ce-ga2-20120731132656558.zip2、PortalSource下载地址:http://sourceforge.net/projects/lportal/files/Liferay%20Portal/6.1.1%20GA2/liferay-portal-src-6.1.1-ce-ga2-20120731132656558.zip/download对应文件:liferay-portal-src-6.1.1-ce-ga2-20120731132656558.zi
3、p3、PluginsSdk下载地址:http://sourceforge.net/projects/lportal/files/Liferay%20Portal/6.1.1%20GA2/liferay-plugins-sdk-6.1.1-ce-ga2-20120731132656558.zip/download对应文件:liferay-plugins-sdk-6.1.1-ce-ga2-20120731132656558.zip4、LiferayIDE1.6.0下载地址:http://sourceforge.net/projects/lportal/files/Liferay%20
4、IDE/1.6.0/eclipse_Liferay_IDE_1.6.0.v201207162359-win32.zip/download对应文件:eclipse_Liferay_IDE_1.6.0.v201207162359-win32.zip二、安装准备工作(此部分请参考网上有详细教程)1、jdk安装及环境搭建下载地址:http://download.oracle.com/otn-pub/java/jdk/7u7-b11/jdk-7u7-windows-i586.exe,下载文件jdk-7u7-windows-i586.exe,双击安装,我安装路径为:D:Javajdk1.
5、7.0_07,设置环境变量:JAVA_HOME为:D:Javajdk1.7.0_07,path中添加:%JAVA_HOME%bin;CLASSPATH为:.;%JAVA_HOME%libdt.jar;%JAVA_HOME%libtoos.jar;2、ant安装及环境搭建下载地址:http://www.apache.org/dist/ant/binaries/apache-ant-1.8.4-bin.zip下载文件:apache-ant-1.8.4-bin.zip,后解压,我解压到D:apache-ant-1.8.4,设置环境变量:ANT_HOME为D:apach
6、e-ant-1.8.4,path中添加:%ANT_HOME%bin;%ANT_HOME%lib3、安装mysql(略),请从网上查找相关资料。三、eclipseide及liferaysdk安装1、新建文件夹D:liferay,这个文件夹将作为liferay安装的根文件夹,所有涉及到liferay的操作将都在改文件夹下进行。解压eclipse_Liferay_IDE_1.6.0.v201207162359-win32.zip,放在D:liferay下面,文件夹结构为:D:liferayeclipse,效果图如下:图1双击eclipse.exe运行,进入eclipse界面
7、,单击Windows->Preferences,选择Liferay->installedPluginSDKs,下图:图2单击上图中Add…按钮,出现下图,填写sdk的location和name,文件夹D:liferayliferay-plugins-sdk-6.1.1为前面下载的文件liferay-plugins-sdk-6.1.1-ce-ga2-20120731132656558.zip解压后,所放置位置。图3单击ok按钮,进行sdk插件安装。四、导入liferay6.1源
此文档下载收益归作者所有