Java Reference
In-Depth Information
3. Continue with the installation of NetBeans IDE.
To Add GlassFish Server as a Server in NetBeans IDE
To run the tutorial examples in NetBeans IDE, you must add your GlassFish Server
as a server in NetBeans IDE. Follow these instructions to add the GlassFish Server to
NetBeans IDE.
1. From the Tools menu, select Servers.
The Servers wizard opens.
2. Click Add Server.
3. Under Choose Server, select GlassFish Server 3+ and click Next.
4. Under Server Location, browse to the location of the Java EE 6 SDK and click
Next.
5. Under Domain Location, select Register Local Domain.
6. Click Finish.
Apache Ant
Ant is a Java technology-based build tool developed by the Apache Software Foundation
( http://ant.apache.org/ ) and is used to build, package, and deploy the tutorial
examples. To run the tutorial examples, you need Ant 1.7.1 or higher. If you do not already
have Ant, you can install it from the Update Tool that is part of the GlassFish Server.
To Obtain Apache Ant
1. Start the Update Tool.
From the command line, type the command updatetool .
On a Windows system, from the Start menu, select All Programs, then se-
lect Java EE 6 SDK, then select Start Update Tool.
2. Expand the Java EE 6 SDK node.
3. Select the Available Add-ons node.
4. From the list, select the Apache Ant Build Tool check box.
5. Click Install.
6. Accept the license agreement.
After installation, Apache Ant appears in the list of installed components. The tool
is installed in the as-install-parent /ant directory.
Search WWH ::




Custom Search