Difference between revisions of "Building Source Code"

From Toolsverse Knowledge Base
Jump to: navigation, search
Line 4: Line 4:
  
 
To build source code execute ant while you are in the ETL Framework home folder. Ant will use ETL_FRAMEWORK_HOME\build.xml.
 
To build source code execute ant while you are in the ETL Framework home folder. Ant will use ETL_FRAMEWORK_HOME\build.xml.
 +
 +
After build run you can find build artifacts under ETL_FRAMEWORK_HOME\dist folder.
  
 
== Configuring build ==
 
== Configuring build ==

Revision as of 15:39, 3 August 2014

Running build

ETL framework comes with a source code for core components, test suite and build scripts. In order to build ETL framework source code you need to have Java JDK 6.0 or up installed and latest version of the Apache Ant.

To build source code execute ant while you are in the ETL Framework home folder. Ant will use ETL_FRAMEWORK_HOME\build.xml.

After build run you can find build artifacts under ETL_FRAMEWORK_HOME\dist folder.

Configuring build

To configure build use ETL_FRAMEWORK_HOME\build.properties file. To change build number use ETL_FRAMEWORK_HOME\build.num.

Example of the build.properties files:

app-name=Toolsverse API Reference
app-copyright-year=© 2010-2014
app-copyright-company=Toolsverse
app-company-url=http://www.toolsverse.com
app-copyright-url=<a href="http://www.toolsverse.com">Toolsverse</a>
version-num=4.0

compile=true
create-javadoc=false
create-jars=true
sign-jars=false
create-source-jars=true
unit-tests=false

free-edition=false
deploy=etl

debug=on
debuglevel=source,lines,vars
java-level=1.7

jre-min-version=1.7.0

javadoc.api.href=http://download.oracle.com/javase/7/docs/api/