Ext Environment Copyright © 2005 Liferay, LLC All Rights Reserved. No material may be reproduced electronically or in print without written permission.

Slides:



Advertisements
Similar presentations
Introduction to Eclipse. Start Eclipse Click and then click Eclipse from the menu: Or open a shell and type eclipse after the prompt.
Advertisements

Resolving Common halFILE Issues. Effective July 11, 2006, Windows 98, Windows 98 Second Edition, and Windows Me (and their related components) will transition.
Struts Portlet Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written permission.
Struts Portlet Adding an Action Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without.
CC SQL Utilities.
FILEMAKER SERVER SOFTWARE & REMOTE ADMINISTRATION
JSF Portlet Backing Beans and UI Components Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in.
Version Control System (Sub)Version Control (SVN).
Guide to MCSE , Enhanced 1 Activity 14-1: Browsing Security Templates Objective: To become familiar with built-in security templates Start  Run.
IMS Client Installation Procedures 1. Copy the Voic Pro from the shared folder on the Voic Pro server. Go to Start, Run, and \\ or \\
How to use a scanner Throughout this slide show there will be hyperlinks (highlighted in blue) follow the hyperlinks to navigate to the specified Topic.
Rachelle Howell The University of Texas at Austin.
Liferay, SSO and LDAP - Integration Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without.
Java Programming Working with TextPad. Using TextPad to Work with Java This text editor is designed for working with Java You can download a trial version.
How to Logon Oracle Collaboration Suite and change password? STEP 1 Launch
The Internet. Telnet Telnet means using your computer as a terminal. All commands you type are sent to the host computer you are connected to and executed.
Lesson 18: Configuring Application Restriction Policies
Getting Started with Web Servers, PHP, and the Eclipse PDT Appendix I DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 6 th Edition.
SETUP AND CONFIGURATIONS WEBLOGIC SERVER. 1.Weblogic Installation 2.Creating domain through configuration wizard 3.Creating domain using existing template.
Introduction to Liferay Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written.
Struts Portlet Database Interaction Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without.
Basic Portlet Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written permission.
JSF Portlet Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written permission.
IT for the enterprise IT – Towards User Defined Services.
Themes & Layout Tutorial Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written.
By Steven Campbell and Erik Boone.  Sharing projects by putting them into a central repository.  Checking out copies of projects from the repository.
Deploying and Managing Software by Using Group Policy.
Or CMD/BATCH.  Title this comand makes the cmd prompt’s title whatever you would like it to be.
Version Control with Subversion. What is Version Control Good For? Maintaining project/file history - so you don’t have to worry about it Managing collaboration.
Ext Environment Copyright © 2005 Liferay, LLC All Rights Reserved. No material may be reproduced electronically or in print without written permission.
Struts Portlet Redirect Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written.
– Introduction to the Shell 10/1/2015 Introduction to the Shell – Session Introduction to the Shell – Session 2 · Permissions · Users.
Guidelines for Homework 6. Getting Started Homework 6 requires that you complete Homework 5. –All of HW5 must run on the GridFarm. –HW6 may run elsewhere.
®® Microsoft Windows 7 for Power Users Tutorial 13 Using the Command-Line Environment.
11 MANAGING AND DISTRIBUTING SOFTWARE BY USING GROUP POLICY Chapter 5.
General Systems Information ALEPH v20.01 Library Staff Training © South Dakota Library Network, 2013 ©Ex Libris (USA), 2011 Modified for SDLN Version
Tomcat Setup BCIS 3680 Enterprise Programming. Getting Web Apps to Work  Verify that Tomcat works.  Understand how context works.  Create folders/files.
Basic Setup Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written permission.
LDAP Authentication Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written permission.
Topic Java EE installation (Eclipse, glassfish, etc.) Eclipse configuration for EE Creating a Java Web Dynamic Project Creating your first servlet.
Module 6: Deploying and Managing Software by Using Group Policy.
Java Programming, Second Edition Appendix A Working with Java SDK 1.4.
Guide to MCSE , Enhanced 1 Activity 3-1: Reviewing User Account Properties Objective is to review properties of user accounts through main tabs of.
JSP Portlet Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written permission.
WinCvs. WinCVS WinCvs is a window based version control system. Use WinCvs when  You want to save every version of your file you have ever created. CVS.
How to Run Java Applications using the Windows Command Prompt. Julian Falasca May 11 th, 2010 ENGL 393.
MySQL Getting Started BCIS 3680 Enterprise Programming.
Database Connection Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written permission.
Basic Portlet Copyright © 2000 – 2007 Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written permission.
(1) Installing the Software ICU Philip Johnson Collaborative Software Development Laboratory Information and Computer Sciences University of Hawaii Honolulu.
Required Tools Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written permission.
Exploring Spyder: An IDE for scientific computing
Myrtle Entertainment System Scanner How to work your way to installing a program via Myrtle Entertainment System Scanner.
David M. Kroenke and David J. Auer Database Processing Fundamentals, Design, and Implementation Appendix I: Getting Started with Web Servers, PHP and the.
Tomcat Setup BCIS 3680 Enterprise Programming. One-Click Tomcat Setup 2  This semester we’ll try to set up Tomcat with a PowerShell script.  Preparation.
Invoices and Service Invoices Training Presentation for Raytheon Supply Chain Platform (RSCP) April 2016.
MySQL Getting Started BCIS 3680 Enterprise Programming.
NX Documentation Using Windows IIS (Internet Information Services) as a http server for NX documentation.
Windows Vista Configuration MCTS : Installing and Upgrading.
Required Tools Copyright © 2005 Liferay, LLC All Rights Reserved. No material may be reproduced electronically or in print without written permission from.
Development Environment
Connect:Direct for UNIX v4.2.x Silent Installation
How to change the LOGO on PecStarWeb V3.6
Copyright © Liferay, Inc.
How to Fi
ASP.NET and IIS – Windows 7, 8, 10 Marie SHAH 01/12/2016.
How to Run a Java Program
Configuration Of A Pull Network.
Implementing Active Directory
Presentation transcript:

Ext Environment Copyright © 2005 Liferay, LLC All Rights Reserved. No material may be reproduced electronically or in print without written permission from Liferay, LLC.

Objectives Ext Environment 1.Set the Directory of the Ext Environment 2.Build the Ext Environment 3.Set the Type of Server 4.Set the Directory of the Server

Purpose of the Ext Environment It is very difficult to upgrade to new versions of Liferay if you modify the source code directly. The Ext Environment allows you to extend and modify the source code without breaking your upgrade path.

Set the Ext Environment Directory 1.Go to C:\Training\liferay\portal 2.Open release.properties with Notepad The first thing you should note is this: ## DO NOT EDIT THIS FILE. ## ## To update the properties of this file, create a separate properties file ## named "release.${user.name}.properties" with the properties to overwrite.

Set the Ext Environment Directory Don’t edit release.properties directly. But what is release.${user.name}.properties? release.${user.name}.properties is the extension file for release.properties. The properties in release.${user.name}.properties will overwrite the properties in release.properties. ${user.name} represents the user name of your computer. Do NOT name your file release.${user.name}.properties. See the next slides to find out how to determine the user name of your computer and how to create your release.${user.name}.properties file.

Find Out Your User Name 1.Click Start  Run… 2.Type cmd and press Enter 3.Type set in the cmd prompt 4.Write down your user name In this example, ${user.name} = ed

release.${user.name}.properties Create your release.${user.name}.properties file. In the previous example, the user name was ed. ${user.name}=ed This user would create a file called release.ed.properties Example 1: If your user name is Administrator, create a file called release.Administrator.properties Example 2: If your user name is compaq.zzzz.13, create a file called release.compaq.zzzz.13.properties

Enter the following in release.${user.name}.properties: lp.eclipse.dir=C:/Java/eclipse lp.ext.dir=C:/Training/liferay/ext lp.eclipse.dir tells Liferay where you installed Eclipse. lp.ext.dir tells Liferay where to create the EXT environment. Set the Ext Environment Directory

Build the EXT Environment 1.Click Start  Run… 2.Type cmd and press Enter 3.Navigate to C:\Training\liferay\portal 4.Type ant clean start build-ext in the command prompt.

5.At some point, Windows may ask if it should allow Java to continue. This is a firewall setting. Click yes. 6.Verify that the EXT Environment is being built in C:\Training\liferay\ext Remember, we specified the location of the EXT environment in release.${user.name}.properties: lp.ext.dir=C:/Training/liferay/ext

Make sure that C:\Training\liferay\ext was created and contains the following directory structure

Checkpoint If you do not have an ext/ext-ejb/src directory, you have built the EXT environment incorrectly. If this is the case, you must: 1.Delete the entire ext directory 2.Verify that release.${user.name}.properties is located in C:\Training\liferay\portal 3.Check to see if your ${user.name} is correct 4.Make sure that lp.ext.dir=C:/Training/liferay/ext 5.Run ant clean start build-ext again This error can occur if you manually created the ext directory. Liferay cannot build the Ext Environment correctly if the ext directory already exists.

Liferay has custom build scripts for each server. The server and its location are specified in app.server.properties. 1.Go to C:\Training\liferay\ext 2.Create app.server.${user.name}.properties Replace ${user.name} with the user name of your computer. app.server.properties

Enter the following in app.server.${user.name}.properties: app.server.type=tomcat app.server.tomcat.dir=C:/Training/liferay/tomcat app.server.type tells Liferay which server it will deploy to app.server.tomcat.dir tells Liferay the location of Tomcat app.server.{user.name}.properties

Checkpoint 1.Click Start  Run.. 2.Type cmd 3.Navigate to C:\Training\liferay\ext 4.Type ant deploy 5.Check to console to see if your files are being deployed to C:\Training\liferay\tomcat If this is not the case: 1.Verify that app.server.${user.name}.properties is located in C:\Training\liferay\ext 2.Check to see if your ${user.name} is correct 3.Make sure that app.server.type=tomcat and app.server.tomcat.dir=C:/Training/liferay/tomcat

Congratulations! You’ve just built the EXT Environment! 1.Set the location of the EXT Environment by extending the release.properties file release.${user.name}.properties 2.Run ant clean start build-ext to create the EXT environment 3.Configured app.server.{user.name}.properties so that ant deploy will deploy your files to Tomcat 4.Configured app.server.{user.name}.properties so that ant deploy will deploy your files to C:\Training\liferay\tomcat instead of C:\Training\liferay\ext\servers\tomcat

Revision History Edward Shin8/28/2006Updated for Liferay 4.1.1