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

« back to all changes in this revision

Viewing changes to java/helpset/javahelp/org/netbeans/modules/java/helpset/docs/project/csh/proj_j2sestand_props_sources.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
<!--       
 
3
*     Copyright (c) 2007 Sun Microsystems, Inc. All rights reserved.
 
4
*     Use is subject to license terms.
 
5
-->
 
6
<html>
 
7
<head>
 
8
<title>Standard Java SE Project Properties Dialog Box: General</title>
 
9
        <link rel="StyleSheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
 
10
</head>
 
11
<body>
 
12
<h2>Standard Java SE Project Properties Dialog Box: Sources </h2>
 
13
<p> <small><a href="#seealso">See Also</a>&nbsp; </small> 
 
14
<p>The Sources panel enables you to view the location of the project folder,
 
15
        manage source and test package folders, as well as set the source level of
 
16
        the packages which the IDE will use.
 
17
You open the Standard Java SE Project Properties dialog box by right-clicking 
 
18
  any 
 
19
        <object classid="java:com.sun.java.help.impl.JHSecondaryViewer">
 
20
        <param name="content" value="./glossary_standard.html">
 
21
        <param name="viewerActivator" value="javax.help.LinkLabel">
 
22
        <param name="viewerStyle" value="javax.help.Popup">
 
23
        <param name="viewerSize" value="400,220">
 
24
        <param name="text" value="standard Java SE project">
 
25
        <param name="textFontSize" value="medium">
 
26
        <param name="textFontFamily" value="SansSerif">
 
27
        <param name="textFontStyle" value="italic">
 
28
        <param name="textFontWeight" value="bold">
 
29
        <param name="textColor" value="blue">
 
30
        </object>
 
31
&nbsp;and choosing Properties.   <!--explain source level?-->
 
32
 
 
33
<p>Use the buttons on the right side of the panel to add, remove, and change
 
34
the order of classpath elements. 
 
35
<p>You can have multiple source roots in a standard project, with the following exceptions:</p>
 
36
<ul>
 
37
<li>The source root cannot already exist in another IDE project.
 
38
<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.
 
39
<li>All of the source roots are packaged into the same JAR file and share the same classpath.
 
40
<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.
 
41
</ul>
 
42
<p>You can use the Source Level combo box at the bottom of the Sources page to set the Java platform version that the generated Java code should be compatible with. This setting corresponds to the javac -source option.
 
43
 
 
44
<ul class="note">
 
45
<li>Specifying the Source Level does not change the Java platform whose libraries and executables are used to compile and run your project. To set the Java platform that is used for compiling and running your project, click Libraries and set the Java Platform setting accordingly. You cannot set the Source Level of a project to a higher release than the project's Java platform.
 
46
</ul>
 
47
 
 
48
<dl>
 
49
    <dt><a name="seealso">See Also</a></dt>
 
50
    <dd><a href="../../project/proj_stand_about.html">About Standard Projects</a></dd>
 
51
    <dd><a href="../proj_free_about.html">About Free-Form Projects</a> </dd>
 
52
    <dd>Standard Java SE Project Properties Dialog Box:</dd>
 
53
    <dd>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="proj_j2sestand_props_libraries.html">Libraries</a></dd>
 
54
    <dd>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="proj_j2sestand_props_compiling.html">Compiling</a></dd>
 
55
    <dd>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="proj_j2sestand_props_packaging.html">Packaging</a> </dd>
 
56
    <dd>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="proj_j2sestand_props_documenting.html">Documenting</a></dd>
 
57
    <dd>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="proj_j2sestand_props_run.html">Run</a></dd>   
 
58
    <dd>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="proj_j2sestand_props_common-app.html">Application</a></dd>        
 
59
    <dd>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="proj_j2sestand_props_desktop-app.html">Desktop App</a></dd>    
 
60
    <dd>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="proj_j2sestand_props_webstart.html">Web Start</a></dd>    
 
61
</dl>  
 
62
 
 
63
<hr>
 
64
<small><a href="../../credits.html">Legal Notices</a></small> 
 
65
<table border="0" cellpadding="20">
 
66
  <tr> 
 
67
    <td>&nbsp;</td>
 
68
  </tr>
 
69
  <tr> 
 
70
    <td>&nbsp;</td>
 
71
  </tr>
 
72
  <tr> 
 
73
    <td>&nbsp;</td>
 
74
  </tr>
 
75
</table>
 
76
</body>
 
77
</html>