Build Properties

back

The build properties are:

Property Allowed Values Required / Optional Description
javac.debug on,off optional Whether to include debug information in .class files
javac.deprecation on,off optional Whether to issue compile-time warnings about uses of deprecated methods.
javac.optimize on,off optional Whether to enable compiler optimizations.
javadoc.author true,false optional Whether to include information from JavaDoc @author tags.
javadoc.version true,false optional Whether to include information from JavaDoc @version tags.
dist.zip true,false optional Whether to create a zip format distribution archive.
dist.tar true,false optional Whether to create a tar format distribution archive.
dist.tar.gz true,false optional Whether to create a gzip format distribution archive.
dist.tar.bz2 true,false optional Whether to create a bzip2 format distribution archive.
build.dir ${base.dir}/build optional The directory to which build output will be directed.
staging.dir ${build.dir}/staging optional The directory in which the executable image will be built.
as.dir required A convenience for defining the as.* properties.
as.bin ${as.dir}/bin optional The name of the directory containing the app. server's start & stop commands.
as.client.jar optional The name of the app. server's client jar file.
as.start optional The command to start the app. server (assumed to be in ${as.bin}). Required if server tests are to be run.
as.stop optional The command to stop the app. server (assumed to be in ${as.bin}). Required if server tests are to be run.
deploy.examples true,false optional Whether to deploy the OBE Examples.
deploy.tests true,false optional Whether to deploy the OBE Junit/Cactus test suite.
deploy.lib.dir optional The name of the directory into which the 'deploy' target copies the OBE libraries.
deploy.lib.mirror.dir optional The name of a mirror directory into which the 'deploy' target also copies the OBE libraries.
deploy.j2ee.lib.dir optional The name of the directory into which the 'deploy' target copies the OBE J2EE libraries.
deploy.j2ee.lib.mirror.dir optional The name of a mirror directory into which the 'deploy' target also copies the OBE J2EE libraries.
deploy.app.dir optional The name of the directory into which the 'deploy' target copies the OBE EAR.
deploy.app.ear optional The name of the 3rd party application J2EE EAR file into which the 'deploy' target inserts OBE modules (including ${deploy.tests.war} if ${deploy.tests}==true).
deploy.tests.war optional The name of the 3rd party application test J2EE WAR file into which the 'deploy' target inserts the OBE test modules.
cactus.contextURL http://localhost:8080/obeserver-tests optional The URL under which Cactus runs the internal server tests.
jdbc.classpath required Path to the driver for use by the createdb script.
jdbc.driver com.mysql.jdbc.Driver required JDBC driver class to use.
jdbc.url jdbc:mysql://localhost:3306/obe required JDBC database URL.
db.type mysql optional Database type.
db.user obe optional Database user ID.
db.password obe optional Database password.
java.naming.factory.initial The class name of the JNDI initial context factory.
client.runtime.jars optional A whitespace-separated list of additional jars to include in the obeclient.jar Class-Path manifest attribute. Enables OBE client to use 3rd party JAAS login modules, client-side Java classes, etc.
engine.runtime.jars obeexamples.jar optional A whitespace-separated list of additional jars to include in the obeengine.jar Class-Path manifest attribute. Enables OBE engine to invoke 3rd party extensions (e.g., service/repository implementations, functions, procedures).
xdoclet.jboss.version 2.4,3.0,3.1,3.2 optional The version of JBoss for which to build.
xdoclet.weblogic.version 6.1,7.0 optional The version of WebLogic for which to build.
xdoclet.jboss.typemapping required The JBoss database type.
xdoclet.jboss.container-configuration OBE Entity Bean optional The JBoss container configuration.
xdoclet.jboss.datasource The JBoss JNDI name of the DataSource to use (defined in ${db.type}-ds.xml).
xdoclet.weblogic.datasource The WebLogic JNDI name of the DataSource to use.
xdoclet.jboss.ConnectionFactory required The JBoss JNDI name of the JMS connection factory to use.
xdoclet.weblogic.ConnectionFactory required The WebLogic JNDI name of the JMS connection factory to use.
xdoclet.merge.dir xdoclet optional The name of the directory containing XDoclet merge files. If the directory name is unqualified, it is assumed to be relative to ${base.dir}/obe/obeserver
transaction.isolation TRANSACTION_READ_UNCOMMITTED, TRANSACTION_READ_COMMITTED, TRANSACTION_REPEATABLE_READ, TRANSACTION_SERIALIZABLE optional The transaction isolation level.
weblogic.home optional The directory containing WebLogic Server
torque.dir optional The directory containing torque-gen-3.2. N.B. requires bug fixes for TORQUE-11 and TORQUE-27.
back