Update README.linux
authorElemer Lelik <erititan@users.noreply.github.com>
Sat, 24 Jan 2015 12:38:50 +0000 (13:38 +0100)
committerElemer Lelik <erititan@users.noreply.github.com>
Sat, 24 Jan 2015 12:38:50 +0000 (13:38 +0100)
README.linux

index fa9270c61633d0e887ee7ce70fce6b31bc823697..06666777f7d4f048ddb88964bbab25d3e5c04684 100644 (file)
@@ -11,7 +11,10 @@ sudo apt-get install ant xsltproc
 \r
 2.Clone the titan directory from git  into /home/<user_id>/titan\r
 \r
+git clone https://github.com/eclipse/titan.core  titan\r
+\r
 3. Configure the build \r
+\r
 cd titan\r
 check  that MakefileFOSS.cfg is present   and  has the following content:\r
 cat MakefileFOSS.cfg\r
@@ -22,19 +25,24 @@ USAGE_STATS := no
 \r
 \r
 Several build options are possible; for details on options , please read through the Makefile.cfg.\r
-Options can be overridden by the content of  a file named Makefile.personal.\r
+Options can be overridden by the content of  a file named Makefile.personal which can be used to \r
+adapt to local installation directories, change config options etc.\r
 Below, a small number of typical scenarios are presented.\r
 \r
 1) JNI  disabled\r
 \r
 The JNI interface is used by the Eclipse Titan Executor or by the Java Executor API.\r
-If you don't need them , Titan can be compiled without JNI. ( In this case, you won't be able to execute Titan test cases from the Eclipse plug-in)\r
+If you don't need them , Titan can be compiled without JNI. \r
 \r
 Create ~/titan/Makefile.personal to override settings in Makefile.cfg with the following content:\r
+(replace paths with values relevant to your installation)\r
 \r
 TTCN3_DIR := /home/<user id>/titan/Install\r
+OPENSSL_DIR := /usr\r
+#JDKDIR := /usr/lib/jvm/java-7-openjdk-amd64\r
+XMLDIR := /usr\r
 JNI := no\r
-GEN_PDF := yes\r
+GEN_PDF := no\r
 \r
 \r
 \r
@@ -44,11 +52,14 @@ GEN_PDF := yes
 install JDK   into /home/<user id>/jdk\r
 \r
 Create ~/titan/Makefile.personal to override settings in Makefile.cfg with the following content:\r
+(replace paths with values relevant to your installation)\r
 \r
 TTCN3_DIR := /home/<user id>/titan/Install\r
-JDKDIR := /home/<user id>/jdk\r
+OPENSSL_DIR := /usr\r
+JDKDIR := /usr/lib/jvm/java-7-openjdk-amd64\r
+XMLDIR := /usr\r
 JNI := yes\r
-GEN_PDF := yes\r
+GEN_PDF := no\r
 \r
 \r
 \r
@@ -72,11 +83,24 @@ export TTCN3_DIR=/home/<user id>/titan/Install for bash )
 \r
 \r
 cd /home/<user id>/titan/function_test\r
+\r
+in the following Makefiles \r
+\r
+XER_EncDec/Makefile\r
+Text_EncDec/Makefile\r
+RAW_EncDec/Makefile\r
+\r
+edit the value of XMLDIR to match your installation values \r
+\r
+run the tests\r
+\r
 make\r
 \r
 ( or make |& tee outputfile if you want to save the output for verification)\r
+\r
 cd /home/<user id>/titan/regression_test\r
 make run\r
+\r
 ( or make run |& tee outputfile if you want to save the output for verification)\r
 \r
 These tests might run for half an hour (regr.tests)  to two hours (func.tests)\r
This page took 0.027632 seconds and 5 git commands to generate.