Some time we may face problem of creating Liferay plugin application with liferay-plugins-sdk-6.2-ce-ga3 with Liferay IDE 2.x due to incomplete download of ivy required jar files and configuration files through eclipse.
When we trying to create Liferay plugin project for first time, the project may not be created successfully due to problem with downloading of ivy related required jar files from eclipse.
In Liferay plugins sdk 6.2 GA3, we can find .ivy directory(liferay-plugins-sdk-6.2\.ivy). In side of .ivy directory we can see cache directory and ivy-2.3.0.jar file.
Due to some proxy issues or fire wall problems or internet connectivity, the ivy related all jar files and other configuration files will not be downloaded in the cache (liferay-plugins-sdk-6.2\.ivy\cache) directory for first time when we create Liferay plugin project.
For the first time if everything is fine then it will take several minutes to download all required jar files and configuration files in plugins-sdk cache location (liferay-plugins-sdk-6.2\.ivy\cache).
In some cases the creation of new Liferay plugin project may not be completed and keep on loading like shown in below screenshot, then there might be a problem with downloading of ivy related jar file. In that case we need to download all .ivy related jar files manually.
What are all jar file should be downloaded and its repository locations was specified in the ivy-settings.xml file which is in liferay-plugins-sdk-6.2.
The following is reference of settings.xml
Solution for the above problem:
To fix the above explained problem, we should manually download ivy related jar files and configuration files and place them in appropriate location of liferay plugins sdk 6.2 GA3.
Procedure:
Download ivy zip files from following location
Copy ivy-cache.zip to liferay-plugins-sdk-6.2 (this is your Liferay plugins sdk)
Now extract the downloaded ivy-cache.zip in the same location. i.e., Liferay-plugins-sdk-6.2 (use extract here from WinRAR or zip software)
Now all required jar files and configuration files will be placed in .ivy directory.
The following is the screenshot of .ivy directory (\liferay-plugins-sdk-6.2\.ivy)
The following is the cache directory screenshot, which shows all required jar files
You can follow above procedure or you can download fully working Liferay-plugins-sdk-6.2-ce-ga3 from following location and in this plugins SDK i already downloaded ivy related jar files and included in the Liferay-plugins-sdk-6.2-ce-ga3.
Author
0 comments:
Post a Comment