Foren

Liferay 6.2 IDE can't generate project

Scott Smith, geändert vor 9 Jahren.

Liferay 6.2 IDE can't generate project

New Member Beiträge: 7 Beitrittsdatum: 23.02.13 Neueste Beiträge
I'm using a fresh install of Liferay 6.2-ce-ga4 (tomcat 7 portal and plugins). I'm also doing a fresh install of the Liferay ide 2.2.2.201501300730-ga3 into a fresh install of eclipse (luna). When I try to create a new project, the console output claims to have completed successfully, but I get a popup message saying I need to check the eclipse log for errors and the project is not completed.

I see one error in the console output:

Error getting http://mirrors/cdn.repository.liferay.com/nexus/content/repositories/liferay-snapshots-ce/com/liferay/org.apache.ivy/2.4.0.LIFERAY-PATCHED-1-SNAPSHOT/org.apache.ivy-2.4.0.LIFERAY-PATCHED-1-SNAPSHOT.jar to D:\MyPrograms\Liferay\liferay-plugins-sdk-6.2\.ivy\ivy-2.4.0.LIFERAY-PATCHED-1-SNAPSHOT.jar

If I look in the eclipse log I see:

!ENTRY org.apache.ivyde.eclipse 1 0 2015-06-01 18:16:22.923
!MESSAGE starting IvyDE plugin

!ENTRY org.apache.ivyde.eclipse 1 0 2015-06-01 18:16:22.974
!MESSAGE IvyDE plugin started

!ENTRY com.liferay.ide.project.core 4 0 2015-06-01 18:43:19.651
!MESSAGE Error creating Liferay plugin project.
!STACK 1
org.eclipse.core.runtime.CoreException: Source 'C:\Users\scotts\workspaceLiferayLuna\.metadata\.plugins\com.liferay.ide.sdk.core\create\1433205668456' does not exist
at com.liferay.ide.project.core.PluginsSDKProjectProvider.doCreateNewProject(PluginsSDKProjectProvider.java:182)
at com.liferay.ide.project.core.NewLiferayProjectProvider.createNewProject(NewLiferayProjectProvider.java:45)
at com.liferay.ide.project.core.model.NewLiferayPluginProjectOpMethods.execute(NewLiferayPluginProjectOpMethods.java:109)
at com.liferay.ide.project.core.model.NewLiferayPluginProjectOp$Impl.execute(Unknown Source)
at org.eclipse.sapphire.ui.forms.swt.SapphireWizard.performFinish(SapphireWizard.java:370)
at org.eclipse.sapphire.ui.forms.swt.SapphireWizard$3.run(SapphireWizard.java:334)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
Caused by: java.io.FileNotFoundException: Source 'C:\Users\scotts\workspaceLiferayLuna\.metadata\.plugins\com.liferay.ide.sdk.core\create\1433205668456' does not exist
at org.apache.commons.io.FileUtils.copyDirectory(FileUtils.java:1298)
at org.apache.commons.io.FileUtils.copyDirectory(FileUtils.java:1191)
at org.apache.commons.io.FileUtils.copyDirectory(FileUtils.java:1160)
at com.liferay.ide.project.core.PluginsSDKProjectProvider.doCreateNewProject(PluginsSDKProjectProvider.java:176)
... 6 more
!SUBENTRY 1 com.liferay.ide.project.core 4 0 2015-06-01 18:43:19.652
!MESSAGE Source 'C:\Users\scotts\workspaceLiferayLuna\.metadata\.plugins\com.liferay.ide.sdk.core\create\1433205668456' does not exist
!STACK 0
java.io.FileNotFoundException: Source 'C:\Users\scotts\workspaceLiferayLuna\.metadata\.plugins\com.liferay.ide.sdk.core\create\1433205668456' does not exist
at org.apache.commons.io.FileUtils.copyDirectory(FileUtils.java:1298)
at org.apache.commons.io.FileUtils.copyDirectory(FileUtils.java:1191)
at org.apache.commons.io.FileUtils.copyDirectory(FileUtils.java:1160)
at com.liferay.ide.project.core.PluginsSDKProjectProvider.doCreateNewProject(PluginsSDKProjectProvider.java:176)
at com.liferay.ide.project.core.NewLiferayProjectProvider.createNewProject(NewLiferayProjectProvider.java:45)
at com.liferay.ide.project.core.model.NewLiferayPluginProjectOpMethods.execute(NewLiferayPluginProjectOpMethods.java:109)
at com.liferay.ide.project.core.model.NewLiferayPluginProjectOp$Impl.execute(Unknown Source)
at org.eclipse.sapphire.ui.forms.swt.SapphireWizard.performFinish(SapphireWizard.java:370)
at org.eclipse.sapphire.ui.forms.swt.SapphireWizard$3.run(SapphireWizard.java:334)
at org.eclipse.jface.operation.ModalContext

I've tried reinstalling about 4 times, but I always end up in the same place. Does anyone have any thoughts?
thumbnail
Aditya Bhardwaj, geändert vor 9 Jahren.

RE: Liferay 6.2 IDE can't generate project

Junior Member Beiträge: 78 Beitrittsdatum: 08.01.15 Neueste Beiträge
Hi,

For the first time liferay download ivy dependency.
Is ivy dependency is downloaded?
Are you connected to internet?
If yes after downloading ivy dependency try refresh workspace and then create your project.
thumbnail
Masroor Khan, geändert vor 9 Jahren.

RE: Liferay 6.2 IDE can't generate project

Regular Member Beiträge: 124 Beitrittsdatum: 09.09.08 Neueste Beiträge
Hi,

you can download ivy zip from "http://files.liferay.org.es/staged/public-files/liferay-ide/dependencies/files/ivy-cache.zip"
and copy this in your plugin root directory.
Scott Smith, geändert vor 9 Jahren.

RE: [Liferay Forums][3. Development] RE: Liferay 6.2 IDE can't generate pro

New Member Beiträge: 7 Beitrittsdatum: 23.02.13 Neueste Beiträge
The ivy cache is already getting built. It is quite different (different files) from what you point to.

But, I don’t think that’s the problem. I think it’s the exception which is in the ivy plugin – which I think means that it’s a plugin problem. Someone at Liferay must know what it means??!!

Scott

From: Masroor Khan from liferay.com [mailto:forums@liferay.com]
Sent: Tuesday, June 02, 2015 12:57 AM
To: forums@liferay.com
Subject: [Liferay Forums][3. Development] RE: Liferay 6.2 IDE can't generate project

Hi,

you can download ivy zip from "http://files.liferay.org.es/staged/public-files/liferay-ide/dependencies/files/ivy-cache.zip"
and copy this in your plugin root directory.


To view the thread, follow the link below:
https://www.liferay.com/community/forums/-/message_boards/view_message/54648568
--
Liferay.com<https://www.liferay.com>
Scott Smith, geändert vor 9 Jahren.

RE: [Liferay Forums][3. Development] RE: Liferay 6.2 IDE can't generate pro

New Member Beiträge: 7 Beitrittsdatum: 23.02.13 Neueste Beiträge
The ivy cache is already getting built. It is quite different (different files) from what you point to.

But, I don’t think that’s the problem. I think it’s the exception which is in the ivy plugin – which I think means that it’s a plugin problem. Someone at Liferay must know what it means??!!

Scott

From: Masroor Khan from liferay.com [mailto:forums@liferay.com]
Sent: Tuesday, June 02, 2015 12:57 AM
To: forums@liferay.com
Subject: [Liferay Forums][3. Development] RE: Liferay 6.2 IDE can't generate project

Hi,

you can download ivy zip from "http://files.liferay.org.es/staged/public-files/liferay-ide/dependencies/files/ivy-cache.zip"
and copy this in your plugin root directory.


To view the thread, follow the link below:
https://www.liferay.com/community/forums/-/message_boards/view_message/54648568
--
Liferay.com<https://www.liferay.com>
Scott Smith, geändert vor 9 Jahren.

RE: [Liferay Forums][3. Development] RE: Liferay 6.2 IDE can't generate pro

New Member Beiträge: 7 Beitrittsdatum: 23.02.13 Neueste Beiträge
The ivy cache is already getting built. It is quite different (different files) from what you point to.

But, I don’t think that’s the problem. I think it’s the exception which is in the ivy plugin – which I think means that it’s a plugin problem. Someone at Liferay must know what it means??!!

Scott

From: Masroor Khan from liferay.com [mailto:forums@liferay.com]
Sent: Tuesday, June 02, 2015 12:57 AM
To: forums@liferay.com
Subject: [Liferay Forums][3. Development] RE: Liferay 6.2 IDE can't generate project

Hi,

you can download ivy zip from "http://files.liferay.org.es/staged/public-files/liferay-ide/dependencies/files/ivy-cache.zip"
and copy this in your plugin root directory.


To view the thread, follow the link below:
https://www.liferay.com/community/forums/-/message_boards/view_message/54648568
--
Liferay.com<https://www.liferay.com>
Joshua Kafeero, geändert vor 9 Jahren.

RE: Liferay 6.2 IDE can't generate project

New Member Beitrag: 1 Beitrittsdatum: 20.11.15 Neueste Beiträge
How does one get access to

http://files.liferay.org.es/staged/public-files/liferay-ide/dependencies/files/ivy-cache.zip

Getting the ivy cache primed behind our firewall is turning out to be a problem.
Scott Smith, geändert vor 9 Jahren.

RE: [Liferay Forums][3. Development] RE: Liferay 6.2 IDE can't generate pro

New Member Beiträge: 7 Beitrittsdatum: 23.02.13 Neueste Beiträge
Yes, I am connected to the Internet (we have a fairly large pipe). I am seeing ivy download a bunch of stuff (38MB if I look in the ivy cache in the plugins directory).

The console seems to indicate that everything it needs is there.

I think the real problem is the exception in the log. The error message I get when it doesn’t build the project indicates that I should look at the eclipse log to see the error that killed everything.

Scott

From: Aditya Bhardwaj from liferay.com [mailto:forums@liferay.com]
Sent: Tuesday, June 02, 2015 12:45 AM
To: forums@liferay.com
Subject: [Liferay Forums][3. Development] RE: Liferay 6.2 IDE can't generate project

Hi,

For the first time liferay download ivy dependency.
Is ivy dependency is downloaded?
Are you connected to internet?
If yes after downloading ivy dependency try refresh workspace and then create your project.


To view the thread, follow the link below:
https://www.liferay.com/community/forums/-/message_boards/view_message/54646726
--
Liferay.com<https://www.liferay.com>
Scott Smith, geändert vor 9 Jahren.

RE: [Liferay Forums][3. Development] RE: Liferay 6.2 IDE can't generate pro

New Member Beiträge: 7 Beitrittsdatum: 23.02.13 Neueste Beiträge
Yes, I am connected to the Internet (we have a fairly large pipe). I am seeing ivy download a bunch of stuff (38MB if I look in the ivy cache in the plugins directory).

The console seems to indicate that everything it needs is there.

I think the real problem is the exception in the log. The error message I get when it doesn’t build the project indicates that I should look at the eclipse log to see the error that killed everything.

Scott

From: Aditya Bhardwaj from liferay.com [mailto:forums@liferay.com]
Sent: Tuesday, June 02, 2015 12:45 AM
To: forums@liferay.com
Subject: [Liferay Forums][3. Development] RE: Liferay 6.2 IDE can't generate project

Hi,

For the first time liferay download ivy dependency.
Is ivy dependency is downloaded?
Are you connected to internet?
If yes after downloading ivy dependency try refresh workspace and then create your project.


To view the thread, follow the link below:
https://www.liferay.com/community/forums/-/message_boards/view_message/54646726
--
Liferay.com<https://www.liferay.com>
Scott Smith, geändert vor 9 Jahren.

RE: [Liferay Forums][3. Development] RE: Liferay 6.2 IDE can't generate pro

New Member Beiträge: 7 Beitrittsdatum: 23.02.13 Neueste Beiträge
Yes, I am connected to the Internet (we have a fairly large pipe). I am seeing ivy download a bunch of stuff (38MB if I look in the ivy cache in the plugins directory).

The console seems to indicate that everything it needs is there.

I think the real problem is the exception in the log. The error message I get when it doesn’t build the project indicates that I should look at the eclipse log to see the error that killed everything.

Scott

From: Aditya Bhardwaj from liferay.com [mailto:forums@liferay.com]
Sent: Tuesday, June 02, 2015 12:45 AM
To: forums@liferay.com
Subject: [Liferay Forums][3. Development] RE: Liferay 6.2 IDE can't generate project

Hi,

For the first time liferay download ivy dependency.
Is ivy dependency is downloaded?
Are you connected to internet?
If yes after downloading ivy dependency try refresh workspace and then create your project.


To view the thread, follow the link below:
https://www.liferay.com/community/forums/-/message_boards/view_message/54646726
--
Liferay.com<https://www.liferay.com>