Foros de discusión

Liferay Bundle Directory is not detected in IDE

Doaa Farouk, modificado hace 2 meses.

Liferay Bundle Directory is not detected in IDE

New Member Mensajes: 9 Fecha de incorporación: 5/08/16 Mensajes recientes
Hi,

I installed the Liferay IDE release 3.0.1, now i'd like to define the Liferay runtime.
So, i downloaded the Liferay Portal Bundle 7.x, then in IDE i choose define new server -> Liferay 7.x -> Next,
when i browse for the bundled tomcat folder, the IDE does not detect the runtime.

please advise.
Any download link for the Liferay Bundle 6.2 is available ?

Thanks,
thumbnail
Gregory Amerson, modificado hace 7 años.

RE: Liferay Bundle Directory is not detected in IDE

Liferay Legend Mensajes: 1123 Fecha de incorporación: 16/02/10 Mensajes recientes
Is there any error message that is displayed?
Doaa Farouk, modificado hace 2 meses.

RE: Liferay Bundle Directory is not detected in IDE

New Member Mensajes: 9 Fecha de incorporación: 5/08/16 Mensajes recientes
the IDE displays this message, when i browse the Tomcat directory:
Portal bundle does not exist.

Thanks,
thumbnail
Gregory Amerson, modificado hace 7 años.

RE: Liferay Bundle Directory is not detected in IDE

Liferay Legend Mensajes: 1123 Fecha de incorporación: 16/02/10 Mensajes recientes
What is the bundle file that you are downloading? Can you show the contents of that directory?
Doaa Farouk, modificado hace 2 meses.

RE: Liferay Bundle Directory is not detected in IDE

New Member Mensajes: 9 Fecha de incorporación: 5/08/16 Mensajes recientes
Please find the attached screen of the bundle contents.
Hope to execuse as i'm new to Liferay development.

Thanks,
Doaa Farouk, modificado hace 2 meses.

RE: Liferay Bundle Directory is not detected in IDE

New Member Mensajes: 9 Fecha de incorporación: 5/08/16 Mensajes recientes
No need, i configured by creating new Liferay workspace in IDE:
https://dev.liferay.com/develop/tutorials/-/knowledge_base/7-0/creating-a-liferay-workspace-with-liferay-ide

Thanks,
thumbnail
Jose C Cuellar, modificado hace 7 años.

RE: Liferay Bundle Directory is not detected in IDE

New Member Mensajes: 19 Fecha de incorporación: 27/07/16 Mensajes recientes
Hi.

I'm having the same problem. It's curious since it only happens when creating Liferay 7 servers; the problem doesn't appear when creating a 6.2 server.

I moved my Liferay 7 bundle inside the workspace and I changed the gradle.properties file to:
liferay.workspace.home.dir=/home/jose/Dropbox/workspace/healthpoint/liferay-ce-portal-7.0-ga2

It didn't succeed :-(

Any help will be welcomed. Thanks in advance.
Doaa Farouk, modificado hace 2 meses.

RE: Liferay Bundle Directory is not detected in IDE

New Member Mensajes: 9 Fecha de incorporación: 5/08/16 Mensajes recientes
It may work, if you checked 'download liferay bundle' in the new liferay workspace in the IDE.
as shown in attached screen.

(I'm still having a problem to start the bundle server though).

Thanks,
thumbnail
Jose C Cuellar, modificado hace 7 años.

RE: Liferay Bundle Directory is not detected in IDE

New Member Mensajes: 19 Fecha de incorporación: 27/07/16 Mensajes recientes
Hi Doaa.

Yes, I know. That's what I've done by the moment, but my idea was having an independent portal running and linking Eclipse's Liferay IDE with it. Thanks anyway.

I also had problems starting the bundled server, I got a java.lang.NullPointerException when running it from Eclipse. When I started it manually with bundles/tomcat-8.0.32/bin/startup.sh I discovered that the bundles/tomcat-8.0.32/logs folder is missing in the bundle; when I created the folder by myself it started to work.

Best regards.
Jan Tošovský, modificado hace 3 años.

RE: Liferay Bundle Directory is not detected in IDE

Liferay Master Mensajes: 566 Fecha de incorporación: 22/07/10 Mensajes recientes
Maybe different issue, but the same error message. I usually move webapps folder one level up. I've just found this is the reason why IDEA can't detect my bundle as valid. Tested on LR 7.3. Keeping here for future reference.