Fórum

Download Primefaces Demo from GIT is not Working

Tulsi Rai, modificado 10 Anos atrás.

Download Primefaces Demo from GIT is not Working

New Member Postagens: 18 Data de Entrada: 05/02/13 Postagens Recentes
Good Morning,
Tried to download the demo for Primefaces 3 and 5 from https://github.com/liferay/liferay-faces/tree/3.1.3-ga4/demos/bridge/primefaces3-portlet . It fails with the following error:

fatal: repository 'https://github.com/liferay/liferay-faces/tree/3.1.3-ga4/demos/bridge/primefaces3-portlet/' not found

Can you please help resolve it?

Thanks.
TRai
thumbnail
Kyle Joseph Stiemann, modificado 10 Anos atrás.

RE: Download Primefaces Demo from GIT is not Working

Liferay Master Postagens: 760 Data de Entrada: 14/01/13 Postagens Recentes
Hi Tulsi,
As far as I know, you cannot clone, download, or checkout part of a git repository. If you want to download the primefaces3-portlet source you will need to clone the whole repository using the command:

git clone https://github.com/liferay/liferay-faces.git

Then you would need to go into the cloned directory and checkout the 3.1.3-ga4 branch:

cd liferay-faces
git checkout 3.1.3-ga4

From there you can look at the primefaces3-portlet source code in the liferay-faces/demos/bridge/primefaces3-portlet/ directory, or you can build Liferay Faces from source if you want to deploy the primefaces3-portlet.

However, if you just want the deployable primefaces3-portlet without building from source, you can go here and download the binary file. If you want to get the source from liferay.com instead of using git to checkout the complete source code, you can download the source files (which will give you the .java files) and binary file (which will give you the .xhtml view files). Just download the files, rename them to .zip files, and extract them to get the source.

Hope that helps,
- Kyle