Alternative Languages: 日本語

Introduction #

Subversion (also known as SVN) is a broadly used version control system. It is used to manage code and to help many developers to work on the same software project. Liferay uses SVN to manage its code and there is a public repository available for the community to access.

Liferay SVN Repository #

The complete source code of Liferay CE is available via Liferay's SVN.

SVN Client #

To use Liferay's subversion repository, you must have an SVN client installed such as SmartSVN (platform-agnostic). SmartSVN and others do use graphical interfaces -- however if you so choose to use the command line interface, you can use Sliksvn (Windows). If you are on OSX, you can use MacPorts to install subversion command line client. If you are on Linux, you can use your package manager to install it.

For Ubuntu/Debian users, installing subversion on the command line is as easy as sudo apt-get install subversion

Accessing Liferay's Repository #

The URL for Liferay's repo is http://svn.liferay.com/repos/public/

The login credentials are:

User: guest Password: 
(read that as: empty password, none, nada)

Repository Structure #

For portal source code, checkout /portal/trunk. For plugins source code (including portlets, ext-plugins, and hooks), checkout /plugins/trunk. For AlloyUI source code, checkout /alloy/trunk. For Liferay IDE source code, checkout /tools/trunk/ide.

Alternatively, you can checkout the entire repository if you so choose.

Liferay Issue TrackerSubversion Guidelines (Liferay internal svn guidelines)

0 附件
66377 查看
平均 (2 票)
满分为 5,平均得分为 1.0。
评论
讨论主题回复 作者 日期
I'm sorry to tell that I cannot run the... Hiran Chaudhuri 2010年9月6日 上午6:27
I have tried as well in windows, but unable to... Bhupender Giri 2011年2月3日 上午4:18
Subclipse error: Error validating location:... Scott Sommer 2011年7月3日 下午9:36
The actual URL is:... Scott Sommer 2011年7月3日 下午9:38
I get a "No connection could be made because... Dana Oredson 2011年10月20日 上午11:10

I'm sorry to tell that I cannot run the checkout from either TortoiseSVN or cygwin svn commandline. The error I get is still an authentication denied message regardless of using 'Guest'/'Guest', 'guest'/'guest' or 'guest'/'' to logon.

$ svn co http://svn.liferay.com/repos/public/ liferay
Authentication realm: <http://svn.liferay.com:80> Subversion Repository
Password for 'hiran.chaudhuri':
Authentication realm: <http://svn.liferay.com:80> Subversion Repository
Username: guest
Password for 'guest':
Authentication realm: <http://svn.liferay.com:80> Subversion Repository
Username: guest
Password for 'guest':
svn: OPTIONS of 'http://svn.liferay.com/repos/public': authorization failed: Could not authenticate to server: rejected
Basic challenge (http://svn.liferay.com)

$
在 10-9-6 上午6:27 发帖。
I have tried as well in windows, but unable to checkout emoticon

Error message is : Enable to connect to svn.liferay.com
在 11-2-3 上午4:18 发帖以回复 Hiran Chaudhuri
Subclipse error:
Error validating location: "org.tigris.subversion.javahl.ClientException: RA layer request failed
svn: OPTIONS of 'http://svn.liferay.com/repos/public': could not connect to server (http://svn.liferay.com)"

Able to connect to other svn repositorys fine, if they have a password it prompts.
在 11-7-3 下午9:36 发帖。
The actual URL is: svn://svn.liferay.com/repos/public/portal/trunk
在 11-7-3 下午9:38 发帖。
I get a "No connection could be made because the target machine actively refused it."

Is this still supported/allowed?
在 11-10-20 上午11:10 发帖。