Просмотр исходного кода

poczatek dodawania do instalatora silinka saxon + uwagi do zapytan sql

a.binder 10 лет назад
Родитель
Сommit
304bb3833e
2 измененных файлов с 24 добавлено и 1 удалено
  1. 1 1
      SE/se-lib/Route/FixProjectPath.php
  2. 23 0
      SE/superedit-INSTALL_SES_PROCESY_A.php

+ 1 - 1
SE/se-lib/Route/FixProjectPath.php

@@ -200,7 +200,7 @@ jQuery(document).ready(function () {
 							, (select AUTO_INCREMENT from information_schema.TABLES where TABLE_SCHEMA=DATABASE() AND TABLE_NAME='IN7_MK_BAZA_DYSTRYBUCJI')
 						));
 				END
-		";
+		";//jak sa tabulatory to sie nie da wkleic do mysqla 
 		$sqlList['RemoveTrigger_BeforeUpdateProject'] = "DROP TRIGGER IF EXISTS `_IN7_MK_BAZA_DYSTRYBUCJI_tree_UPDATE`";
 		// throws errors:
 		//  #1146 - Table '{DATABASE_NAME}.ERROR: Loop detected ID=P_ID' doesn't exist

+ 23 - 0
SE/superedit-INSTALL_SES_PROCESY_A.php

@@ -534,6 +534,29 @@ group by ConfigItems.id_item;
 
 }
  
+//@2015-08 instalator dla instalacji XSLa - java + saxon 
+function INSTALL_GETCOMMANDS_XSL_ENGINES($ADMIN_USERNAME,$SERVER_ADDRESS_IP,$ADMIN_USERNAME_PASSWD,$SERVER_MOUNT_POINT_ROOT,$SERVER_ADDRESS,$SERVER_ADDRESS_LDAP_DC,$SERVER_ADDRESS_SHORT,$INSTALL_ROOT,$REMOTE_FOLDER_ROOT,$ADMIN_USERNAME_L1,$ADMIN_USERNAME_L1_PASS,$ADMIN_USERNAME_DIRECTORY,$ADMIN_USERNAME_INITIAL_PASSWD,$BACKUP_USB_DEVICE,$SERVER_VERSION) {
+//todo jdk do stuff
+ $cmd[]['scp']=array($INSTALL_ROOT,'/stuff/jdk-8u51-macosx-x64.dmg','/tmp/jdk-8u51-macosx-x64.dmg');
+ $cmd[]['rsh']='hdiutil mount /tmp/jdk-8u51-macosx-x64.dmg -mountpoint /Volumes/jdk-8u51-macosx-x64';
+ $cmd[]['rsh']='installer -package /Volumes/jdk-8u51-macosx-x64/JDK*.pkg -target "/" -verbose';
+ $cmd[]['rsh']='port install saxon';
+ //todo repo-13 do stuff
+ $cmd[]['scp']=array($INSTALL_ROOT,'/stuff/expath-repo-0.13.0.zip','/tmp/expath-repo-0.13.0.zip');
+ $cmd[]['rsh']='unzip /tmp/expath-repo-0.11.0.zip';
+ $cmd[]['rsh']='export SAXON_HOME=/opt/local/share/java/';
+ $cmd[]['rsh']='mkdir -p /opt/local/share/expath';
+ $cmd[]['rsh']='chmod -R o+rwx /opt/local/share/expath'; 
+//todo expath do stuff expath-http-client-saxon-0.11.0.zip
+ $cmd[]['scp']=array($INSTALL_ROOT,'/stuff/expath-http-client-saxon-0.11.0.zip','/tmp/expath-http-client-saxon-0.11.0.zip');
+ $cmd[]['rsh']='unzip /tmp/expath-http-client-saxon-0.11.0.zip';
+ $cmd[]['rsh']='cd /tmp/expath-http-client-saxon-0.11.0/bin/
+ chmod 755 xrepo
+ ./xrepo create /opt/local/share/expath/repo
+ 
+ '; 
+ return $cmd; 
+} 
  
 function INSTALL_GETCOMMANDS_COMP_PORT($ADMIN_USERNAME,$SERVER_ADDRESS_IP,$ADMIN_USERNAME_PASSWD,$SERVER_MOUNT_POINT_ROOT,$SERVER_ADDRESS,$SERVER_ADDRESS_LDAP_DC,$SERVER_ADDRESS_SHORT,$INSTALL_ROOT,$REMOTE_FOLDER_ROOT,$ADMIN_USERNAME_L1,$ADMIN_USERNAME_L1_PASS,$ADMIN_USERNAME_DIRECTORY,$ADMIN_USERNAME_INITIAL_PASSWD,$BACKUP_USB_DEVICE,$SERVER_VERSION) {
 //komendy do stworzenia komponentu dot MYSQL