留言板

Portlet project is not getting created

Shreyas Kamthe,修改在9 年前。

Portlet project is not getting created

Junior Member 帖子: 58 加入日期: 14-6-9 最近的帖子
Hi Everybody i am new to Liferay

I am not able to create new protlet project

[Console output redirected to file: D:\Workspace\Liferay\.metadata\.plugins\com.liferay.ide.sdk.core\sdk.log]
Buildfile: D:\SOFTWARES\LifeRay\liferay plugins sdk\liferay-plugins-sdk-6.2\portlets\build.xml
[ivy:resolve] :: Apache Ivy 2.3.0 - 20130110142753 :: http://ant.apache.org/ivy/ ::
[ivy:resolve] :: loading settings :: file = D:\SOFTWARES\LifeRay\liferay plugins sdk\liferay-plugins-sdk-6.2\ivy-settings.xml


This is my console and the ide gets stuck here
I have also replaced .ivy folder with the one in ivy-cache.6.2.10.1.zip

Please help me
thumbnail
Lu Li,修改在9 年前。

RE: Portlet project is not getting created

Junior Member 帖子: 40 加入日期: 13-5-3 最近的帖子
Hi Shreyas ,

ivy-cache.6.2.10.1.zip is for SDK-6.2-ee version , if you are using ga1/ga2-ce-SDK , could you try with this one .ivy.7zip

Also , u can put your .ivy file to your "usehome" location and refer to :
you can modify the "build.{username}.properties" file to point the ivy cache to a local directory that is outside the SDK. For instance, you could do this:
#build.username.properties
ivy.home=${user.home}/.ivy

Then once you cache all the ivy stuff once, then for all uses of the SDK in the future you will never need to re-download the ivy cache.
Shreyas Kamthe,修改在9 年前。

RE: Portlet project is not getting created

Junior Member 帖子: 58 加入日期: 14-6-9 最近的帖子
Hi Lu,
First of all thanks for the help

I replaced the ivy-cache.6.2.10.1 with the normal ivy-cache which Gregory Amerson had suggested.

Also can you tell me do i have to paste the following code in build.username.properties file and do i have to create a folder
outside sdk folder and provide its path in place of user.home ?

#build.username.properties
ivy.home=${user.home}/.ivy
thumbnail
Lu Li,修改在9 年前。

RE: Portlet project is not getting created

Junior Member 帖子: 40 加入日期: 13-5-3 最近的帖子
Hi Shreyas,

Could you try with the I one I attached in the link ?There is two ways you can try ,either one is okay.

1 download the ".ivy.7zip" file , unzip to and copy it to your sdk folder
2 put .ivy to a location out of sdk and specify it in your build.username.properties file to point this ivy location

For example , my computer username is "liferay" so in my sdk folder the file name is "build.liferay.properties " , i put this ".ivy" file to "C:\Users\liferay" , then open "build.liferay.properties" (under sdk location) and add a line "ivy.home=C:/Users/liferay/.ivy"
Shreyas Kamthe,修改在9 年前。

RE: Portlet project is not getting created

Junior Member 帖子: 58 加入日期: 14-6-9 最近的帖子
Hi Lu,

Thanks for replying

I tried the process you suggested but it still doesn't work.
Do i have to make any changes in any of the remaining xml files or properties files.
I am still getting the same console output i mentioned earlier.
My eclipse IDE gets stuck after that
thumbnail
Lu Li,修改在9 年前。

RE: Portlet project is not getting created

Junior Member 帖子: 40 加入日期: 13-5-3 最近的帖子
hi Shreyas ,

You don't need to make other change . Could you restart your IDE and try again ? if it get stuck you can stop by click the red button to kill the process .
Then could you check if the sdk in your IDE is the same with the one you put in the ".ivy " ?

If both couldn't work , could you pack your whole SDK and send to me so I can investigate it , thanks
Shreyas Kamthe,修改在9 年前。

RE: Portlet project is not getting created

Junior Member 帖子: 58 加入日期: 14-6-9 最近的帖子
Hi Lu,
The eclipse IDE does not hang but now it gives me a problem summary regarding unresolved dependencies

[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve] :: UNRESOLVED DEPENDENCIES ::
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve] :: org.apache.ant#ant-apache-bsf;1.8.3: not found
[ivy:resolve] :: biz.aQute#bnd;2.3.0: not found
[ivy:resolve] :: org.beanshell#bsh;2.0b4: not found
[ivy:resolve] :: bsf#bsf;2.4.0: not found
[ivy:resolve] :: commons-logging#commons-logging;1.1.1: not found
[ivy:resolve] :: com.google.errorprone#error_prone_ant;1.0.8: not found
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::

Can help me in this case please

i am attaching my console log below
thumbnail
Lu Li,修改在9 年前。

RE: Portlet project is not getting created

Junior Member 帖子: 40 加入日期: 13-5-3 最近的帖子
I just check ant-apache-bsf , commons-logging , error_prone_ant etc in the .ivy file that i attached , I can find all of these jars , can you also check if it is really exist ?
If your IDE doesn't hang by click the red button , you can just kill the process in "task manager " then try the way I suggested ? Thanks
Shreyas Kamthe,修改在9 年前。

RE: Portlet project is not getting created

Junior Member 帖子: 58 加入日期: 14-6-9 最近的帖子
Hi Lu,

Thanks for replying

I do have all those dependencies in my .ivy file
but where do we check for the jars if they are present or not
thumbnail
Lu Li,修改在9 年前。

RE: Portlet project is not getting created

Junior Member 帖子: 40 加入日期: 13-5-3 最近的帖子
hi Shreyas,

Sorry ,I don't know how does ivy get what version of jars . could you do the way I posted above and post the error log ? is it still says "UNRESOLVED DEPENDENCIES" ?
Shreyas Kamthe,修改在9 年前。

RE: Portlet project is not getting created

Junior Member 帖子: 58 加入日期: 14-6-9 最近的帖子
Hi Lu,

Thanks a lot. The ivy folder you provided has worked correctly.
The problem has finally been solved. Thanks again.
You saved my day.
Arun Kumar,修改在9 年前。

RE: Portlet project is not getting created

New Member 帖子: 5 加入日期: 14-7-5 最近的帖子
Hi Lu Li,

Even I am facing the same issue. Request you to help me in resolving the issue. The link you have provided for new .ivy is expired.
Thanks.
thumbnail
Lu Li,修改在9 年前。

RE: Portlet project is not getting created

Junior Member 帖子: 40 加入日期: 13-5-3 最近的帖子
Hi Arun,

Can you download .ivy from this link ivy-catch

Best Regards
Shreyas Kamthe,修改在9 年前。

RE: Portlet project is not getting created

Junior Member 帖子: 58 加入日期: 14-6-9 最近的帖子
Hi Arun,

This is Shreyas.
What Lu Li has suggested is really works wonders.The problem is that there are several dependencies mentioned
in the ivy xml file that are not present in the .ivy folder. So if you just replace that folder by the one given by Lu it would and should work.
You can also figure out this problem if you read the logs carefully.

Thanks
Arun Kumar,修改在9 年前。

RE: Portlet project is not getting created

New Member 帖子: 5 加入日期: 14-7-5 最近的帖子
Hi Lu Li,

Thanks for your prompt reply. I am getting the below message from the link you have provided. Please check and let me know.
{"error_code":31064,"error_msg":"expire time out error","request_id":1467046428}

Regards,
Arun
thumbnail
Lu Li,修改在9 年前。

RE: Portlet project is not getting created

Junior Member 帖子: 40 加入日期: 13-5-3 最近的帖子
Hi Arun ,

Thanks for reminding me, its not access in other countries ,sorry about that . I have updated the link now it points to my google drive , can you try with the link above again ?
Arun Kumar,修改在9 年前。

RE: Portlet project is not getting created

New Member 帖子: 5 加入日期: 14-7-5 最近的帖子
Hi Lu,

Thanks for providing the download link. I am downloading it . I will try the steps the you have mentioned and let you know.

Regards,
Arun
Arun Kumar,修改在9 年前。

RE: Portlet project is not getting created

New Member 帖子: 5 加入日期: 14-7-5 最近的帖子
Hi Lu,

I am able to create plugin now. Thanks a lot for your help.

Regards,
Arun
Liang Zhao,修改在9 年前。

RE: Portlet project is not getting created

New Member 帖子: 6 加入日期: 14-8-8 最近的帖子
Hi Lu,

I have the same problem. But I am in China, I can't access to Google Drive to get the ivy cache file.
Could you give me another link or send this file to my email?

I am using the the Plugins SDK 6.2 CE GA2.

Thanks a lot.
thumbnail
Lu Li,修改在9 年前。

RE: Portlet project is not getting created

Junior Member 帖子: 40 加入日期: 13-5-3 最近的帖子
Hi LiangZhao ,

Sorry for the inconvenient, here is a new link .ivy that could works in China .

Best Regards
Liang Zhao,修改在9 年前。

RE: Portlet project is not getting created

New Member 帖子: 6 加入日期: 14-8-8 最近的帖子
Hi Lu,

Thank you for your reply.

But I can't access Weiyun either. It's blocked by our company's proxy policy.

Could you upload this file as a attachment in this thread?
Or somewhere on your official site?
Or give me a 163.com link, looks like the 163.com link works for me.

Thanks.
thumbnail
Yanan Yuan,修改在9 年前。

RE: Portlet project is not getting created

Junior Member 帖子: 89 加入日期: 11-10-8 最近的帖子
Hello Liang,

Here is a temporary link and keywords to download the ivy file from 163.com:

Link:
ivy-cache-download
Keywords:
QZDai6lq

Please feel free to let us know if there is anything.
Liang Zhao,修改在9 年前。

RE: Portlet project is not getting created

New Member 帖子: 6 加入日期: 14-8-8 最近的帖子
Hi Yuan,

I still can't get it. The mail.163.com is also blocked.

Thank you for your reply.
Vaibhav Gadge,修改在9 年前。

RE: Portlet project is not getting created

New Member 帖子: 2 加入日期: 14-11-11 最近的帖子
give me some indian links for .ivy folder
thumbnail
Lu Li,修改在9 年前。

RE: Portlet project is not getting created

Junior Member 帖子: 40 加入日期: 13-5-3 最近的帖子
can u try this one?
https://www.liferay.com/community/forums/-/message_boards/view_message/47268689#_19_message_45281609
Liang Zhao,修改在9 年前。

RE: Portlet project is not getting created

New Member 帖子: 6 加入日期: 14-8-8 最近的帖子
Hi Lu,

Sorry for disturbing you so many times. But I still can't get the ivy cache file.
I found that I can access the ivy cache file from the link in the quoted post below.
But it's expired. Could you upload it again to the same place?

Thank you.

Lu Li:
Hi Shreyas ,

ivy-cache.6.2.10.1.zip is for SDK-6.2-ee version , if you are using ga1/ga2-ce-SDK , could you try with this one .ivy.7zip

Also , u can put your .ivy file to your "usehome" location and refer to :
you can modify the "build.{username}.properties" file to point the ivy cache to a local directory that is outside the SDK. For instance, you could do this:
#build.username.properties
ivy.home=${user.home}/.ivy

Then once you cache all the ivy stuff once, then for all uses of the SDK in the future you will never need to re-download the ivy cache.
thumbnail
Yanan Yuan,修改在9 年前。

RE: Portlet project is not getting created

Junior Member 帖子: 89 加入日期: 11-10-8 最近的帖子
Hello Liang,

Sorry for the inconvenience, Lu is on a vacation now.

And I've checked the following download url which you said could access:

ivy-cache.6.2.10.1.zip is for SDK-6.2-ee version , if you are using ga1/ga2-ce-SDK , could you try with this one .ivy.7zip


This is also shared on 163.com.

Since it expired, then could you try download from here ivy-cache-download-url with the fetch code you may need "QZDai6lq".

Hope it helps.
Liang Zhao,修改在9 年前。

RE: Portlet project is not getting created

New Member 帖子: 6 加入日期: 14-8-8 最近的帖子
Hi Yuan,

I can't access the nf.mail.163.com. It's blocked by our company's proxy.
But fs.163.com is fine.

Thank you.
thumbnail
Yanan Yuan,修改在9 年前。

RE: Portlet project is not getting created

Junior Member 帖子: 89 加入日期: 11-10-8 最近的帖子
Hi Liang,

Could you please try this one? It should be work for you now.

Download url:
ivy-cache

Please feel free to let me know if there is anything.
Liang Zhao,修改在9 年前。

RE: Portlet project is not getting created

New Member 帖子: 6 加入日期: 14-8-8 最近的帖子
Hi Yuan,

I can download the ivy file this time.
Thank you for your patience.