Fórum

Import Liferay project into Eclipse Indigo

Jaafar Altaie, modificado 11 Anos atrás.

Import Liferay project into Eclipse Indigo

Junior Member Postagens: 69 Data de Entrada: 26/04/12 Postagens Recentes
I'm running liferay-portal-6.1.0-ce-ga1 tomcat bundle (wIN 2008 64 Server R2). I'm trying to import a 'Project from existing source', but I can't seem to find a VALID location.

I already created a portal without an IDE, by simply extracting the bundle, deploying through the existing tomcat and customizing accordingly. I reached a point where I NOW want to import the project into Eclipse to do some more customizations.

I read the Geeting Started Guide and the import Wiki (http://www.liferay.com/community/wiki/-/wiki/Main/Liferay+IDE+Importing+Existing+Projects#section-Liferay+IDE+Importing+Existing+Projects-GuideConvertExistingEclipseProjectWOLiferayRuntimeOrProjectFacets), but I STILL don't understand:

1) Am I choosing the right import option - should I be importing from existing source or shoosing the SDK plug in option?

2) What is the correct location to import the project?

3) Will I able to import the entire portal by choosing the right options in point 2 above?

Any advice is really appreciated. THANK YOU!
thumbnail
David H Nebinger, modificado 11 Anos atrás.

RE: Import Liferay project into Eclipse Indigo (Resposta)

Liferay Legend Postagens: 14918 Data de Entrada: 02/09/06 Postagens Recentes
A bundle is not an Eclipse project, so there is nothing to import.

If you download the portal source, that contains a .project file that you can import. DO NOT DO THIS!

If you download the SDK and create a plugin within it, that will contain a .project that you can import.

But not a bundle.

Do yourself a favor and buy Rich Sezov's book Liferay in Action. It will help you get started with Liferay development the right way, and it's not that expensive and it's a good investment. It will save you coming back to the forum and posting simple questions...
thumbnail
Hitoshi Ozawa, modificado 11 Anos atrás.

RE: Import Liferay project into Eclipse Indigo

Liferay Legend Postagens: 7942 Data de Entrada: 24/03/10 Postagens Recentes
There was even a promotion code to get a discount. It used to be on the top page. You may be able to get it by googling "liferay in action promotion code"
Jaafar Altaie, modificado 11 Anos atrás.

RE: Import Liferay project into Eclipse Indigo

Junior Member Postagens: 69 Data de Entrada: 26/04/12 Postagens Recentes
Thank you both so much and sorry for the simple question.

The book is not in stock in any of the stores here. I searched for the book and 'Practical LIferay' as well. Both titles take at least one week to deliver whether through bookstore or Amazon. I wil be ordering Liferay In Action Immediately. As simple as my question sounds I'd rarher use this week to at least understand the concept, shorten my learning curve

Are you saying I need to first create a project from the bundle?Do I need to create a workspace like in other java development frameworks (ie: Oracle J Developer? I simply want to know the concept at this stage to save as much time as possible. Thanks again!
thumbnail
David H Nebinger, modificado 11 Anos atrás.

RE: Import Liferay project into Eclipse Indigo

Liferay Legend Postagens: 14918 Data de Entrada: 02/09/06 Postagens Recentes
You can purchase the PDF online directly from manning.com...

It will be on your desktop in a matter of minutes...

And no to your questions. Liferay development doesn't work that way. Start w/ the developer doco from the documentation link above and read that while you're waiting for the pdf to download...
Jaafar Altaie, modificado 11 Anos atrás.

RE: Import Liferay project into Eclipse Indigo

Junior Member Postagens: 69 Data de Entrada: 26/04/12 Postagens Recentes
THANKS A MILLION! I boiught the e book
thumbnail
David H Nebinger, modificado 11 Anos atrás.

RE: Import Liferay project into Eclipse Indigo

Liferay Legend Postagens: 14918 Data de Entrada: 02/09/06 Postagens Recentes
Wahoo. Rich, if you're following out there, I get the credit for this sale emoticon
Jaafar Altaie, modificado 11 Anos atrás.

RE: Import Liferay project into Eclipse Indigo

Junior Member Postagens: 69 Data de Entrada: 26/04/12 Postagens Recentes
I bought this book and I've been reading it for about a month now. i'm still stuck on how to get a functioning plugin working,

I already raised an issue on this forum (http://www.liferay.com/community/forums/-/message_boards/message/14393666), which is still being looked at.

I thought of raising the issue again here to see if there are any unknown limitations with trying to develop plugins in Eclipse or Liferay IDE. I need to be able to add custom plugins as an integral part of any serious portal technology.

Maybe I'm missing something here, but it seems quite challenging getting a simple plugin (such as the one mentioned in chapter 2 of the book) to work properly. Hopefully this is just an oversight on my part. Any advice would be really appreciated including the possibility of trying a another technology if it proves too difficult to add plugins in LIferay.

THANK YOU!
thumbnail
Gregory Amerson, modificado 11 Anos atrás.

RE: Import Liferay project into Eclipse Indigo

Liferay Legend Postagens: 1123 Data de Entrada: 16/02/10 Postagens Recentes
Jaafar Altaie:
I bought this book and I've been reading it for about a month now. i'm still stuck on how to get a functioning plugin working,

I already raised an issue on this forum (http://www.liferay.com/community/forums/-/message_boards/message/14393666), which is still being looked at.

I thought of raising the issue again here to see if there are any unknown limitations with trying to develop plugins in Eclipse or Liferay IDE. I need to be able to add custom plugins as an integral part of any serious portal technology.

Maybe I'm missing something here, but it seems quite challenging getting a simple plugin (such as the one mentioned in chapter 2 of the book) to work properly. Hopefully this is just an oversight on my part. Any advice would be really appreciated including the possibility of trying a another technology if it proves too difficult to add plugins in LIferay.

THANK YOU!



Can you try a newer version of both Liferay Portal and Liferay IDE?

Download latest Liferay Portal and Liferay Plugins SDK from here:
http://sourceforge.net/projects/lportal/files/Liferay%20Portal/6.1.0%20GA1/

Then download the latest Eclipse 3.7.2+Liferay IDE 1.5.3 bundle from here:
http://sourceforge.net/projects/lportal/files/Liferay%20IDE/1.5.3/

Then follow the getting started guide (4 pages) here for creating your first custom portlet plugin and adding it to the portal:
http://www.liferay.com/documentation/liferay-portal/6.1/development/-/ai/set--4
http://www.liferay.com/documentation/liferay-portal/6.1/development/-/ai/testing-launching-liferay-tomcat-serv-4
http://www.liferay.com/documentation/liferay-portal/6.1/development/-/ai/creating-new-liferay-projec-4
http://www.liferay.com/documentation/liferay-portal/6.1/development/-/ai/deploying-new-liferay-projects-to-liferay-serv-4