Message Boards

Liferay Bundle Directory is not detected in IDE

Doaa Farouk, modified 2 Months ago.

Liferay Bundle Directory is not detected in IDE

New Member Posts: 9 Join Date: 8/5/16 Recent Posts
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, modified 7 Years ago.

RE: Liferay Bundle Directory is not detected in IDE

Liferay Legend Posts: 1123 Join Date: 2/16/10 Recent Posts
Is there any error message that is displayed?
Doaa Farouk, modified 2 Months ago.

RE: Liferay Bundle Directory is not detected in IDE

New Member Posts: 9 Join Date: 8/5/16 Recent Posts
the IDE displays this message, when i browse the Tomcat directory:
Portal bundle does not exist.

Thanks,
thumbnail
Gregory Amerson, modified 7 Years ago.

RE: Liferay Bundle Directory is not detected in IDE

Liferay Legend Posts: 1123 Join Date: 2/16/10 Recent Posts
What is the bundle file that you are downloading? Can you show the contents of that directory?
Doaa Farouk, modified 2 Months ago.

RE: Liferay Bundle Directory is not detected in IDE

New Member Posts: 9 Join Date: 8/5/16 Recent Posts
Please find the attached screen of the bundle contents.
Hope to execuse as i'm new to Liferay development.

Thanks,
Doaa Farouk, modified 2 Months ago.

RE: Liferay Bundle Directory is not detected in IDE

New Member Posts: 9 Join Date: 8/5/16 Recent Posts
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, modified 7 Years ago.

RE: Liferay Bundle Directory is not detected in IDE

New Member Posts: 19 Join Date: 7/27/16 Recent Posts
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, modified 2 Months ago.

RE: Liferay Bundle Directory is not detected in IDE

New Member Posts: 9 Join Date: 8/5/16 Recent Posts
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, modified 7 Years ago.

RE: Liferay Bundle Directory is not detected in IDE

New Member Posts: 19 Join Date: 7/27/16 Recent Posts
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ý, modified 3 Years ago.

RE: Liferay Bundle Directory is not detected in IDE

Liferay Master Posts: 566 Join Date: 7/22/10 Recent Posts
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.