Changes between Version 3 and Version 4 of Getting-Started/Download-Source


Ignore:
Timestamp:
Apr 28, 2009 1:14:39 PM (15 years ago)
Author:
ismangil
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Getting-Started/Download-Source

    v3 v4  
    1616PJPROJECT Subversion repository will always contain the latest/most up-to-date version of the sources. Normally the Subversion repository is always kept in a "good" state. However, there's always a chance that things break and the tree doesn't build correctly (particularly for the "not-so-popular" targets), so please consult the mailing list should there be any problems. 
    1717 
    18 Using Subversion also has benefits of keeping the local copy of the source up to date with the main PJ source tree and to easily track the changes made to the local copy, if any. 
     18Using Subversion also has benefits of keeping the local copy of the source up to date with the main PJ source tree and to easily track the changes made to the local copy, if any. [wiki:Getting-Started/Using-Subversion Learn more about using Subversion]. 
    1919 
    20   
    21 What is Subversion 
     20The path to the repository is: 
    2221 
    23 Subversion (SVN) is Open Source version control system similar to CVS. Subversion homepage is in http://subversion.tigris.org/ 
     22'''http://svn.pjsip.org/repos/pjproject/trunk''' 
    2423 
    25   
    26 Getting Subversion Client 
     24No userid or password is needed.  
    2725 
    28 A Subversion (SVN) client is needed to download the PJ source files from pjsip.org SVN tree. SVN client binaries can be downloaded from http://subversion.tigris.org/, and the program should be available for Windows, Linux, MacOS X, and many more platforms. 
    29  
    30   
    31 Getting the Source for The First Time 
    32  
    33 Once Subversion client is installed, the following commands can be used to initially retrieve the latest sources from the Subversion trunk: 
    34  
    35          
    36  
    37 $ svn co http://svn.pjsip.org/repos/pjproject/trunk pjproject 
    38 $ cd pjproject 
    39  
    40   
    41 Keeping The Local Copy Up-to-Date 
    42  
    43 Once sources have been downloaded, we can keep the local copy up to date by periodically synchronizing the local source with the latest revision from the PJ's Subversion trunk. The mailing list provides best source of information about the availability of new updates in the trunk. 
    44  
    45 To update the local copy with the latest changes in the main PJ's repository: 
    46  
    47          
    48  
    49 $ cd pjproject 
    50 $ svn update 
    51  
    52   
    53 Tracking Local and Remote Changes 
    54  
    55 To see what files have been changed locally: 
    56  
    57          
    58  
    59 $ cd pjproject 
    60 $ svn status 
    61  
    62 The above command only compares local file against the original local copy, so it doesn't require Internet connection while performing the check. 
    63  
    64 To see both what files have been changed locally and what files have been updated in the PJ's Subversion repository: 
    65  
    66          
    67  
    68 $ cd pjproject 
    69 $ svn status -u 
    70  
    71 Note that this command requires active Internet connection to query the status of PJPROJECT's source repository. 
    72  
    73   
    74261.3 Source Directories Layout 
    7527Top-Level Directory Layout