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

« back to all changes in this revision

Viewing changes to ide/projectimport/bluej/javahelp/org/netbeans/bluej/docs/bluej-proj-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
<!--
 
3
*     Copyright � 2006 Sun Microsystems, Inc. All rights reserved.
 
4
*     Use is subject to license terms.
 
5
*
 
6
-->
 
7
<HTML>
 
8
<HEAD>
 
9
    <TITLE>Importing a BlueJ Project</TITLE>
 
10
    <link rel="stylesheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
 
11
    </TITLE>
 
12
</HEAD>
 
13
<BODY>
 
14
 
 
15
<h2>Importing a BlueJ Project</h2>
 
16
<p> <small><a href="#seealso">See Also</a></small></p>
 
17
<p>You can work with existing BlueJ projects in the following two ways in the 
 
18
NetBeans IDE BlueJ Edition:</p>
 
19
<ul>
 
20
    <li>By opening the project in the IDE and keeping the same BlueJ
 
21
    project structure.
 
22
    <p>The advantage of this approach is that you can continue working much as you 
 
23
    have in BlueJ, but with the benefit of features in the NetBeans IDE editor.</li>
 
24
    <li>By opening the project in the IDE and then converting the project 
 
25
        into a standard NetBeans IDE Java SE project.
 
26
        <p>The advantage of this approach is that the NetBeans IDE project system 
 
27
        is more suitable for large projects. For example, you have more features in 
 
28
        the IDE for managing the classpath (such as for adding JAR files or the output of another 
 
29
        project to your classpath) and managing the way the application is built and 
 
30
        packaged. In addition, sources, unit tests, 
 
31
        and classes are placed in different folder.</p>
 
32
    </li>
 
33
</ul>
 
34
 
 
35
 
 
36
<p><b>To import an existing BlueJ project into NetBeans IDE BlueJ Edition:</b></p>
 
37
<ol>
 
38
    <li>In NetBeans IDE BlueJ Edition, choose File &gt; Open Project.</li>
 
39
    <li>In the Open Project dialog box, navigate to and select the folder for the 
 
40
    BlueJ project that you want to open. 
 
41
    (Project folders are indicated with the <img src="images/projectFolder.gif" alt="project folder image"> image.)
 
42
    Then click Open Project.</li>
 
43
</ol>
 
44
 
 
45
<p>The project opens up in the IDE. You can view the project in either the BlueJ View 
 
46
window or the IDE's standard Projects window.</p>
 
47
 
 
48
<p><b>To convert a BlueJ project into a NetBeans IDE project:</b></p>
 
49
<ol>
 
50
    <li>Open the BlueJ project in NetBeans IDE, as described in the procedure above.</li>
 
51
    <li>In the Projects window, right-click the project's node and choose 
 
52
    Convert to Java SE Project.</li>
 
53
</ol>
 
54
    <p>When you convert a BlueJ project into a standard Java SE project, 
 
55
    the IDE copies the sources from your existing project and places them 
 
56
    into a new project, where sources and compiled classes are separated into 
 
57
    different folders. Your BlueJ project remains, but is separate from the 
 
58
    newly created project. The converted project is not visible in the BlueJ view 
 
59
and can not be opened in BlueJ. </p> 
 
60
<p>In the converted project, you can easily manage the classpath through 
 
61
 the Libraries node. You can manage the way the application is built and packaged 
 
62
through the Project Properties dialog box, which you can open by right-clicking the project's node and choosing 
 
63
Properties.
 
64
 
 
65
        <dl>
 
66
            <dt><a name="seealso">See Also</a></dt>
 
67
            <dd><a href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/project/proj_about.html">About Projects</a></dd>
 
68
            <dd><a href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/project/proj_process.html">Working With Projects</a></dd>
 
69
            <dd><a href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/project/proj_quickref.html">Project Tasks: Quick Reference</a></dd>
 
70
        </dl>
 
71
 
 
72
 
 
73
<hr>
 
74
 
 
75
<small><a href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/credits.html">Legal Notices</a></small> 
 
76
</body>
 
77
</html>