Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

getting started with Liferay ext environment

 
kwame Iwegbue
Ranch Hand
Posts: 197
  • Mark post as helpful
  • send pies
  • 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
  • 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!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic