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.
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 \\
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
Presented by IBM developer Works ibm.com/developerworks/ 2006 January – April © 2006 IBM Corporation. Making the most of Creating Eclipse plug-ins.
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.
One to One instructions Installing and configuring samba on Ubuntu Linux to enable Linux to share files and documents with Windows XP.
ActEyes IP Cam Training Part 1: Camera Setup. Network Setup Overview Each IP Cam on the network will need its own IP address to be assigned. This address.
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.
Ext Environment Copyright © 2005 Liferay, LLC All Rights Reserved. No material may be reproduced electronically or in print without written permission.
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
Microsoft FrontPage 2003 Illustrated Complete Finalizing a Web Site.
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.
OS Troubleshooting Written by: Tim Keyser Georgia CTAE Resource Network 2010.
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.
Installing MySQL BCIS 3680 Enterprise Programming.
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.
® IBM Software Group © 2006 IBM Corporation Rational Asset Manager v7.2 Using Scripting Tutorial for using command line and scripting using Ant Tasks Carlos.
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.
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 Location of the Ext Environment 2.Build the Ext Environment 3.Set the Server Type 4.Set the Location of the Server

Purpose of the Ext Environment  It is 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 override 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 To override release.properties, 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  Note: The location of the EXT environment is specified 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 the 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. (See slide 6, “Find Out Your User Name”.) 4.Make sure that lp.ext.dir=C:/Training/liferay/ext  Finally, 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 the server type. Liferay has custom build scripts for each server. app.server.tomcat.dir tells Liferay the location of the server. 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 If your app.server.${user.name}.properties is located in C:\Training\liferay\portal it is incorrect 2.Check to see if your ${user.name} is correct (See slide 6, “Find Out Your User Name”) 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.Set the server type to Tomcat by extending app.server.properties app.server.${user.name}.properties 4.Configured app.server.{user.name}.properties so that ant deploy will deploy your files to C:\Training\liferay\tomcat

Revision History 08/28/06 Edward ShinAuthor 11/13/06Edward ShinUpdated slides 2, 3, 4, 5, 7, 10, 12, 14, 15 and 16