[Progress Communities] [Progress OpenEdge ABL] Forum Post: Run a .bat/sh file inside ant build.xml using proenv.bat executable

Status
Not open for further replies.
F

fiservarvind

Guest
How we can run.bat/sh file inside ant build.xml using proenv.bat executable. I wrote following tags in my build .xml. It seems like system not firing proenv session and not excuting the .bat file as well. Following content is from my testdb_Encrypt.bat file REM **** REM **** Script to enable manual encryption and encrypt a Type I Area REM **** set /p testdbdir="Please enter the your testdb DB location: " echo e "Encryption Policy Area":13,32;64 . > encryptionarea.st echo **** ADD ENCRYPTION POLICY AREA call prostrct add %testdbdir%\testdb encryptionarea.st echo **** ENABLE ENCRYPTION call proutil %testdbdir%\testdb -C enableencryption -Passphrase < %testdbdir%\KeyStorePass echo **** ENCRYPT AREA call proutil %testdbdir%\testdb -C epolicy manage area encrypt "testdbTableArea" -Passphrase < %testdbdir%\KeyStorePass echo **** UPDATE ENCRYPT AREA call proutil %testdbdir%\testdb -C epolicy manage area update "testdbTableArea" -Passphrase < %testdbdir%\KeyStorePass PAUSE System correctly creating DB files. But it is failing to encrypt the db and launching the proenv session so I can execute my encryption script. I doing this way because I am not sure how I can pass the -KeystorePassPhrase with proutil inside build.xml.

Continue reading...
 
Status
Not open for further replies.
Top