Thursday, September 27, 2007

Preparing Liferay EXT environment

  • Install JDK and ANT.
  • Set JAVA_HOME and ANT_HOME to your Ant and Java directories. Add JAVA_HOME\bin and ANT_HOME\bin to System Path.
  • Create a Liferay directory:
$HOME/liferay-devel (refered as {LIFERAY}).
  • Create a directory called:
{LIFERAY}/portal
and unzip de Liferay sources into it.

  • Create a file called:
release.{user name}.properties, where {user name} is the user name used to develop.
  • and put the next lines with the appropiate values:
lp.ext.dir={LIFERAY}/ext
  • If you expect to be using eclipse add also a property called lp.eclipse.project.name with the desired name of the project:
lp.eclipse.project.name=liferay-ext

  • Create a file called:
app.server.{user name}.properties
  • and put the next lines with the appropiate values:
app.server.type=tomcat
app.server.tomcat.dir={LIFERAY}/tomcat
sourceforge.mirror=http://belnet.dl.sourceforge.net/sourceforge/lportal

  • Create a file called:
build.{user name}.properties
  • and put the next lines with the appropiate values:
javac.compiler=modern, for use Sun's compiler.
javac.fork=true

  • Go into {LIFERAY}/portal directory an execute:
> ant clean
> ant start
> ant build-ext

This must create a directory {LIFERAY}/ext (or what you called in lp.ext.dir) and create your EXT environment.
  • Copy files release.{user name}.properties, app.server.{user name}.properties and build.{user name}.properties to the {LIFERAY}/ext directory.
  • Go to the {LIFERAY}/ext/servers and execute:
> ant install-tomcat
It must download and install a tomcat liferay bundle into {LIFERAY}/tomcat.

  • The idea is to have:
{LIFERAY}
{LIFERAY}/ext -> Your EXT environment to develop.
{LIFERAY}/portal -> The portal sources used to create the EXT.
{LIFERAY}/tomcat -> The server (lifery bundle) used to develop.

  • Now execute:
> chmod a+x {LIFERAY}/tomcat/bin/*.sh
  • and try to start liferay bundle:
> {LIFERAY}/tomcat/bin/catalina.sh start

  • Connect to http://localhost:8080 (user test@liferay.com, password test).

24 comments:

Anonymous said...

Darin die ganze Anmut! cialis online viagra kaufen forum [url=http//t7-isis.org]cialis online[/url]

Anonymous said...

singles pictures [url=http://loveepicentre.com/]loving people online for datings[/url] gothic singles friends http://loveepicentre.com/ asian personals chicago

Anonymous said...

women heart ischemia [url=http://usadrugstoretoday.com/products/viagra-soft-flavoured.htm]viagra soft flavoured[/url] tea dye http://usadrugstoretoday.com/categories/montage-packs.htm celtenham public health http://usadrugstoretoday.com/discounts.htm
cathecolamine stress [url=http://usadrugstoretoday.com/categories/artrite.htm]artrite[/url] definition for depression [url=http://usadrugstoretoday.com/products/yasmin.htm]commercial medical certificate federal[/url]

Anonymous said...

i have shooting pain under my right breast [url=http://usadrugstoretoday.com/categories/dejar-de-fumar.htm]dejar de fumar[/url] outcome with treatment of a heart attack http://usadrugstoretoday.com/products/risperdal.htm medical insurance in montana for senior citizens http://usadrugstoretoday.com/products/avandia.htm
importance of bacteria in curing of tea [url=http://usadrugstoretoday.com/products/revia.htm]revia[/url] diuretics for congestive heart failure [url=http://usadrugstoretoday.com/products/septilin.htm]orange book drug[/url]

Anonymous said...

health and social work journal [url=http://usadrugstoretoday.com/index.php?lng=de&cv=eu]Buy generic and brand medications[/url] sleeping bit http://usadrugstoretoday.com/catalogue/z.htm uv health risks http://usadrugstoretoday.com/products/celexa.htm
minnesota public health agencies list by counties [url=http://usadrugstoretoday.com/products/allopurinol.htm]allopurinol[/url] lytec medical [url=http://usadrugstoretoday.com/#first]breast milk let down[/url]

Anonymous said...

http://poow.in/levodopa/levodopa-for-glaucoma
[url=http://poow.in/risedronate/risedronate-generic]free sample of cialis[/url] drug co roanoke rapids nc [url=http://poow.in/generic/a-generic-resume-form]a generic resume form[/url]
drug alcohol rehab woodland hills malibu http://poow.in/kidney/kidney-and-cyst
[url=http://poow.in/melatonin/does-melatonin-decrease-a-persons-white-blood-count]cialis does not work for me[/url] lhsc medicine [url=http://poow.in/generic/kmart-generic-price-list]kmart generic price list[/url]
government price list for drugs in spain http://poow.in/mentat/mentat-cool-program-review
[url=http://poow.in/mefenamic/mefenamic-acid-250g]sending drugs[/url] what role do neurotransmitters play in addition to drugs [url=http://poow.in/mefenamic/mefenamic-acid-allergy]mefenamic acid allergy[/url] drug rehab not twelve step [url=http://poow.in/lamivudine/lamivudine-zidovudine]lamivudine zidovudine[/url]

Anonymous said...

how much do you need to travel italy http://atravel.in/cruises_captain-cook-cruises travel suitcase sacremento
[url=http://atravel.in/car-rental_alan-jay-sebring-florida-car-rental]unusual niches in travel industry[/url] mimco travel wallet [url=http://atravel.in/tour_best-time-and-weather-to-tour-australia]best time and weather to tour australia[/url]
best jobs willing to travel http://atravel.in/airline_new-no-frills-airline-new-zealand
[url=http://atravel.in/hotel_stainel-cay-hotel]travel stickers vinson massif[/url] travel nurses no recruiting [url=http://atravel.in/tourist_oxford-tourist-information-centre]oxford tourist information centre[/url]
organizations that have done raffles dealing wiht travel http://atravel.in/motel_denton-tx-days-inn-motel sunvalley travel trailers [url=http://atravel.in/inn_alamo-inn-and-suites]alamo inn and suites[/url]

Anonymous said...

polly travel licious http://livetravel.in/vacation-packages vera bradley small travel bag
[url=http://livetravel.in/plane-tickets/cheap-online-plane-tickets]rv travel forums[/url] business travel budget paris [url=http://livetravel.in/hotel/wyndam-hotel-saddle-brook-nj]wyndam hotel saddle brook nj[/url]
delugh travel clothes http://livetravel.in/tour/international-tour-companies-based-in-us
[url=http://livetravel.in/hotel/dfw-to-lga-flight-hotel-deals]travel during pandemic[/url] plant cell travel project [url=http://livetravel.in/adventure/guide-for-sonic-adventure-2-battle-for-free]guide for sonic adventure 2 battle for free[/url]
how did plague diasease travel across country http://livetravel.in/maps/backcountry-1750-maps
[url=http://livetravel.in/tourist/japan-tourist-attractions]alexander the great travel republic[/url] travel route planer [url=http://livetravel.in/map/assessor-map-marking]assessor map marking[/url] travel unites boundaries divide quote [url=http://livetravel.in/adventure/bolivia-adventure-holiday]bolivia adventure holiday[/url]
travel trailer storage in charlotte [url=http://livetravel.in/tourism]tourism[/url]
travel rome italy http://livetravel.in/lufthansa/seat-14a-on-usair-flight-on-a-boeing-767
[url=http://livetravel.in/cruises/starlight-cruises-melody]ugly stick travel rod[/url] safari travel gear [url=http://livetravel.in/airport/air-fare-moline-international-airport]air fare moline international airport[/url]
[url=http://livetravel.in/flight/flight-jackets-alpha]flight jackets alpha[/url] balboa travel [url=http://livetravel.in/lufthansa/airbus-and-boeing]airbus and boeing[/url] travel guide authors [url=http://livetravel.in/cruise/norweigian-cruise-jobs]norweigian cruise jobs[/url]
czech travel agency [url=http://livetravel.in/tours/dual-sport-motorcycle-tours]dual sport motorcycle tours[/url]

Anonymous said...

autozone auto parts website http://autoexpress.in/scion/league/city/scion dodge dakota fog light relay
[url=http://autoexpress.in/mercury/mercury/outboard/ignition/switch/plate]new mercedes suv models[/url] send email to automobile magazine [url=http://autoexpress.in/romeo/alfa/romeo/155/race]alfa romeo 155 race[/url]
volkswagen dealers portalintgton ireland http://autoexpress.in/scion/scion/toyota/grand/rapids/mi
[url=http://autoexpress.in/racing/hawks/racing/8000/series/nodular/iron/crankshaft]uk reconditioned diesel engines mercedes 208[/url] p185 70 b 13 automobile tires [url=http://autoexpress.in/scooters/gazzy/handicapped/scooters]gazzy handicapped scooters[/url]
honda motorcycle classic racing http://autoexpress.in/saab/saab/international
[url=http://autoexpress.in/opel/opel/aghila]economy auto supply boston[/url] hazelwood auto group bremerton wa [url=http://autoexpress.in/rally/rally/school/romania]rally school romania[/url]

Anonymous said...

reserved for the cat by mercedes lackey http://carautonews.in/audi/used-audi-a3 mercedes 500slc fuel injection wiring
[url=http://carautonews.in/auto-and/auto-film-colours]waterpump dodge motor home[/url] original automobile price 1972 ford f250 [url=http://carautonews.in/auto/mentor-auto-restoration]mentor auto restoration[/url]
automobile australia china http://carautonews.in/ducati/ducati-999-videos
[url=http://carautonews.in/daewoo]how to get extended auto warranty[/url] auto flex glasses [url=http://carautonews.in/audi/audi-tt-2007images]audi tt 2007images[/url]
street racing syndicate cheats http://carautonews.in/bike/mountain-masters-bike-shop
[url=http://carautonews.in/daihatsu/daihatsu-storia]auto engraving machines[/url] how the automobile has affected society [url=http://carautonews.in/chrysler/chrysler-dealer-repair-coupons-michigan]chrysler dealer repair coupons michigan[/url]

Anonymous said...

global care travel insurance http://adventurecollection.in/tour/brewery-tour argentina travel packages
[url=http://adventurecollection.in/plane-tickets/military-discount-on-plane-tickets]travel vacation holiday[/url] mersey travel [url=http://adventurecollection.in/airlines/southwest-airlines-internet-special]southwest airlines internet special[/url]
rabbit travel carrier http://adventurecollection.in/motel/kansan-motel-coupons
[url=http://adventurecollection.in/vacation-packages/mazatlan-vacation-package]the travel shopn tenerife[/url] travel blankets [url=http://adventurecollection.in/airlines/airlines-that-fly-out-of-springfield-missouri]airlines that fly out of springfield missouri[/url]
travel history 1955 present http://adventurecollection.in/adventure/paperback-books-adventure-mystrey-best-sellers-2007 travel bus tours nd [url=http://adventurecollection.in/disneyland/disneyland-area-map]disneyland area map[/url]

Anonymous said...

mature european hardcore porn http://xwe.in/orgasm/thigh-massage-accidental-orgasm
[url=http://xwe.in/bdsm/electric-bdsm]booty anal sex movie clips[/url] german videos adult [url=http://xwe.in/girl-anal/anal-sex-free-preview]anal sex free preview[/url]
lubricant samples http://xwe.in/erotic-gay/kingston-ontario-erotic-massage
[url=http://xwe.in/blowjob/how-to-give-a-good-blowjob]biggest dildo ever[/url] hentai cartoons yahoo [url=http://xwe.in/girl-anal/free-gay-anal-videos]free gay anal videos[/url]
adult bookstore in ross park http://xwe.in/erotic-stories/erotic-naughty-lingerie-erotic-lingerie
[url=http://xwe.in/hcg-oral/rough-oral-movies]adult entertainment youtube[/url] sexy pics of celina jaitley [url=http://xwe.in/adult-xxx/gender-and-adult-learning]gender and adult learning[/url]
free 2007 adult dating site http://xwe.in/shemales/shemales-eating-cum
[url=http://xwe.in/erotic-gay/fre-erotic-videos]longer porn movies[/url] teen anal masturbation [url=http://xwe.in/girl-anal/anal-sex-feels-like]anal sex feels like[/url]

Anonymous said...

sexy tit movie clips [url=http://worldmovs.co.cc/full_version---005---------------------------------------------------------------------------/13791database/]%5?”? ????? ?”»??‘ ?—??‰???? ?‚??‚«?‚® -?—‡??»?›??•??‚’??‡?’???•??›????¤©?‰?-[/url] movie genre [url=http://full-length-movies.com/dvd-quality-movie-the-bucket-list/16200database/]The Bucket List[/url]
psycho the movie [url=http://full-length-movies.com/dvd-quality-movie-ghost-in-the-shell--cap.-4-6-/20980database/]Ghost In The Shell (Cap. 4-6)[/url] movie strrat times [url=http://full-length-movies.com/dvd-quality-movie-barbie-em-as-12-princesas-bailarinas-dublado/8597database/]Barbie Em As 12 Princesas Bailarinas Dublado[/url]
the pacifier the movie [url=http://worldmovs.co.cc/full_version-pump-up-the-volume/11773database/]Pump up the Volume[/url] silent movie score [url=http://worldmovs.co.cc/full_version-parasite-dolls--latino/25211database/]Parasite Dolls- Latino[/url]
hardcore movie clips [url=http://full-length-movies.com/dvd-quality-movie-grizzly-park/11509database/]Grizzly Park[/url] release date amazing grace movie [url=http://worldmovs.co.cc/full_version-7eventy-5ive/17127database/]7eventy 5ive[/url]

Anonymous said...

acorn shoes http://luxefashion.us/custo-barcelona-casual-brand51.html bratz fashion dvd [url=http://luxefashion.us/blue-red-jeans-cut-pants-color83.html]free sewing patterns for dog clothes to download[/url] chanel jacket resale berkeley
http://luxefashion.us/54-armani-size9.html dbdesigner [url=http://luxefashion.us/t-shirts-for-men-page7.html]elegant fashion outlet[/url]

Anonymous said...

ecko shoes http://www.thefashionhouse.us/?action=products&product_id=957 work clothes [url=http://www.thefashionhouse.us/?action=products&product_id=1909]calvin klein nappa leather tote[/url] womens fitness shoes
http://www.thefashionhouse.us/red-grey-armani-color219.html kiddy fashion company [url=http://www.thefashionhouse.us/white-navy-blue-casual-color75.html]merrell shoes australia[/url]

Anonymous said...

china buy direct shoes http://luxefashion.us/pepe-jeans-london-men-brand52.html designer boys clothes [url=http://luxefashion.us/-sport-bags-accessories-category79.html]porn rss chanels[/url] briadal shoes
http://luxefashion.us/s-club-wear-size10.html recycled clothes [url=http://luxefashion.us/men-page20.html]shoes hot tomato[/url]

Anonymous said...

ncclub shoes http://www.thefashionhouse.us/black-men-color2.html womens born shoes [url=http://www.thefashionhouse.us/dark-grey-dolce-amp-gabbana-color16.html]basketball shoes teamsales[/url] fashion search results msn encarta
http://www.thefashionhouse.us/roberto-cavalli-sport-zip-jacket-and-pants-brand7.html ecco shoes [url=http://www.thefashionhouse.us/g-star-on-sale-brand42.html]aaa replica gucci twirl watch[/url]

Anonymous said...

designer baby clothes http://luxefashion.us/black-white-casual-shirts-color23.html ann klein womens watches [url=http://luxefashion.us/dolce-amp-gabbana-merino-wool-stylish-sweater-item1185.html]items made from horseshoes[/url] volatile shoes
http://luxefashion.us/women-apos-s-long-sleeve-tops-category21.html melissa lauren [url=http://luxefashion.us/black-white-tops-shirts-with-colar-color23.html]asatru clothes[/url]

Anonymous said...

free no deposit bingo listings usa http://lwv.in/lottery/claiming-florida-lottery blackjack 2 no file explorer
[url=http://lwv.in/keno/john-keno-company]baccarat crystal cantalebra circa 1920 to 1950[/url] casino monterrey [url=http://lwv.in/jokers/auburn-mall-jokers]auburn mall jokers[/url]
jugar casino gratis http://lwv.in/blackjack/two-dollar-blackjack-in-vegas
[url=http://lwv.in/baccarat/baccarat-crystal-massena]gambling football squares[/url] search for me the canadian visa lottery [url=http://lwv.in/joker/joker-painter]joker painter[/url]
copying phonebook to computer blackjack http://lwv.in/online-casinos/highest-payout-vegas-casinos delaware state lottery [url=http://lwv.in/roulette/spillet-roulette]spillet roulette[/url]

Anonymous said...

movie file sharing az [url=http://moviestrawberry.com/films/film_tattoo/]tattoo[/url] movie y tu mama tambien http://moviestrawberry.com/films/film_the_l_word/ movie thong slips
battle creek movie theaters [url=http://moviestrawberry.com/films/film_the_pelican_brief/]the pelican brief[/url] movie star costumes http://moviestrawberry.com/hqmoviesbygenres/download-genre_comedy-movies/?page=2 movie trivia questions and answers
cochrane movie theatre [url=http://moviestrawberry.com/films/film_ladder_49/]ladder 49[/url] amc movie theatre
movie screen writer [url=http://moviestrawberry.com/films/film_dough_boys/]dough boys[/url] tuck everlasting original movie http://moviestrawberry.com/easy-downloads/letter_I/?page=4 movie theaters in sandwich il
saw iv movie [url=http://moviestrawberry.com/films/film_cradle_2_the_grave/]cradle 2 the grave[/url] streisand movie list http://moviestrawberry.com/films/film_eagle_eye/ movie body heat

Anonymous said...

movie theatres in hickory nc [url=http://moviestrawberry.com/films/film_snatch_/]snatch [/url] movie quote wav big trouble in little china http://moviestrawberry.com/films/film_the_spy_who_loved_me/ mpeg2 freeware movie maker
apollo movie [url=http://moviestrawberry.com/films/film_bullets_or_ballots/]bullets or ballots[/url] shawshank movie free essay http://moviestrawberry.com/countries/?page=81 shirley mclaine movie 1994
free bestiality movie clips free bestiality movies [url=http://moviestrawberry.com/films/film_demonlover/]demonlover[/url] easyrider motorcycle movie ijms
the movie the dead one starring wilmer valderrama [url=http://moviestrawberry.com/films/film_surviving_christmas/]surviving christmas[/url] teen sex movie clips http://moviestrawberry.com/films/film_sacrifice_70/ matilda movie soundtrack 1996
simpson movie porn [url=http://moviestrawberry.com/films/film_sniper/]sniper[/url] the movie channel extra http://moviestrawberry.com/films/film_the_stepfather/ bush movie posters

Anonymous said...

adrian michigan movie theaters [url=http://moviestrawberry.com/films/film_lano_woodley_goodbye/]lano woodley goodbye[/url] harkins movie theater http://moviestrawberry.com/hqmoviesbyyear/year_2008_high-quality-movies/?page=2 watch movie clips
janis movie interview cavett [url=http://moviestrawberry.com/films/film_mononoke_hime/]mononoke hime[/url] the perfect woman movie http://moviestrawberry.com/films/film_all_the_cats_join_in/ connery neil movie
big balls movie [url=http://moviestrawberry.com/films/film_goodbye_solo/]goodbye solo[/url] xx india movie
saw iv movie [url=http://moviestrawberry.com/films/film_black_christmas/]black christmas[/url] hairspray movie zac efron pictures http://moviestrawberry.com/films/film_pecos_bill/ trading places movie review
movie players avi [url=http://moviestrawberry.com/films/film_space_truckers/]space truckers[/url] carmen luvana movie reviews http://moviestrawberry.com/hqmoviesbycountry/country_uk/?page=9 movie fried green tomatoes

Anonymous said...

bedknobs and broomsticks disney movie [url=http://moviestrawberry.com/films/film_the_jackal/]the jackal[/url] naruto the movie 2 http://moviestrawberry.com/films/film_adam_and_eve/ disney all star movie hotel
quicktime movie sample [url=http://moviestrawberry.com/films/film_the_collective/]the collective[/url] rehoboth beach movie http://moviestrawberry.com/films/film_firestorm_last_stand_at_yellowstone/ the portrait of a lady movie
bloodsport movie [url=http://moviestrawberry.com/films/film_the_king_and_i/]the king and i[/url] movie about a high school kid who helps other students
xxx movie down loads [url=http://moviestrawberry.com/films/film_for_your_eyes_only/]for your eyes only[/url] pictures of the movie the little giants http://moviestrawberry.com/films/film_a_woman_of_paris_a_drama_of_fate/ full porn movie without registration nor payment
windows movie maker gun effects [url=http://moviestrawberry.com/films/film_gamers/]gamers[/url] torrent movie downloads http://moviestrawberry.com/hqmoviesbygenres/download-genre_sci-fi-movies/?page=7 free movie linka

Anonymous said...

ares free movie download [url=http://moviestrawberry.com/films/film_the_gamers/]the gamers[/url] hatford wisconsin movie theaters http://moviestrawberry.com/films/film_heima/ movie rights book
the movie nell was based on [url=http://moviestrawberry.com/films/film_sunshine/]sunshine[/url] classic gay movie titles http://moviestrawberry.com/films/film_10_000_bc/ romp movie password
hallowen the movie theam music [url=http://moviestrawberry.com/films/film_bonekickers/]bonekickers[/url] simpsons movie spider pig choir
movie lyrics [url=http://moviestrawberry.com/films/film_september_dawn/]september dawn[/url] psp movie forums http://moviestrawberry.com/films/film_shanghai_knights/ deadwood park movie
movie mega post [url=http://moviestrawberry.com/films/film_ruby_blue/]ruby blue[/url] rehoboth beach movie http://moviestrawberry.com/easy-downloads/letter_T/?page=19 beethoven movie