# common

A project for common build script and related files.

********************************************************************************
		How to build code and other settings
********************************************************************************
1. Download third party components listed below from respective providers and copy to "src-csno/csnolib/libs" and 
"src-csno/csnoserv/libs"
					
                    ├── dbcomponents
                    │   └── h2-1.3.156.jar
                    │
                    ├── ecl
                    │   ├── antlr4-maven-plugin-4.5.3.jar
                    │   ├── antlr4-runtime-4.5.3.jar
                    │   ├── extras
                    │   │   └── guava-33.1.0-jre.jar
                    │   └── snomed-ecl-parser-2.1.0.jar
                    │
                    ├── Json
                    │   └── gson-2.2.4.jar
                    │
                    ├── junit
                    │   └── junit-4.1.jar
                    │
                    ├── log4j
                    │   ├── log4j-api-2.17.1.jar
                    │   └── log4j-core-2.17.1.jar
                    │
                    ├── lucene
                    │   ├── lucene-analyzers-common-8.7.0.jar
                    │   ├── lucene-core-8.7.0.jar
                    │   ├── lucene-demo-8.7.0.jar
                    │   └── lucene-queryparser-8.7.0.jar
                    │
                    └── rest
                        ├── asm-3.1.jar
                        └── jersey-bundle-3.1.2
                            ├── api
                            │   └── jakarta.ws.rs-api-3.1.0.jar
                            │
                            ├── ext
                            │   ├── hk2-api-3.0.4.jar
                            │   ├── hk2-locator-3.0.4.jar
                            │   ├── hk2-utils-3.0.4.jar
                            │   ├── jakarta.inject-api-2.0.1.jar
                            │   ├── jakarta.servlet-api-6.0.0.jar
                            │   └── jakarta.validation-api-3.0.2.jar
                            │
                            └── lib
                                ├── jersey-client.jar
                                ├── jersey-common.jar
                                ├── jersey-container-servlet-core.jar
                                ├── jersey-hk2.jar
                                └── jersey-server.jar

2. JDK 11 should be installed on the machine for CSNOTk application.

3. Set the environment variables for Java.
	e.g : 	JAVA_HOME - C:\Program Files\RedHat\java-1.11.0-openjdk-amd64 (System Environment Variable in case of Windows)
			JAVA_HOME - export JAVA_HOME=/usr/java/jdk1.11.0-openjdk-amd64 (modify '/etc/profile' - in case of LINUX)
	
4. Append the path value for JAVA in the PATH environment variable.
	e.g :  C:\Program Files\RedHat\java-1.11.0-openjdk-amd64\bin
	
5. To host the application for different plug-in (JAVA, DOT NET, PHP) different hosting web server are required.

6. Node.js 11.0.x should be installed on machine.

7. To open .jar and .war files use WINRAR archiver.

8. Apache Ant should be installed on machine.

9. Build code using src-csno\ant-scripts\master-build.xml by below command :
	ant -f master-build.xml

********************************************************************************
				FINISH
********************************************************************************
