~ubuntu-branches/ubuntu/trusty/anjuta/trusty

« back to all changes in this revision

Viewing changes to manuals/anjuta-manual/eu/project-manager-file.page

  • Committer: Package Import Robot
  • Author(s): Jeremy Bicha
  • Date: 2012-02-20 22:38:35 UTC
  • mfrom: (1.1.43)
  • Revision ID: package-import@ubuntu.com-20120220223835-ny223imz62qkk9ns
Tags: 2:3.3.90-0ubuntu1
* New upstream release.
* debian/rules: Watch for unstable releases

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?xml version="1.0" encoding="utf-8"?>
2
 
<page xmlns="http://projectmallard.org/1.0/" type="topic" style="task" id="anjuta-project-files" xml:lang="eu">
3
 
 
4
 
  <info xmlns:facet="http://projectmallard.org/facet/1.0/">
5
 
    <facet:tag key="all-pages" value="whatever"/> <!--Include page in index-->
6
 
    <link type="guide" xref="index#anjuta-project-management" group="second"/>
7
 
    <link type="seealso" xref="project-manager"/>
8
 
    <link type="seealso" xref="project-manager-target"/>
9
 
    <revision pkgversion="3.0" version="0.1" date="2011-03-27" status="incomplete"/>
10
 
    <desc>
11
 
      Add or remove files from a project.
12
 
    </desc>
13
 
    <credit type="author">
14
 
      <name>Sébastien Granjoux</name>
15
 
      <email>seb.sfo@free.fr</email>
16
 
    </credit>
17
 
    <credit type="editor">
18
 
      <name>Philip Chimento</name>
19
 
      <email>philip.chimento@gmail.com</email>
20
 
    </credit>
21
 
  </info>
22
 
 
23
 
  <title>Add or remove files</title>
24
 
 
25
 
  <p>
26
 
    If the project backend supports it, you can add or remove files in your
27
 
    project without editing the project file.
28
 
  </p>
29
 
 
30
 
  <section>
31
 
    <title>Add files</title>
32
 
  
33
 
    <steps>
34
 
      <item>
35
 
        <p>
36
 
          Select the target where you want to add the new source file in
37
 
          the <gui>project view</gui>, click on the right mouse button to
38
 
          make the <gui>project context menu</gui> appear and select
39
 
          <gui>Add Source File</gui>.
40
 
        </p>
41
 
        <p> 
42
 
          Or from the <gui>main menu</gui>, select <guiseq><gui>Project</gui>
43
 
          <gui>Add Source File</gui></guiseq>
44
 
        </p>
45
 
 
46
 
        <note style="tip">
47
 
          <p>
48
 
            The target allows you to group files, and has a type which defines
49
 
            how the files are used inside. A program target contains source
50
 
            files, which will be compiled to create the target.
51
 
            On the other hand, a data target only groups data files which will
52
 
            be installed in the same place.
53
 
          </p>
54
 
        </note>
55
 
      </item>
56
 
      <item>
57
 
        <p>
58
 
          You can select another target in the top <gui>target tree view</gui>.
59
 
        </p>
60
 
        <p>
61
 
          Click on the <gui>Select file to add</gui> button to get a file
62
 
          chooser dialog where you can select several files.
63
 
        </p>
64
 
      </item>
65
 
      <item>
66
 
        <p>
67
 
          When you have chosen the target and the files, click on the <gui>Add</gui>
68
 
          button to add those files to your project.
69
 
        </p>
70
 
      </item>
71
 
    </steps>
72
 
    
73
 
    <note style="tip">
74
 
      <p>
75
 
        Some project formats require the file to be under the project
76
 
        directory. Added source files outside the project directory are
77
 
        automatically copied inside to fulfill this requirement.
78
 
      </p>
79
 
    </note>
80
 
  </section>
81
 
 
82
 
  <section>
83
 
    <title>Remove a file</title>
84
 
 
85
 
    <steps>
86
 
      <item>
87
 
        <p>
88
 
          Select the file you want to remove in the
89
 
          <gui>project view</gui>, click on the right mouse button to
90
 
          make the <gui>project context menu</gui> appear and select
91
 
          <gui>Remove</gui>.
92
 
        </p>
93
 
      </item>
94
 
      <item>
95
 
        <p>
96
 
          Confirm the removal. The file will only be removed from the project,
97
 
          not from your disk.
98
 
        </p>
99
 
      </item>
100
 
    </steps>
101
 
  </section>
102
 
 
103
 
</page>