Foros

Inicio » Liferay IDE » English

Vista combinada Visión Plana Vista de árbol
Discusiones [ Anterior | Siguiente ]
toggle
Jack Daniels
Liferay IDE + Liferay EE
8 de marzo de 2011 14:45
Respuesta

Jack Daniels

Ranking: New Member

Mensajes: 19

Fecha de incorporación: 17 de mayo de 2010

Mensajes recientes

Does any one know if it's possible to use Liferay IDE with the EE version of Liferay? I am aware of the existence Liferay Developer Studio but just wondering if it's possible to have this combination.

I have tried to install Liferay Developer Studio, using the Update site approach into an existing Eclipse installation (Version: Helios Service Release 2 Build id: 20110301-1815) and I keep getting the following error:

1An internal error occurred during: "Publishing to Liferay v6.0 EE Server (Tomcat 6) at localhost...".
2org.eclipse.jst.server.tomcat.core.internal.ITomcatVersionHandler.prepareForServingDirectly(Lorg/eclipse/core/runtime/IPath;Lorg/eclipse/jst/server/tomcat/core/internal/TomcatServer;)Lorg/eclipse/core/runtime/IStatus;


Since I'm currently stuck on this, I'm about to punt on Liferay Developer Studio in favor of the freely available Liferay IDE but wasn't sure if it supports the EE version of Liferay.

Any pointers will be greatly appreciated.

Thanks all.
Gregory Amerson
RE: Liferay IDE + Liferay EE
9 de marzo de 2011 7:12
Respuesta

Gregory Amerson

LIFERAY STAFF

Ranking: Liferay Master

Mensajes: 775

Fecha de incorporación: 16 de febrero de 2010

Mensajes recientes

Hello Jack,

As of the latest version of the Liferay IDE it is possible to use it in combination with Liferay Portal EE. The error you are seeing is a bug in Liferay IDE with Eclipse Helios SR2 compatibility. This has been fixed with the latest Liferay IDE v1.2.2 release, so just do a check for updates to get the latest IDE release.
Jack Daniels
RE: Liferay IDE + Liferay EE
9 de marzo de 2011 14:47
Respuesta

Jack Daniels

Ranking: New Member

Mensajes: 19

Fecha de incorporación: 17 de mayo de 2010

Mensajes recientes

You are right, it does work. I was able to get an Liferay IDE running with Liferay Portal EE. The only issue was the runtime adaptor error that it gave but that was by no means a show stopper. (I have attached the screenshot). The error is pretty explanatory though and we just need to move to the freely available Liferay Developer Studio.

Thanks for the prompt response and I also want to take the opportunity to thank you for all the effort you've put into the Eclipse tool. It has been a joy to use by me and my team. All the very best.

Cheers.
Adjunto

archivos adjuntos: runtime-adaptor-error.png (88,2k)
Gregory Amerson
RE: Liferay IDE + Liferay EE
9 de marzo de 2011 15:15
Respuesta

Gregory Amerson

LIFERAY STAFF

Ranking: Liferay Master

Mensajes: 775

Fecha de incorporación: 16 de febrero de 2010

Mensajes recientes

Glad the upgrade worked. Upgrading to Liferay Developer Studio from Liferay IDE unfortunately isn't as seemless as it could be. RIght now you have to uninstall Liferay IDE feature and then install the Developer Studio feature from the updatesite which you can download from this page:

http://www.liferay.com/group/customer/liferay-developer-studio

Then you will not see that error anymore. Let me know if you have any issues.
Bert Vandenslagsmulders
RE: Liferay IDE + Liferay EE
14 de marzo de 2011 6:18
Respuesta

Bert Vandenslagsmulders

Ranking: New Member

Mensajes: 1

Fecha de incorporación: 23 de febrero de 2011

Mensajes recientes

We have the problem as well, and on the customer site only this plugin (an old one?) is available

Eclipse plug-in download liferay-developer-studio-updatesite-1.0.1.zip
Gregory Amerson
RE: Liferay IDE + Liferay EE
14 de marzo de 2011 9:40
Respuesta

Gregory Amerson

LIFERAY STAFF

Ranking: Liferay Master

Mensajes: 775

Fecha de incorporación: 16 de febrero de 2010

Mensajes recientes

Hi Bert,

That is the latest version of Liferay Developer Studio (1.0.1) which is current with Liferay IDE 1.2. Sorry we will be syncing the version #s in the next release so its easier to tell, i.e. Developer studio version will always be same as the version of the IDE that it is based off of.

Anyways, the dialog message mentioned above is not an error it is just telling you that you are using the CE server adapter instead of the EE server adapter. If you go to Servers > Runtimes in Eclipse preferences you will see the type of the runtime is Liferay CE. Create a new one that is of type EE and then create a new server using this new Runtime and then you won't get that dialog prompt.
SZ khan
RE: Liferay IDE + Liferay EE
15 de marzo de 2011 7:53
Respuesta

SZ khan

Ranking: Regular Member

Mensajes: 148

Fecha de incorporación: 31 de octubre de 2009

Mensajes recientes

Actually I have the same error when starting the EE Server and I am using Developer Studio.
Despite the error, the server gets started.

Sultee
Gregory Amerson
RE: Liferay IDE + Liferay EE
15 de marzo de 2011 7:56
Respuesta

Gregory Amerson

LIFERAY STAFF

Ranking: Liferay Master

Mensajes: 775

Fecha de incorporación: 16 de febrero de 2010

Mensajes recientes

You can be using Dev Studio but still using the CE adapter. DevStudio has both CE and EE server adapters. So the message is a little misleading.

If you go to Window > Prefs > Server > runtime environments and check the type on the runtime instance, it should be of type Liferay EE, not Liferay CE.
SZ khan
RE: Liferay IDE + Liferay EE
15 de marzo de 2011 8:01
Respuesta

SZ khan

Ranking: Regular Member

Mensajes: 148

Fecha de incorporación: 31 de octubre de 2009

Mensajes recientes

I checked and am using the EE Adapter.
When I start my server, following message comes

1An internal error occurred during: "Publishing to Liferay v6.0 EE Server (Tomcat 6) at localhost...".
2org.eclipse.jst.server.tomcat.core.internal.ITomcatVersionHandler.prepareForServingDirectly(Lorg/eclipse/core/runtime/IPath;Lorg/eclipse/jst/server/tomcat/core/internal/TomcatServer;)Lorg/eclipse/core/runtime/IStatus;


However the server do get started.
Gregory Amerson
RE: Liferay IDE + Liferay EE
15 de marzo de 2011 8:11
Respuesta

Gregory Amerson

LIFERAY STAFF

Ranking: Liferay Master

Mensajes: 775

Fecha de incorporación: 16 de febrero de 2010

Mensajes recientes

Oh i see. That error is because of an incompatibility with Eclispe Helios SR2 in Developer Studio 1.0.1. This will be fixed in the next release of Developer Studio. So the two solutions are to downgrade to Helios SR1 or wait for next developer studio release and update to it. Sorry for inconvenience.
Luca Forni
RE: Liferay IDE + Liferay EE
15 de marzo de 2011 8:12
Respuesta

Luca Forni

Ranking: Junior Member

Mensajes: 40

Fecha de incorporación: 25 de septiembre de 2008

Mensajes recientes

It is an incompatibility problem of Liferay Developer Studio with Eclipse SR2.
If you use Liferay Developer Studio, you should't update eclipse to SR2.
Jorge Cabrita de Sousa
RE: Liferay IDE + Liferay EE
15 de marzo de 2011 9:34
Respuesta

Jorge Cabrita de Sousa

Ranking: New Member

Mensajes: 8

Fecha de incorporación: 10 de marzo de 2011

Mensajes recientes

Hi there,

Don't know if this helps, but I seem to have managed to reproduce this bug simply by installing the Subclipse (site-1.6.17.zip) and WTP (wtp-repo-R-3.2.3-20110217214612.zip) downloaded from their websites.
Gregory Amerson
RE: Liferay IDE + Liferay EE
15 de marzo de 2011 9:40
Respuesta

Gregory Amerson

LIFERAY STAFF

Ranking: Liferay Master

Mensajes: 775

Fecha de incorporación: 16 de febrero de 2010

Mensajes recientes

It does help. The problem is introduced with WTP 3.2.3.

We have already fixed this issue with Liferay IDE version 1.2.2. However, we have not updated DevStudio yet with the latest Liferay IDE code, it is still using IDE 1.2.1, that has the break.

So Liferay IDE users can simply just perform a check for updates to get the fix. DevStudio users will need to either downgrade or wait for next Studio release which should be available in next week or two.