Foren

Liferay Bundle Directory is not detected in IDE

Doaa Farouk, geändert vor 2 Monaten.

Liferay Bundle Directory is not detected in IDE

New Member Beiträge: 9 Beitrittsdatum: 05.08.16 Neueste Beiträge
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, geändert vor 7 Jahren.

RE: Liferay Bundle Directory is not detected in IDE

Liferay Legend Beiträge: 1123 Beitrittsdatum: 16.02.10 Neueste Beiträge
Is there any error message that is displayed?
Doaa Farouk, geändert vor 2 Monaten.

RE: Liferay Bundle Directory is not detected in IDE

New Member Beiträge: 9 Beitrittsdatum: 05.08.16 Neueste Beiträge
the IDE displays this message, when i browse the Tomcat directory:
Portal bundle does not exist.

Thanks,
thumbnail
Gregory Amerson, geändert vor 7 Jahren.

RE: Liferay Bundle Directory is not detected in IDE

Liferay Legend Beiträge: 1123 Beitrittsdatum: 16.02.10 Neueste Beiträge
What is the bundle file that you are downloading? Can you show the contents of that directory?
Doaa Farouk, geändert vor 2 Monaten.

RE: Liferay Bundle Directory is not detected in IDE

New Member Beiträge: 9 Beitrittsdatum: 05.08.16 Neueste Beiträge
Please find the attached screen of the bundle contents.
Hope to execuse as i'm new to Liferay development.

Thanks,
Doaa Farouk, geändert vor 2 Monaten.

RE: Liferay Bundle Directory is not detected in IDE

New Member Beiträge: 9 Beitrittsdatum: 05.08.16 Neueste Beiträge
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, geändert vor 7 Jahren.

RE: Liferay Bundle Directory is not detected in IDE

New Member Beiträge: 19 Beitrittsdatum: 27.07.16 Neueste Beiträge
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, geändert vor 2 Monaten.

RE: Liferay Bundle Directory is not detected in IDE

New Member Beiträge: 9 Beitrittsdatum: 05.08.16 Neueste Beiträge
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, geändert vor 7 Jahren.

RE: Liferay Bundle Directory is not detected in IDE

New Member Beiträge: 19 Beitrittsdatum: 27.07.16 Neueste Beiträge
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ý, geändert vor 3 Jahren.

RE: Liferay Bundle Directory is not detected in IDE

Liferay Master Beiträge: 566 Beitrittsdatum: 22.07.10 Neueste Beiträge
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.