ada.help/javahelp/org/netbeans/modules/ada/help/docs/customize-project-sources-folders.html
author Andrea Lucarelli <raster@netbeans.org>
Sun, 22 Aug 2010 23:37:11 +0200
branchrelease68
changeset 16367 d2820c029d3a
permissions -rw-r--r--
Add JVM compiler support.
     1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
     2 <!--
     3 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
     4 
     5 Copyright 2008 Sun Microsystems, Inc. All rights reserved.
     6 
     7 The contents of this file are subject to the terms of either the GNU
     8 General Public License Version 2 only ("GPL") or the Common
     9 Development and Distribution License("CDDL") (collectively, the
    10 "License"). You may not use this file except in compliance with the
    11 License. You can obtain a copy of the License at
    12 http://www.netbeans.org/cddl-gplv2.html
    13 or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
    14 specific language governing permissions and limitations under the
    15 License.  When distributing the software, include this License Header
    16 Notice in each file and include the License file at
    17 nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
    18 particular file as subject to the "Classpath" exception as provided
    19 by Sun in the GPL Version 2 section of the License file that
    20 accompanied this code. If applicable, add the following below the
    21 License Header, with the fields enclosed by brackets [] replaced by
    22 your own identifying information:
    23 "Portions Copyrighted [year] [name of copyright owner]"
    24 
    25 If you wish your version of this file to be governed by only the CDDL
    26 or only the GPL Version 2, indicate your decision by adding
    27 "[Contributor] elects to include this software in this distribution
    28 under the [CDDL or GPL Version 2] license." If you do not indicate a
    29 single choice of license, a recipient has the option to distribute
    30 your version of this file under either the CDDL, the GPL Version 2 or
    31 to extend the choice of license to its licensees as provided above.
    32 However, if you add GPL Version 2 code and therefore, elected the GPL
    33 Version 2 license, then the option applies only if the new code is
    34 made subject to such option by the copyright holder.
    35 
    36 Contributor(s):
    37 
    38 Portions Copyrighted 2008 Sun Microsystems, Inc.
    39 -->
    40 <html>
    41   <head>
    42     <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
    43     <link rel="stylesheet" href=
    44     "nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type=
    45     "text/css">
    46     <meta content="Helen" name="generator">
    47 <style type="text/css">
    48 <!--
    49 .comment {
    50   color: blue;
    51 }
    52 .change-bar {
    53   border-color: black;
    54   border-left-style: solid;
    55   border-left: thin;
    56   padding-left: 6px;
    57 }
    58 .deleted {
    59   text-decoration: line-through;
    60 }
    61 .style1 {
    62 	color: #FF0000;
    63 	font-weight: bold;
    64 }
    65 -->
    66 </style>
    67     <title>Customizing the Ada Project Settings: Sources Folders</title>
    68   </head>
    69   <body>
    70     <h2>
    71        Customizing the Ada Project Settings: Sources Folders</h2>
    72 <p>
    73        <small><a href="#seealso">See Also</a></small></p>
    74 <p>The Sources panel enables you to view the location of the project folder,
    75 	manage source and test package folders, as well as set the source level of
    76 	the packages which the IDE will use.
    77 You open the Ada Project Properties dialog box by right-clicking 
    78   any and choosing Properties.
    79 <!--explain source level?-->
    80 </p>
    81 <p>Use the buttons on the right side of the panel to add, remove, and change
    82   the order of classpath elements. 
    83 <ul>
    84   <li>The source root cannot already exist in another IDE project.
    85   <li>The source root cannot already be added to another compilation unit of the same project. For example, a source root that is registered under Test Packages cannot be added to the list of Source Packages.
    86   <li>If you have a source root that needs to be used by several projects, you should create a separate project for the source root and set up compilation dependencies between the projects.
    87 </ul>
    88 <p><b>Test Packages Folders</b></p>
    89 <p class="style1">THIS FEATURE IS NOT IMPLEMENTED</p>
    90 <p>You can use this pane to specify the folder that the IDE uses when creating Ada Unit tests. 
    91   By default, when you create a project the IDE creates a test packages folder called <tt>test</tt> with the label Test Packages.
    92   Use the buttons to the right of the list to remove the selected folder or to specify the folder that the IDE uses when creating tests.
    93   You can also modify the Label field to change how the folder is displayed in the Projects window.</p>
    94 <p>To create Ada Unit tests with the IDE, a project must have a test packages folder.
    95   If the test packages folder for your project is missing or unavailable, you can create a new folder in your project and 
    96   then use this pane to designate the new folder as the test packages folder.</p>
    97 <dl>
    98       <dt>
    99          <a name="seealso">See Also</a>      </dt>
   100       <dd>&nbsp;</dd>
   101       <dd><a href="new-ada-application.html" title="">New Ada Application</a></dd>
   102       <dd><a href="new-from-existing-ada-sources.html" title="">New Ada Application with Existing Sources</a></dd>
   103       <dd><a href="customize-project-sources-naming.html" title="">Customizing the Project Settings: Sources Standards and Naming</a></dd>
   104       <dd><a href="customize-project-libraries.html" title="">Customizing the Project Settings: Libraries</a></dd>
   105       <dd><a href="customize-project-build.html" title="">Customizing the Project Settings: Build</a></dd>
   106       <dd><a href="customize-project-run.html" title="">Customizing the Project Settings: Run</a></dd>
   107 </dl>
   108 <hr>
   109     <p>
   110        <small><a href="credits.html">Legal Notices</a></small>
   111     </p>
   112     <table border="0" cellpadding="150">
   113       <tr>
   114         <td>&nbsp;
   115           
   116         </td>
   117       </tr>
   118       <tr>
   119         <td>&nbsp;
   120           
   121         </td>
   122       </tr>
   123       <tr>
   124         <td>&nbsp;
   125           
   126         </td>
   127       </tr>
   128     </table>
   129   </body>
   130 </html>