-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdvmask.bat
More file actions
46 lines (39 loc) · 2.13 KB
/
dvmask.bat
File metadata and controls
46 lines (39 loc) · 2.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
@rem Copyright 2020 Google LLC
@rem
@rem Licensed under the Apache License, Version 2.0 (the "License");
@rem you may not use this file except in compliance with the License.
@rem You may obtain a copy of the License at
@rem
@rem http://www.apache.org/licenses/LICENSE-2.0
@rem
@rem Unless required by applicable law or agreed to in writing, software
@rem distributed under the License is distributed on an "AS IS" BASIS,
@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@rem See the License for the specific language governing permissions and
@rem limitations under the License.
echo on
@rem this section ensures data masking is run at the correct time during the mount. Manual run is done using the parameter: test
if "%ACT_MULTI_OPNAME%" == "scrub-mount" if "%ACT_MULTI_END%" == "true" if "%ACT_PHASE%" == "post" ( GOTO maskcommand )
if "%ACT_MULTI_OPNAME%" == "mount" if "%ACT_MULTI_END%" == "true" if "%ACT_PHASE%" == "post" ( GOTO maskcommand )
if "%1" == "test" ( GOTO maskcommand )
exit /B 0
:maskcommand
@ECHO
@rem you may need to change location of dataveil64.exe to match where you unpacked it
@rem you then need to change four parameters: project, key, license and log
@rem do not change or remove any of the ^ characters, make sure the format remains exactly the same
@rem project should be the location of the project file. Do not put the file in any c:\program files folders
@rem key is the key defined when you created the project. Do not put the file in any c:\program files folders
@rem license is the data masking license. Do not put the file in any c:\program files folders
@rem log is the location of the data masking software logs. Do not put the file in any c:\program files folders
START "MaskWindow" /WAIT "D:\\DataVeil\\bin\\dataveil64.exe" ^
--nosplash --nogui -J-Dnetbeans.logger.console=true -J-Dorg.level=WARNING -J-Xms64m -J-Xmx512m --compilewarning=continue --createdirs=true ^
--project="D:\\DV_Files\\FinMask_av.dvp" ^
--key="actifio" ^
--license="D:\\DV_Files\\license.dvl" ^
--log="D:\\logs\\dvlog.txt!"
@rem
IF %ERRORLEVEL% EQU 0 (GOTO cleanexit)
exit /B 1
:cleanexit
exit /B 0