Java Reference
In-Depth Information
Click the Plus icon (+) to create a new, unnamed configuration.
3
Enter Simple Exchange Request in the Name text field.
4
Either type the fully qualified class name of CommandLineClient into the
Main class text field, or click the ellipsis button ( ) to select the class
from a list or tree.
5
Enter the string USD CDN 5.00 into the Program parameters text field.
6
In the Use classpath and JDK of module drop-down, select the Currency-
Converter module.
7
Ensure the Make module before running/debugging/reloading check-
box is enabled.
8
Click OK to save your configuration.
9
You can now run your command-line program from the main toolbar in IDEA . To
do so, select Simple Exchange Request from the drop-down list in the toolbar,
and then click the Run button to its right to execute the command.
5.5 Summary
The most important stages of development are arguably those stages you can't
avoid. Compiling and running your application is certainly one of these stages.
IDEA provides the facilities to use IDE -specific means to build and run your appli-
cation, and it also provides the integration with the most popular open source
build solution, Ant.
If the end goal is to go from A to B, from writing your application to have it
run, then using IDEA 's built-in tools is obviously the quickest way to go. Alterna-
tively, if your goal is to use a popular build tool so that the means of building the
application is no longer coupled to the IDE , then the Ant integration in IDEA is
made for you. Ant build scripts written with the help of IDEA can let you build
from an external command line or even automate processes running on a
remote server.
Probably the most remarkable aspect, and the most important, is the ease of
use of these features. IDEA strives to make the most-used features the easiest to
use. In little time at all, you'll find compiling and running your application
(including using Ant) almost invisible; you'll use these features without thinking.
 
Search WWH ::




Custom Search