karaf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From conflue...@apache.org
Subject [CONF] Apache Karaf > Source
Date Fri, 09 Jul 2010 12:12:00 GMT
<html>
<head>
    <base href="https://cwiki.apache.org/confluence">
            <link rel="stylesheet" href="/confluence/s/1810/9/3/_/styles/combined.css?spaceKey=KARAF&amp;forWysiwyg=true"
type="text/css">
    </head>
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
    <h2><a href="https://cwiki.apache.org/confluence/display/KARAF/Source">Source</a></h2>
    <h4>Page <b>edited</b> by             <a href="https://cwiki.apache.org/confluence/display/~gnodet">Guillaume
Nodet</a>
    </h4>
        <br/>
                         <h4>Changes (3)</h4>
                                 
    
<div id="page-diffs">
            <table class="diff" cellpadding="0" cellspacing="0">
            <tr><td class="diff-snipped" >...<br></td></tr>
            <tr><td class="diff-unchanged" >h2. Using GIT-SVN <br> <br></td></tr>
            <tr><td class="diff-deleted-lines" style="color:#999;background-color:#fdd;text-decoration:line-through;">See
[http://git.apache.org/]. <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">A
git-svn mirror is available. <br></td></tr>
            <tr><td class="diff-unchanged" > <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">{code}
<br>PROJECT_NAME=&quot;karaf&quot; <br>git clone git://git.apache.org/&quot;$PROJECT_NAME&quot;
<br>cd &quot;$PROJECT_NAME&quot;/.git; wget http://git.apache.org/authors.txt;
cd .. <br>git config svn.authorsfile &quot;.git/authors.txt&quot; <br>git
svn init --prefix=origin/ --tags=tags --trunk=trunk --branches=branches https://svn.apache.org/repos/asf/&quot;$PROJECT_NAME&quot;
<br>git svn rebase <br>{code} <br> <br></td></tr>
            <tr><td class="diff-unchanged" >h2. Building the code <br> <br></td></tr>
            <tr><td class="diff-snipped" >...<br></td></tr>
        </table>
</div>                            <h4>Full Content</h4>
                    <div class="notificationGreySide">
        <h2><a name="Source-WebBrowsingofSVN"></a>Web Browsing of SVN</h2>

<p>To browse  via the web use the ViewVC interface:</p>

<div class="panel" style="border-width: 1px;"><div class="panelContent">
<p><a href="http://svn.apache.org/viewvc/karaf/trunk/" class="external-link" rel="nofollow">http://svn.apache.org/viewvc/karaf/trunk/</a></p>
</div></div>

<p>Or to browse the source tree directly:</p>

<div class="panel" style="border-width: 1px;"><div class="panelContent">
<p><a href="https://svn.apache.org/repos/asf/karaf/trunk/" class="external-link"
rel="nofollow">https://svn.apache.org/repos/asf/karaf/trunk/</a></p>
</div></div>

<h3><a name="Source-WebBrowingUsingFishEye"></a>Web Browing Using FishEye
</h3>

<p>A hearty thanks to <a href="http://atlassian.com/" class="external-link" rel="nofollow">Atlassian</a>
for providing <a href="http://cenqua.com/fisheye/" class="external-link" rel="nofollow">FishEye</a>
hosting for Karaf. Below is the URL to browse the Subversion repo via FishEye: </p>

<div class="panel" style="border-width: 1px;"><div class="panelContent">
<p><a href="http://fisheye6.cenqua.com/browse/karaf" class="external-link" rel="nofollow">http://fisheye6.cenqua.com/browse/karaf</a></p>
</div></div>


<h2><a name="Source-CheckingoutfromSVN"></a>Checking out from SVN</h2>

<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java">
svn co https:<span class="code-comment">//svn.apache.org/repos/asf/karaf/trunk camel</span>
</pre>
</div></div>

<p>Only project developers can commit to the SVN tree via this method.  SSH must be
installed on your client machine. Enter your site password when prompted.</p>

<h3><a name="Source-SVNandEclipse"></a>SVN and Eclipse</h3>

<p>See <a href="http://www-128.ibm.com/developerworks/library/os-ecl-subversion/index.html"
class="external-link" rel="nofollow">this article</a> for getting started guides.
Basically you need <a href="http://subclipse.tigris.org" class="external-link" rel="nofollow">subclipse</a></p>

<h3><a name="Source-Branches"></a>Branches</h3>

<p>We use the trunk for the next main release; then we use a branch for any bug fixes
on the previous major release. You can look at all branches here</p>

<p><a href="https://svn.apache.org/repos/asf/karaf/branches/" class="external-link"
rel="nofollow">https://svn.apache.org/repos/asf/karaf/branches/</a></p>

<h3><a name="Source-Sandbox"></a>Sandbox</h3>

<p>We have added a sandbox to host camel components that can be fostered into a quality
and usage demand before moving into the trunk.</p>

<p><a href="https://svn.apache.org/repos/asf/karaf/sandbox/" class="external-link"
rel="nofollow">https://svn.apache.org/repos/asf/karaf/sandbox/</a></p>

<h2><a name="Source-UsingGITSVN"></a>Using GIT-SVN</h2>

<p>A git-svn mirror is available.</p>

<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java">
PROJECT_NAME=<span class="code-quote">"karaf"</span>
git clone git:<span class="code-comment">//git.apache.org/<span class="code-quote">"$PROJECT_NAME"</span>
</span>cd <span class="code-quote">"$PROJECT_NAME"</span>/.git; wget http:<span
class="code-comment">//git.apache.org/authors.txt; cd ..
</span>git config svn.authorsfile <span class="code-quote">".git/authors.txt"</span>
git svn init --prefix=origin/ --tags=tags --trunk=trunk --branches=branches https:<span
class="code-comment">//svn.apache.org/repos/asf/<span class="code-quote">"$PROJECT_NAME"</span>
</span>git svn rebase
</pre>
</div></div>

<h2><a name="Source-Buildingthecode"></a>Building the code</h2>

<p>To then build the code see <a href="/confluence/display/KARAF/Building" title="Building">Building</a>.</p>
    </div>
        <div id="commentsSection" class="wiki-content pageSection">
        <div style="float: right;">
            <a href="https://cwiki.apache.org/confluence/users/viewnotifications.action"
class="grey">Change Notification Preferences</a>
        </div>
        <a href="https://cwiki.apache.org/confluence/display/KARAF/Source">View Online</a>
        |
        <a href="https://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=22872308&revisedVersion=2&originalVersion=1">View
Changes</a>
                |
        <a href="https://cwiki.apache.org/confluence/display/KARAF/Source?showComments=true&amp;showCommentArea=true#addcomment">Add
Comment</a>
            </div>
</div>
</div>
</div>
</div>
</body>
</html>

Mime
View raw message