Difference between revisions of "How to compile report-generator"

From NetXMS Wiki
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.

  • 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"