Commit c0b8b7300a311abfb04a7b83e2d22a891c73ecbe

Authored by Benjamin Renard
1 parent 1655606d

Re-use variables defined in AMDA_Integration

php/config.php
... ... @@ -16,6 +16,7 @@ require_once(INTEGRATION_BASE_PATH.'config/AMDAIntegrationConfig.php');
16 16  
17 17 //AKKA - For compatibility with IHM
18 18 define('BASE_PATH', IHM_SRC_DIR);
  19 +define('AMDA_IHM', IHM_SRC_DIR);
19 20  
20 21 //log for AmdaUpdate/AmdaInstall
21 22 define('log', LOG_DIR.'LOG');
... ...
php/getEnv.php
... ... @@ -9,9 +9,8 @@ $variables = array(
9 9 'NEWMETA',
10 10 'AMDAINTERNALDIR',
11 11 'AMDAINSTALLATION',
12   - 'DDROOT',
13   - 'GCCROOT',
14   - 'BUILD_TYPE',
  12 + 'COTS_BASE_DIR',
  13 + 'KERNEL_BUILD_TYPE',
15 14 'PROXY_HOST',
16 15 'PROXY_PORT',
17 16 'PROXY_NAME',
... ...
php/my_config.php
... ... @@ -25,24 +25,6 @@ define('TITLE', 'AMDANEW-Test');
25 25 // here for additional flexibility
26 26 define('MAX_UPLOADED_FILESIZE',30000000); // in bytes !!!
27 27  
28   -# ToDo - Check the following variables
29   -
30   -define('AMDA_SPASE_INTERFACE','/home/brenard/AMDA-GIT/AMDA_SPASE_INTERFACE/');
31   -
32   -define('NEWMETA','/home/brenard/AMDA-GIT/NEWMETA/');
33   -
34   -define('AMDAINTERNALDIR','/home/brenard/AMDA-GIT/AMDA_INTERNAL_METADATA/');
35   -
36   -define('AMDAINSTALLATION','/home/brenard/AMDA-GIT');
37   -
38   -define('DDROOT','/opt2/local');
39   -
40   -define('BUILD_TYPE','Debug');
41   -
42   -define('AMDA_IHM','/home/brenard/AMDA-GIT/AMDA_IHM/');
43   -
44   -define('GCCROOT','/opt2/tools/gcc/4.7.2/rtf');
45   -
46 28 #define('PROXY_HOST','');
47 29 #define('PROXY_PORT','');
48 30 #define('PROXY_NAME','');
... ...
update_amda/generate_param_info
... ... @@ -9,7 +9,7 @@ CRT_PWD=`pwd`
9 9  
10 10 cd $AMDAINSTALLATION/AMDA_Kernel/app-generate-paraminfo
11 11  
12   -export PATH=$AMDAINSTALLATION/AMDA_Kernel/build/${BUILD_TYPE}/bin:$PATH
  12 +export PATH=$AMDAINSTALLATION/AMDA_Kernel/build/${KERNEL_BUILD_TYPE}/bin:$PATH
13 13 export DDPATH=$AMDAINSTALLATION/AMDA_Kernel/app-generate-paraminfo
14 14  
15 15 PARAM_INFO_PATH=$NEWMETA/ParamInfo
... ... @@ -64,11 +64,11 @@ else
64 64 fi
65 65  
66 66 if [[ $line == app.plugin* ]]; then
67   - line="app.plugin=./../build/"$BUILD_TYPE"/plugin/"
  67 + line="app.plugin=./../build/"$KERNEL_BUILD_TYPE"/plugin/"
68 68 fi
69 69  
70 70 if [[ $line == app.process.LIB* ]]; then
71   - line="app.process.LIB=-L../build/"$BUILD_TYPE"/lib/ -lParameters"
  71 + line="app.process.LIB=-L../build/"$KERNEL_BUILD_TYPE"/lib/ -lParameters"
72 72 fi
73 73  
74 74 echo $line >> ./app.properties.temp
... ...