The applet project build file.
Building the Applet with Ant
To build the applet, we need to navigate to the Applet directory, set up the environment, and then run Ant at the command line. First we build the applet:
C:\CVS\...\MVCHelloWorld\Applet>ant
Buildfile: build.xml
init: clean:
[delete] Deleting directory C:\tmp\app\lib prepare:
[mkdir] Created dir: C:\tmp\app\applet\classes [mkdir] Created dir: C:\tmp\app\lib
compile:
[javac] Compiling 1 source file to C:\tmp\app\applet\classes
package:
[jar] Building jar: C:\tmp\app\lib\helloapplet.jar
all:
BUILD SUCCESSFUL Total time: 4 seconds
Now we clean the applet:
C:\CVS\...\MVCHelloWorld\Applet>ant clean
Buildfile: build.xml
init: clean:
[delete] Deleting directory C:\tmp\app\applet\classes [delete] Deleting directory C:\tmp\app\lib
BUILD SUCCESSFUL
Total time: 0 seconds