The moose likes Portals and Portlets and the fly likes getting started with Liferay ext environment Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Portals and Portlets
Reply Bookmark "getting started with Liferay ext environment" Watch "getting started with Liferay ext environment" New topic
Author

getting started with Liferay ext environment

kwame Iwegbue
Ranch Hand

Joined: Sep 02, 2000
Posts: 197
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 ]

Who dares, wins! (SAS motto)
kwame Iwegbue
Ranch Hand

Joined: Sep 02, 2000
Posts: 197
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!
 
IntelliJ Java IDE
 
subject: getting started with Liferay ext environment
 
Threads others viewed
Anyone ever used Liferay Portal 5.2 Systems Development Book? - I have a problem and cant fix it!
Test 399: IBM WebSphere Portal V5.1, Application Development
how to use JTree?
Websphere Portal - Test 399
building portlet in ext environment
developer file tools