~ubuntu-branches/ubuntu/quantal/netbeans/quantal

« back to all changes in this revision

Viewing changes to subversion/main/javahelp/org/netbeans/modules/subversion/docs/svnmodule/svn_import.html

  • Committer: Bazaar Package Importer
  • Author(s): Marek Slama
  • Date: 2008-01-29 14:11:22 UTC
  • Revision ID: james.westby@ubuntu.com-20080129141122-fnzjbo11ntghxfu7
Tags: upstream-6.0.1
Import upstream version 6.0.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
 
2
            "http://www.w3.org/TR/html4/loose.dtd">
 
3
<!--
 
4
*     Copyright © 2007 Sun Microsystems, Inc. All rights reserved.
 
5
*     Use is subject to license terms.
 
6
-->
 
7
<html>
 
8
    <head>
 
9
        <title>Placing Projects Under Version Control (Subversion)</title>
 
10
        <link href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css"
 
11
            rel="StyleSheet" type="text/css">
 
12
    </head>
 
13
    
 
14
    <body>
 
15
        <h2>Placing Projects Under Version Control (Subversion)</h2>
 
16
 
 
17
        <p><small><a href="#seealso">See Also</a></small></p>
 
18
        
 
19
        <p>The IDE enables you to place any project you are working on under version
 
20
            control. You effectively <em>import</em> your sources into the remote 
 
21
            repository. To do so, you need to be able to access a Subversion repository
 
22
            which you have write privileges for.</p>
 
23
        
 
24
        <h4>To place an IDE project under version control:</h4>
 
25
        
 
26
        <ol>
 
27
            <li>In the Projects window, select an unversioned project and choose either:
 
28
            
 
29
                <ul>
 
30
                    <li>Versioning &gt; Import into Subversion Repository from the node's 
 
31
                        right-click menu.</li>
 
32
                    <li>Versioning &gt; Subversion &gt; Import into Repository from the 
 
33
                        IDE's main menu.</li>
 
34
                </ul>The Subversion Import wizard opens.</li>
 
35
                
 
36
            <li>In the Subversion Repository page of the Import wizard, specify the
 
37
                <a href="#protocolTypes">protocol</a> and location of the Subversion 
 
38
                repository as defined by the Subversion URL. Depending on your selection, 
 
39
                you may require to specify further settings, such as repository username 
 
40
                and password, or, in the case of <tt>svn+ssh://</tt>, you must specify 
 
41
                the tunnel command to establish the external tunnel. Click Next.</li>
 
42
            <li>In the Repository Folder panel, specify the repository folder in which you 
 
43
                want to place the project in the repository. A folder containing the name
 
44
                of your project is suggested for you in the Repository Folder text field 
 
45
                by default.</li>
 
46
            <li>In the text area beneath Specify the Message, enter a description of the 
 
47
                project you are importing into the repository.</li>
 
48
            <li>Click Finish to initiate the import, or optionally, click Next to continue
 
49
                to a third panel that enables you to preview all files that are prepared 
 
50
                for import. From this panel, you can choose to exclude individual files
 
51
                from import, or identify the MIME types of files before importing. Upon
 
52
                clicking Finish, the IDE uploads the project files to the repository and 
 
53
                the Ouput window opens to display the progress.</li>
 
54
        </ol>
 
55
        
 
56
        <p><a name="protocolTypes"></a>The IDE supports the following Subversion protocol types:</p>
 
57
        
 
58
        <table border="1" cellpadding="5">
 
59
            <tr align="center"><th>Protocol</th><th>Access Method</th><th>Example</th></tr>
 
60
            <tr><td align="center"><strong>file</strong></td><td>Direct repository access (on local 
 
61
                disk)</td><td><tt>file:///repository_path[@REV]</tt></td></tr>
 
62
            <tr><td align="center"><strong>http</strong></td><td>Access via WebDAV protocol to a 
 
63
                Subversion-aware server</td><td><tt>http://hostname/repository_path[@REV]</tt></td></tr>
 
64
            <tr><td align="center"><strong>https</strong></td><td>Access via HTTP protocol with SSL 
 
65
                encryption</td><td><tt>https://hostname/repository_path[@REV]</tt></td></tr>
 
66
            <tr><td align="center"><strong>svn</strong></td><td>Access via custom protocol to an 
 
67
                <tt>svnserve</tt> server</td><td><tt>svn://hostname/repository_path[@REV]</tt></td></tr>
 
68
            <tr><td align="center"><strong>svn+ssh</strong></td><td>Access via SVN protocol through 
 
69
                an external SSH tunnel</td><td><tt>svn+ssh://hostname/repository_path[@REV]</tt></td></tr>
 
70
        </table>        
 
71
         
 
72
        <dl>
 
73
            <dt><a name="seealso">See Also</a></dt>
 
74
            <dd><a href="nbdocs://org.netbeans.modules.java.helpset/org/netbeans/modules/java/helpset/docs/project/proj_about.html">About Projects</a></dd>            
 
75
            <dd><a href="svn_overview.html">Working with Subversion</a></dd>
 
76
        </dl>
 
77
        <hr><small><a href="../credits.html">Legal Notices</a></small>
 
78
        <br><br><br>
 
79
    </body>
 
80
</html>