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 Attachments
77587 Views
Average (2 Votes)
The average rating is 1.0 stars out of 5.
Comments
Threaded Replies Author Date
I'm sorry to tell that I cannot run the... Hiran Chaudhuri September 6, 2010 6:27 AM
I have tried as well in windows, but unable to... Bhupender Giri February 3, 2011 4:18 AM
Subclipse error: Error validating location:... Scott Sommer July 3, 2011 9:36 PM
The actual URL is:... Scott Sommer July 3, 2011 9:38 PM
I get a "No connection could be made because... Dana Oredson October 20, 2011 11:10 AM

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)

$
Posted on 9/6/10 6:27 AM.
I have tried as well in windows, but unable to checkout emoticon

Error message is : Enable to connect to svn.liferay.com
Posted on 2/3/11 4:18 AM in reply to 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.
Posted on 7/3/11 9:36 PM.
The actual URL is: svn://svn.liferay.com/repos/public/portal/trunk
Posted on 7/3/11 9:38 PM.
I get a "No connection could be made because the target machine actively refused it."

Is this still supported/allowed?
Posted on 10/20/11 11:10 AM.