Difference between revisions of "How to compile report-generator"
Jump to navigation
Jump to search
(Created page with "= Pre-requirements = * JDK * Maven2 == DB Drivers prerequirements == === Download === If specific DB driver is not required, you can remove particular "dependency" section fro...") |
m (Text replacement - "^" to "{{deprecated}}") |
||
Line 1: | Line 1: | ||
= Pre-requirements = | {{deprecated}}= Pre-requirements = | ||
* JDK | * JDK | ||
* Maven2 | * Maven2 |
Latest revision as of 18:13, 13 September 2022
This Wiki is deprecated and we are are currrently migrating remaining pages into product documentation (Admin Guide, NXSL Guide) |
= Pre-requirements =
- JDK
- Maven2
DB Drivers prerequirements
Download
If specific DB driver is not required, you can remove particular "dependency" section from pom.xml, otherwise jars should be installed into maven's repo.
- Oracle: download "ojdbc5.jar" from http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-112010-090769.html
- Microsoft SQL: download "sqljdbc_4.0.2206.100_enu.tar.gz" from http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=11774 and extract "sqljdbc4.jar"
- IBM DB2: Download "v10.1 FP0 (GA)" from http://www-01.ibm.com/support/docview.wss?uid=swg21363866 and extract "db2jcc4.jar"
- Informix: Download "JDBC.3.70.JC5DE.tar" from http://www14.software.ibm.com/webapp/download/preconfig.jsp?id=2010-10-12+08%3A50%3A24.189282R&S_TACT=&S_CMP= and extract "ifxjdbc.jar":
- tar xf JDBC.3.70.JC5DE.tar
- jar xf setup.jar Disk1/InstData/Resource1.zip
- unzip Disk1/InstData/Resource1.zip
- jar xf \$JDBC_REL_PRODUCT_DIR\$/lib_zg_ia_sf.jar ifxjdbc.jar
Install into local Maven repo
- mvn install:install-file -Dfile=/path/to/ojdbc5.jar -DgroupId=com.oracle -DartifactId=ojdbc5 -Dversion=11.2.0.3 -Dpackaging=jar -DgeneratePom=true
- mvn install:install-file -Dfile=/path/to/sqljdbc4.jar -DgroupId=com.microsoft -DartifactId=sqljdbc4 -Dversion=4.0.2206.100 -Dpackaging=jar -DgeneratePom=true
- mvn install:install-file -Dfile=/path/to/db2jcc4.jar -DgroupId=com.ibm -DartifactId=db2jcc4 -Dversion=4.13.127 -Dpackaging=jar -DgeneratePom=true
- mvn install:install-file -Dfile=/path/to/ifxjdbc.jar -DgroupId=com.informix -DartifactId=ifxjdbc -Dversion=3.70.JC5DE -Dpackaging=jar -DgeneratePom=true
Build
mvn clean package
This will download remaining required libraries and build jar file, it will be available as "target/report-generator.jar"