alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Java example source code file (build.properties)

This example Java source code file (build.properties) is included in the alvinalexander.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Learn more about this Java project at its project page.

Java - Java tags/keywords

important, jdk, note, update

The build.properties Java example source code

# IMPORTANT NOTE
#
# If you made a private copy of this project you may have to update the
# nbjdk.home variable at the end of this file.
#  
# To be able to run the test-suite, you will also have to set the
# variable:
#
# libs.junit.classpath=<junit.jar> 
#

main.dir=.

src.dir=${main.dir}/src
test.src.dir=${main.dir}/test

build.dir=build
classes.dir=${build.dir}/classes

dist.dir=dist
jar=${dist.dir}/jmx-scandir.jar
javadoc.dir=${dist.dir}/javadoc

build.test.classes.dir=${build.dir}/test/classes
build.test.results.dir=${build.dir}/test/results

build.sysclasspath=ignore
# E.g.: cp=lib/x.jar:lib/y.jar
cp=
extra.run.cp=

# To be able to run the test-suite, set the following property:
# libs.junit.classpath=...

javac.test.classpath=\
    ${classes.dir}:\
    ${libs.junit.classpath}

main.agent.class=com.sun.jmx.examples.scandir.ScanDirAgent
main.client.class=com.sun.jmx.examples.scandir.ScanDirClient
main.class=${main.client.class}

run.jvmargs=-Djava.util.logging.config.file=logging.properties
common.jvmargs=${run.jvmargs} -Djavax.net.ssl.keyStore=keystore -Djavax.net.ssl.keyStorePassword=password -Djavax.net.ssl.trustStore=truststore -Djavax.net.ssl.trustStorePassword=trustword
client.jvmargs=${common.jvmargs}
agent.jvmargs=${common.jvmargs} -Dcom.sun.management.config.file=src/etc/management.properties -Dscandir.config.file=src/etc/testconfig.xml

client.args=localhost 4545

run.cp=${cp}:${classes.dir}:${extra.run.cp}
run.test.classpath=${run.cp}:${build.test.classes.dir}

debug=true
deprecation=false

# Update this variable if need be to point to the JDK 6 location.
# 
nbjdk.home=${basedir}/../../..

Other Java examples (source code examples)

Here is a short list of links related to this Java build.properties source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.