• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

getting started with Liferay ext environment

 
Ranch Hand
Posts: 197
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This may seem like a dumb question, but I have to ask. I'm trying to set up the extention enviromnent for development with Liferay. The user manual says to:

"...Go to the root directory of the Liferay Portal sources and create a file called release.${user.name}.properties where ${user.name} is the name of the user in your computer. Be sure to write it in the proper letter cases (even in Windows). Set the property lp.ext.dir to the directory where you would like to create the directory (make sure that it does not exist yet). If you expect to be using eclipse add also a property called lp.eclipse.project.name with the desired name of the project: For example:

lp.ext.dir=D:/Projects/liferay/portal/ext
lp.eclipse.project.name=liferay-ext
..."

So my question is:
For username - Administrator, can someone pls tell me if this means
release.Administrator.properties or
release.${user.name}.properties

I'm asking because I'm getting a lot of errors trying it either way. On windows the user variable is called USERNAME not user.name, so where does this ${user.name} come from?
[ March 14, 2007: Message edited by: kwame Iwegbue ]
 
kwame Iwegbue
Ranch Hand
Posts: 197
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Okay. I get it. Its release.Administrator. The problem I was having was I hadn't set some other properties. So for other would be new Liferay users out there, in addition to following along with the Liferay documentation, when setting up an extentions environment, be sure
to create an app.server.${user.name}.properties file in your liferay source dir and set the appropriate app.server.type and app.server.${app.server.type}.dir prior to running ant start

hope this helps someone!
 
Listen. That's my theme music. That's how I know I'm a super hero. That, and this tiny ad told me:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic