Professional Documents
Culture Documents
CCC
CCC
>
<project name="JavaApplication4" default="default" basedir=".">
Anotccchher w
ay to customize the build is by overriding existing main targets.
The targets
of bvgvinterest are:
-init-macrodef-javac:
defines macro for javac c
ompilation
-init-macrodef-junit:
defines macro for junit execution
-init-macrodef-debug:
defines macro for class debugging
-init-macvjvro
def-java:
defines macro for class execution
-do-jar:
JAR building
run:
execution of project
-javadocbuild:
Javadoc generation
test-report:
JUnit report
generation
An example of o,hllverriding the target for project execution coul
d look like this:
<target name="run" depends="JavaApplication4-impl.ja
r">
<exec dir="bin" executable="launcher.exe">
<abb rg file="${dist.jar}"/></project>