cancel
Showing results for 
Search instead for 
Did you mean: 

How to download Alfresco Source code

erdravi
Champ in-the-making
Champ in-the-making
Hi

     I had followed the below instruction to download alfresco source code. But i got error as coluld not resolve hostname svn.alfresco.com.

Checking out the source
The Alfresco Subversion repository resides at svn://www.alfresco.org/alfresco, so to check out the latest HEAD revision use the following command line:

svn co svn://svn.alfresco.com/alfresco/HEAD

You can also use the alternative HTTP URL http://svn.alfresco.com/repos/alfresco-open-mirror/alfresco/HEAD/

In case of error like : Error * PROPFIND request failed on '/repos/alfresco-open-mirror/alfresco/HEAD' PROPFIND of '/repos/alfresco-open-mirror/alfresco/HEAD': 500 Server Error (http://svn.alfresco.com) you can use this alternate url instead https://svn.alfresco.com/repos/alfresco-open-mirror/alfresco/HEAD/


Subversion repository access
Public read-only access to the Alfresco Subversion repository is available from the web site.

Install Subversion or Subeclipse and ensure that svn is on the path
Checkout the HEAD of the code stream:
Port 3690: svn co svn://svn.alfresco.com/alfresco/HEAD
Port 80  : svn co http://svn.alfresco.com/repos/alfresco-open-mirror/alfresco/HEAD
Keep up to date by issuing the command: svn update



Kindly help me to download source code using svn subversion.
12 REPLIES 12

chims
Champ in-the-making
Champ in-the-making
Hello,
     Well I am facing the same problem…ditto……Still I am also on the track to get the source code.A guy has suggested me the following solution most probably same as you have stated but still I am stating you……


Getting the source code from svn is easier.

If you dont have it, you can first download tortoise svn from
http://tortoisesvn.net/downloads , get 32 bit installer downloaded onto your system and install it. After completion it probably asks for restart. Restart back and u can observe two more tabs svn checkout , tortoiseSVN on the rightclick of mouse.
Now create a new folder where u want the code to be downloaded, rightclick on the folder, click svn checkout, on the Checkout window type this url http://svn.alfresco.com/repos/alfresco-open-mirror/alfresco/HEAD/ at URL repository and click ok.
The code is then downloaded from the svn.


Well I have tried with the above solution and was success in extracting 11bytes of data but thereafter faced with the following error :-

Error: Server sent unexpected return value (503 Internal error) in response to REPORT
Error: request for '/repos/alfresco-open-mirror/!svn/vcc/default'


I am still in search for its solution..If you get any then please let me know

Thanks Chims!!! Smiley Happy

mikeh
Star Contributor
Star Contributor
For Tortoise SVN, use the svn url, not the http one.

svn://www.alfresco.org/alfresco

Mike

vivek_met
Champ in-the-making
Champ in-the-making
I know this is too old post but Please give me some solution to it if you have for the  Alfresco 4.2a
Its not working and giving errors as:

Checkout from svn://www.alfresco.org/alfresco, revision HEAD, Fully recursive, Externals included
Can't connect to host 'www.alfresco.org': A connection attempt failed because
the connected party did not properly respond after a period of time, or
established connection failed because connected host has failed to respond.

vivek_met
Champ in-the-making
Champ in-the-making
solved the problem by using port number 8080 at SVN checkout apllication Settings

hr61369256
Champ in-the-making
Champ in-the-making
What I miss in the Wiki …
… is the svn command syntax, how to get
1.) a specific revision   … or
2.) a specific tagged revision.

What I figured out with google are the following commands. Please acknowledge or correct …

1.) svn co -r <rev.no.> http://svn.alfresco.com/repos/alfresco-open-mirror/alfresco
for the community tagged revisions:
2.) svn co http://svn.alfresco.com/repos/alfresco-open-mirror/alfresco/COMMUNITYTAGS/V4.2c/

Is this OK? Next question:
when I have downloaded a release, where can I see which revision number is it assigned to? (Normaly svn tells at the end which revision number was checked out, but when the command window is closed the info is gone …)

I just tried out both alternatives (revision 4576 and tagged revision V4.2a) and have got the same results like checking out just the HEAD revision … so the proposed commands do not what I have hoped they will do …

chims
Champ in-the-making
Champ in-the-making
Hello Mike….
                 Well thanks alot…It really worked….

Thanks Chims!!! Smiley Very Happy

chims
Champ in-the-making
Champ in-the-making
Hello,
        Can anyone tell me now I need to configure my Alfresco Source code in tomcat.I have placed it in tomcat,but I am not getting the login page URl, like i have http://localhost:8080/Alfresco/,but it doesnot give any login page for Alfresco.Help me out….

Thanks Chims!!! Smiley Happy

mikeh
Star Contributor
Star Contributor
You know you have to compile the source before deploying to Tomcat, right?