| 1 | ////////////////////////////////////////////////////////////////////////////// |
|---|
| 2 | // FILE : _iniproject.tol |
|---|
| 3 | // PURPOSE : |
|---|
| 4 | ////////////////////////////////////////////////////////////////////////////// |
|---|
| 5 | // PutDumpFile("C:/log_teste.txt"); |
|---|
| 6 | Date DefFirst := y2008; |
|---|
| 7 | Date DefLast := Succ(Today, Mensual, 6); |
|---|
| 8 | |
|---|
| 9 | #Require MMS; |
|---|
| 10 | #Require BwsDatabase; |
|---|
| 11 | #Require TolExcel; |
|---|
| 12 | |
|---|
| 13 | ////////////////////////////////////////////////////////////////////////////// |
|---|
| 14 | // Definición de las rutas principales |
|---|
| 15 | ////////////////////////////////////////////////////////////////////////////// |
|---|
| 16 | |
|---|
| 17 | Text ProjectName = "PrjVivBraForTra"; |
|---|
| 18 | Text PathProject = "c:/users/ameneguetti/bsd/entity/"+ProjectName+"/"; |
|---|
| 19 | /* |
|---|
| 20 | ///////////////////////////////////////////////////////////////////////////// |
|---|
| 21 | // Launcher (Windows) |
|---|
| 22 | ///////////////////////////////////////////////////////////////////////////// |
|---|
| 23 | // ## Launcher machine. |
|---|
| 24 | Text SourceMachine = "\\\\\\\\ip/"; |
|---|
| 25 | |
|---|
| 26 | // ## Folder that contains tolsh.exe. |
|---|
| 27 | Text TolshFolder = "Bayes/tolbase-v2.0.1/bin/"; |
|---|
| 28 | |
|---|
| 29 | // ## Folder that contains tolsh.exe in the launcher computer. |
|---|
| 30 | Text SourceTolsh = SourceMachine+"C$/"+TolshFolder; |
|---|
| 31 | |
|---|
| 32 | // ## Folder that contains the source project files |
|---|
| 33 | Text SourceProject = "\\\\"+SourceMachine+"C$/users/tol/bsd/entity/"+ProjectName+"/"; |
|---|
| 34 | |
|---|
| 35 | // ## iniproject file |
|---|
| 36 | Text SourceIniProject = SourceProject+"_iniproject.tol"; |
|---|
| 37 | |
|---|
| 38 | // ## Folder that contains process.tol file in the launcher computer |
|---|
| 39 | Text SourceProcess = SourceProject+"source/process/launcher/"; |
|---|
| 40 | |
|---|
| 41 | ////////////////////////////////////////////////////////////////////////////// |
|---|
| 42 | // Carga del .ini - Inclusión de las variables propias de la base de datos |
|---|
| 43 | ////////////////////////////////////////////////////////////////////////////// |
|---|
| 44 | |
|---|
| 45 | Set If( !ObjectExist("Code", "GetVarIniFile") , |
|---|
| 46 | Set Include(PathProject<<"source/system/readini.tol"), |
|---|
| 47 | Copy(Empty) |
|---|
| 48 | ); |
|---|
| 49 | |
|---|
| 50 | ////////////////////////////////////////////////////////////////////////////// |
|---|
| 51 | // INICIO DEL PROYECTO |
|---|
| 52 | ////////////////////////////////////////////////////////////////////////////// |
|---|
| 53 | |
|---|
| 54 | Real MakeDir(PathLog); |
|---|
| 55 | Real MakeDir(PathBDR_Local); |
|---|
| 56 | Real MakeDir(PathFileRealData); |
|---|
| 57 | Real MakeDir(PathFileForecastData); |
|---|
| 58 | Real MakeDir(PathFileInputData); |
|---|
| 59 | Real MakeDir(PathFileOutputModelSeriesData); |
|---|
| 60 | Real MakeDir(PathFileScenarioModelSeriesData); |
|---|
| 61 | Real MakeDir(PathFileDateType); |
|---|
| 62 | |
|---|
| 63 | Set Include(PathProject<<"source/_inisource.tol"); |
|---|
| 64 | Set Include(PathProject<<"repositories.tol"); |
|---|
| 65 | |
|---|
| 66 | ////////////////////////////////////////////////////////////////////////////// |
|---|
| 67 | // Definición de time sets para el proyecto |
|---|
| 68 | ////////////////////////////////////////////////////////////////////////////// |
|---|
| 69 | TimeSet LastDayMonth = Succ(D(1), -1, C); |
|---|
| 70 | */ |
|---|
| 71 | ////////////////////////////////////////////////////////////////////////////// |
|---|
| 72 | // FIM |
|---|
| 73 | ////////////////////////////////////////////////////////////////////////////// |
|---|