Difference between revisions of "Building Source Code"
From Toolsverse Knowledge Base
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
== Running build == | == Running build == | ||
− | ETL framework comes with a source code for core components, test suite and build scripts. In order to build ETL framework | + | ETL framework comes with a source code for the core components, test suite and build scripts. In order to build ETL framework you need to have Java JDK 7.0 or up and latest version of the [http://ant.apache.org/ 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. | To build source code execute ant while you are in the ETL Framework home folder. Ant will use ETL_FRAMEWORK_HOME\build.xml. | ||
+ | |||
+ | Example: | ||
+ | |||
+ | <pre> | ||
+ | c:\ant\bin\ant.bat | ||
+ | </pre> | ||
After build run you can find build artifacts under ETL_FRAMEWORK_HOME\dist folder. | After build run you can find build artifacts under ETL_FRAMEWORK_HOME\dist folder. |
Latest revision as of 18:36, 3 August 2014
Running build
ETL framework comes with a source code for the core components, test suite and build scripts. In order to build ETL framework you need to have Java JDK 7.0 or up 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.
Example:
c:\ant\bin\ant.bat
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/
Folders
src - source code src-test - source code for tests src-examples - source code for examples lib - libraries plugin - plugins license - licenses config - configuration files data - data files data/scenario/Examples - examples of the ETL scenarios