Liferay Installation Guide

If you have not already installed Liferay IDE view Liferay IDE Installation Guide for a detailed walk-through of installation.
Requirements before getting started
·         1. Liferay Portal 6.0 (RC2 or greater) downloaded and installed (or download in the IDE itself)
·         2. Liferay Plug-ins SDK 6.0 (RC2 or greater) downloaded and installed (or download in the IDE itself)
·         3. Eclipse Helios/Galileo Java EE for developers package - see the Liferay IDE Installation Guide for more information.
Note: earlier versions of Liferay, e.g. 5.x, are not supported yet by the Liferay IDE
Liferay Plug-ins SDK Setup
Before you can begin creating new Liferay plug-in projects, a Liferay Plug-ins SDK and Liferay Portal must be installed and configured in the IDE.
·         1. Open Eclipse with Liferay IDE installed.
·         2. Open Preference page for Liferay > Installed SDKs ( Go to Window > Preferences > Liferay > Installed SDKs )

·         3. If you have not already downloaded the Liferay Plug-ins SDK for your portal version you can download it from the sourceforge.net Liferay downloads page. Look for liferay-plugins-sdk-6.0.2.zip.
·         3a. An alternative to downloading yourself is using the "Download..." button on the Installed SDK page and it will automatically download and install the latest Liferay Plug-ins SDK for you.

·         4. If you did the "Download" option you can skip this step, if not, you will need to add your SDK using the Add button which brings up the Add SDK Dialog:

·         5. Browse to the location of your Plug-ins SDK installation.
·         6. The default name is the name of the directory but you can change it if you wish.
·         7. Select OK and you should see your SDK in the list of Installed SDKs.

Note: multiple SDKs can be added to the preferences but you will need to select at least one SDK to be the default which is represented by the SDK that has the checkbox selected.
Note: if you have version 6.0.4 of Liferay Portal and the Plugin SDK, you will need to change your build.properties file. The SDK plugin assumes you have installed the SDK at the same level (same directory) as the portal directory. In the line *app.server.dir=${project.dir}/../bundles/app_server_name of build.properties you have to change bundles with the name of the Liferay portal installation directory e.g. liferay-portal-6.0.4.
Otherwise, portlets created with the SDK plugin will not be deployed by Ant.
Liferay Portal Tomcat Runtime / Server Setup
·         1. In eclipse open the Runtime environments preference page (Go to Window > Preferences > Server > Runtime environments)

·         2. Click Add to add a new Liferay runtime and find Liferay v6 Tomcat under the Liferay, Inc. category and click Next.

·         3. If you have not already downloaded and installed a copy of the Liferay Portal Tomcat bundle then you can download the latest Liferay Portal Tomcat bundle by clicking the "Download and Install..." button within the wizard.

·         4. If you used the download option you can skip this step, if not, click Browse and select the location of the liferay-portal-6.0.2 directory.

·         5. Once you have selected the Liferay portal directory if it has a bundled JRE then that bundled JRE will be automatically selected as the JRE to use for launching the server. However, if there is no bundled JRE (Mac and Linux users) then you will need to select the JRE to use for launch.

·         6. Click finish and you should see the Liferay portal runtime in the list of runtimes in the preference page.

·         7. Click OK to save the runtime preferences.
·         8. If you didn't choose to create a server you will need to create one from the servers view before you can test the server.

·         9. Find the Liferay, Inc category and select the Liferay v6 Server and choose the Liferay v6 Runtime that you had previously created.

Setting the Console Encoding
This step is not necessary for Liferay IDE 1.5 and greater, see http://issues.liferay.com/browse/IDE-287
This steps are not necessary if Liferay is installed on an OS whose encoding is latin1 or UTF-8 (most US and European OS). Otherwise, it is necessary to specify the console encoding to properly display console messages.
·         1. Select "Run" - "Run Configuration..." from the Eclipse menu.
·         2. Select "Liferay v6.0 Server" from the menu.
·         3. Select the "Common" tab.
·         4. In the encoding section, select "Other" and "UTF-8". Select "Apply" - "Close". 

Testing the Liferay portal server
·         1. Go to the servers view and you should see the new server that was created. right click and choose "Start" or "Debug"

·         2. You should see messages appear in the Console view and once it starts, the servers view will update to show that it is "Started" and then, right-click the server and select the (Liferay Portal > Open Portal Home) action.

·         3. The eclipse browser should open to the portal home at http://localhost:8080

Create new Liferay Plug-in Project
·         1. Now that a SDK and portal server have been configured you can create a new Liferay plug-in project. Go to File > New Project... > Liferay > Liferay Plug-in Project

·         2. In the Liferay Plugin project wizard page, select the SDK and Liferay runtime and then select the plug-in type (portlet is default) and now you can create a new plug-in project, by clicking Finish.

·         3. If it worked you should see a new plugin project in the package explorer, so you are ready to begin Plugin Development.

87 comments:

  1. Hi, I am Victoria lives in Chennai. I am technology freak. I did Android mobile application development course in Chennai at reputed Android Training Institutes in Chennai, this is useful for me to make a bright career in IT industry. So If anyone want to get best Android Training in Chennai please visit fita academy.

    ReplyDelete
  2. Unix Training Chennai

    Thanks for sharing this informative blog. Suppose if anyone interested to learn Unix Course in Chennai, Please visit Fita Academy located at Chennai, Velachery.

    Regards....

    Unix Training Centers in Chennai

    ReplyDelete

  3. Nice article i was really impressed by seeing this article, it was very interesting and it is very useful for Learners.I get a lot of great information from this blog. Thank you for your sharing this informative blog.Android Training in chennai | Android Training chennai | Android course in chennai | Android course chennai

    ReplyDelete
  4. Thanks for sharing this valuable information to our vision. You have posted a trust worthy blog keep sharing. cloud computing training in chennai | cloud computing training chennai | cloud computing course in chennai | cloud computing course chennai

    ReplyDelete
  5. Data warehousing Training in Chennai
    I am reading your post from the beginning, it was so interesting to read & I feel thanks to you for posting such a good blog, keep updates regularly..

    ReplyDelete
  6. commission express reviews I wanted to thank you for this great read!! I definitely enjoying every little bit of it I have you bookmarked to check out new stuff you post.

    ReplyDelete
  7. This blog is impressive and informative.It clearly explains about the concept and its techniques.Thanks for sharing this information.Please update this type of information
    selenium Training in Chennai

    ReplyDelete
  8. Yeoman Training Yeoman Training D3 Training in CHennai D3 Training ReactJS Training in CHennai ReactJS Training | Gulp Training CommonJS Training in Chennai CommonJS Training

    ReplyDelete
  9. Corporate Training Companies in India Corporate Training Companies in India Corporate Training in Chennai Corporate Training in Chennai Corporate Training Companies in India Corporate Training Companies in India

    ReplyDelete
  10. Nice site, wonderful article . Thanks for your information and valuable time for me. it is really more meaningful and useful for me.
    Android Training in chennai

    ReplyDelete
  11. Excellent Tips.Continue sharing more like this. keeps sharing such an inspiring post like this. Authorized Dot Net training in chennai
    Dotnet developer

    ReplyDelete
  12. I have read a few of the articles on your website now, and I really like your style of blogging. I added it to my favourites blog site list and will be checking back soon.
    python training in chennai | python training in bangalore

    python online training | python training in pune

    python training in chennai | python training in bangalore

    python training in tambaram |

    ReplyDelete
  13. I always enjoy reading quality articles by an individual who is obviously knowledgeable on their chosen subject. Ill be watching this post with much interest. Keep up the great work, I will be back
    java training in omr

    java training in annanagar | java training in chennai

    java training in marathahalli | java training in btm layout

    java training in rajaji nagar | java training in jayanagar

    ReplyDelete
  14. This is an awesome post.Really very informative and creative contents. These concept is a good way to enhance the knowledge.I like it and help me to development very well.Thank you for this brief explanation and very nice information.Well, got a good knowledge.

    Hadoop Training in Chennai

    Hadoop Training in Bangalore

    Big data training in tambaram

    Big data training in Sholinganallur

    Big data training in annanagar

    Big data training in Velachery

    Big data training in Marathahalli

    ReplyDelete
  15. Thanks for such a great article here. I was searching for something like this for quite a long time and at last I’ve found it on your blog. It was definitely interesting for me to read  about their market situation nowadays.

    angularjs Training in bangalore

    angularjs Training in btm

    angularjs Training in electronic-city

    angularjs Training in online

    angularjs Training in marathahalli

    ReplyDelete

  16. Howdy, would you mind letting me know which web host you’re utilizing? I’ve loaded your blog in 3 completely different web browsers, and I must say this blog loads a lot quicker than most. Can you suggest a good internet hosting provider at a reasonable price?
    Amazon Web Services Training in OMR , Chennai | Best AWS Training in OMR,Chennai
    Amazon Web Services Training in Tambaram, Chennai|Best AWS Training in Tambaram, Chennai

    ReplyDelete
  17. Outstanding blog thanks for sharing such wonderful blog with us ,after long time came across such knowlegeble blog. keep sharing such informative blog with us.
    Airport Ground Staff Training Courses in Chennai | Airport Ground Staff Training in Chennai | Ground Staff Training in Chennai

    ReplyDelete
  18. I am really enjoying reading your well written articles.
    It looks like you spend a lot of effort and time on your blog.
    I have bookmarked it and I am looking forward to reading new articles. Keep up the good work..
    Spoken English Classes in Bangalore
    Spoken English Class in Chennai
    Spoken English Training in Bangalore
    English Coaching Classes in Chennai
    Spoken English Class in Bangalore
    Spoken English classes in Chennai
    English Speaking Course in Bangalore

    ReplyDelete
  19. Great Article...Thanks for sharing the best information.It was so good to read and useful to improve my knowledge as updated one.

    Angular JS Training in Chennai
    React Training
    Node JS Training

    ReplyDelete
  20. good work done and keep update more.i like your information's and
    that is very much useful for readers.
    AWS Training center in Bangalore
    AWS Training in Ambattur
    AWS Training in Saidapet

    ReplyDelete
  21. Thanks for your informative article, Your post helped me to understand the future and career prospects & Keep on updating your blog with such awesome article.
    python course institute in bangalore
    python Course institute in bangalore
    python course institute in bangalore

    ReplyDelete
  22. Nice tips. Very innovative... Your post shows all your effort and great experience towards your work Your Information is Great if mastered very well.
    angularjs interview questions and answers

    angularjs Training in bangalore

    angularjs Training in bangalore

    angularjs Training in chennai

    automation anywhere online Training

    ReplyDelete
  23. It’s great to come across a blog every once in a while, that isn’t the same out of date rehashed material. Fantastic read.
    safety course in chennai

    ReplyDelete

  24. Thank you very much for this. I hope this will be useful for many people. Please keep on updating these type of blogs with good content.Thank You...
    aws online training
    aws training in hyderabad
    amazon web services(AWS) online training
    amazon web services(AWS) training online

    ReplyDelete
  25. Hey, would you mind if I share your blog with my twitter group? There’s a lot of folks that I think would enjoy your content.
    industrial course in chennai

    ReplyDelete
  26. I have gone through your blog, it was very much useful for me and because of your blog, and also I gained many unknown information, the way you have clearly explained is really fantastic. Kindly post more like this, Thank You.
    seo training in chennai
    Air Hostess Training Institute in chennai
    air hostess academy in chennai
    air hostess course in chennai

    ReplyDelete
  27. Really very nice blog information for this one and more technical skills are improve,i like that kind of post.

    angularjs online training

    apache spark online training

    informatica mdm online training

    devops online training

    aws online training

    ReplyDelete
  28. power testo blast their systems. Material Source: http://EzineArticles.com/6226922t's unfortunate in modern personal body weight obsessed world that so many people do not know the benefits of bee position plant pollen weight-loss activities. Instead of using the same dietary fads strategy programs again and again, weight-loss enthusiasts the around the world can make the most of a bee position plant pollen complement
    https://newsletterforhealth.com/power-testo-blast/

    ReplyDelete
  29. cerisea medica
    and fitness and put an end to the decrease some/gain more madness experienced by masses of people around the world today? Getting that lean and healthy and balanced and healthy and balanced personal whole body can be as simple as saying no to weight loss programs and saying hello to a getting healthily .
    https://newsletterforhealth.com/cerisea-medica/

    ReplyDelete
  30. Beta keto . pursuits such as a swimming pool, sauna, racquetball courts or tennis courts to help you break the monotony of the dreaded treadmill while you try to get rid of fat. Regardless of whether or not you have been diligent about preserving your determine throughout the year, the holiday season often presents a
    https://newsletterforhealth.com/beta-keto/

    ReplyDelete
  31. Keto fast weeks after the therapy. Patients can reduce up to 90 % of their go locks. The locks will regrow after therapy ends and patients may want to get wigs before therapy. There are some medication in growth to help alleviate problems with this thinning locks from occurring. Low serum ironIron lack of e top. This happens one to three several
    https://newsletterforhealth/keto-fast/

    ReplyDelete
  32. rapid slim
    techniques are considered to be the best suggestions to get rid of fat. Any weight-loss tactics you conform to should maximize what you eat strategy strategy programs and help you get thinner quick and effectively. So you may be asking yourself, what are some the best suggestions to get rid of fat
    https://newsletterforhealth.com/rapid-slim/

    ReplyDelete
  33. keto blast This bodyweight. It is also an all-natural remedy for painful ailments and other diseases too. It has the capacity to heal and it contains antioxidants that protect us from toxins. It also slows down the ageing procedure. Brew mornings with green tea: You rise and shine with a sip of double cream mocha or
    https://topwellnessblog.com/keto-blast/

    ReplyDelete
  34. provexum front section of the top and probably improves when the fashionable hairstyle is changed for a looser one. Too very much heated scenario could lead to further problems and it's necessary to apply hairdryers and heated curlers carefully. Chemicals ingridients used in bleaches , perms and locks after
    https://newsletterforhealth.com/provexum/

    ReplyDelete
  35. Amazing article. Your blog helped me to improve myself in many ways thanks for sharing this kind of wonderful informative blogs in live.
    javascript training in chennai | javascript training institute in chennai | javascript course in chennai | javascript certification in chennai | best javascript training in chennai

    ReplyDelete
  36. Post is very useful. Thank you, this useful information.

    Softgen Infotech is a leading training institute for all kind of the Best Python Training in Bangalore with real-time experienced trainers with 100% Placement Assistance.

    ReplyDelete
  37. Irene Kush cannabis strain

    Best online Irene Kush cannabis strain. We provide Irene Kush cannabis strain online at https://mooredanks.com/ with best price and quality .

    https://mooredanks.com/index.php/product/5011/

    ReplyDelete
  38. Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep blogging.
    Nice blog,I understood the topic very clearly,And want to study more like this.
    Data Science Training In Chennai

    Data Science Online Training In Chennai

    Data Science Training In Bangalore

    Data Science Training In Hyderabad

    Data Science Training In Coimbatore

    Data Science Training

    Data Science Online Training

    ReplyDelete
  39. Thank you for this useful information.it has made the processing steps easier .Keep up the good work

    https://www.blogger.com/comment.g?blogID=22128064&postID=8436141673370806332&page=2&token=1614869861056

    ReplyDelete
  40. Thank you for this useful information in a step by step manner
    Python Training in chennai | Python Classes in Chennai

    ReplyDelete
  41. Best Articles on Lifetay tutorials. It will be helpful if you add more about service builder concept and demo example.

    Thanks and Regards,
    Vinod Luhar(Liferay Developer)

    ReplyDelete
  42. Incroyable et cela m'est utile. Merci. Nous sommes Liferay Expert France. Pour obtenir plus de détails sur nos services, contactez-nous

    ReplyDelete