~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/run/run_file.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 © 2007 Sun Microsystems, Inc. All rights reserved.
 
4
*     Use is subject to license terms.
 
5
-->
 
6
<html>
 
7
<head>
 
8
<title>Running a Single File</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>Running a Single File</h2>
 
13
<p> <small><a href="#seealso">See Also</a>&nbsp; </small> 
 
14
<ol>
 
15
  <li>Select the file in the Source Editor or Projects window.</li>
 
16
  <li>Choose Run  &gt; Run File  &gt; Run
 
17
        <tt>my_class</tt>. <p>The IDE initiates execution of the selected file. 
 
18
  </li>
 
19
</ol>
 
20
<ul class="note">
 
21
    <li>In
 
22
        <object classid="java:com.sun.java.help.impl.JHSecondaryViewer">
 
23
    <param name="content" value="../project/csh/glossary_freeform.html">
 
24
    <param name="viewerActivator" value="javax.help.LinkLabel">
 
25
    <param name="viewerStyle" value="javax.help.Popup">
 
26
    <param name="viewerSize" value="400,160">
 
27
    <param name="text" value="free-form projects">
 
28
    <param name="textFontSize" value="medium">
 
29
    <param name="textFontFamily" value="SansSerif">
 
30
    <param name="textFontStyle" value="italic">
 
31
    <param name="textFontWeight" value="bold">
 
32
    <param name="textColor" value="blue">
 
33
  </object>
 
34
    , this command is disabled by default. 
 
35
        To enable this function, you have to write an Ant target for running
 
36
    the   file in the IDE and map it to the IDE's Run Class command. This command
 
37
    is not available for EJB projects. </li>
 
38
</ul>
 
39
          <p>For a complete guide
 
40
    to configuring free-form projects, see: 
 
41
    <p><object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
 
42
          <param name="content" value="http://www.netbeans.org/kb/55/freeform-config.html">
 
43
          <param name="text" value="<html><u>http://www.netbeans.org/kb/55/freeform-config.html</u></html>">
 
44
          <param name="textFontSize" value="medium">
 
45
          <param name="textColor" value="blue">
 
46
        </object></p>
 
47
 
 
48
<dl>
 
49
    <dt><a name="seealso">See Also</a></dt>
 
50
    <dd><a href="run_quickref.html">Running Tasks: Quick Reference</a></dd>
 
51
    <dd><a href="run_app.html">Running an Application</a> </dd>
 
52
    <dd><a href="run_args.html">Setting the Main Class and Runtime Arguments</a></dd>
 
53
    <dd><a href="run_classpath.html">Setting the Runtime Classpath</a></dd>
 
54
</dl>
 
55
 
 
56
 
 
57
        <hr>
 
58
<small><a href="../credits.html">Legal Notices</a></small> 
 
59
 
 
60
<table border="0" cellpadding="20">
 
61
<tr><td>&nbsp;</td></tr>
 
62
<tr><td>&nbsp;</td></tr>
 
63
<tr><td>&nbsp;</td></tr>
 
64
</table></body>
 
65
</html>