diff --git a/Sync-Projects.ps1 b/Sync-Projects.ps1 index 290870f..1053cda 100644 --- a/Sync-Projects.ps1 +++ b/Sync-Projects.ps1 @@ -1,6 +1,8 @@ # PowerShell script to checkout arm_am-pom, asset-gui and used modules and to build modules # Configuration +$SVN_TAG_URL = "https://svn.armundia.com/svn/PRJarm_am/tags/ISPBEstero/ADV360-BES-JB74_B2024_2/arm_am-pom-1.3.53" +$SVN_MTAG_URL = "https://svn.armundia.com/svn/PRJarm_am/tags/ISPBEstero/ADV360-BES-JB74" $SVN_BASE_URL = "https://svn.armundia.com/svn/PRJarm_am/branches/ISPBEstero/ADV360-BES-JB74" $SVN_BASE_URL_BW2_LIB = "https://svn.armundia.com/svn/PRJbw2" $SVN_BASE_URL_ARM_LIB = "https://svn.armundia.com/svn/PRJarm_am" @@ -8,13 +10,13 @@ $WORKSPACE_DIR = Join-Path $PSScriptRoot "workspace" # Project paths $PROJECTS = @{ - # "arm_am-pom" = "$SVN_BASE_URL/arm_am-pom" + # "arm_am-pom" = "$SVN_TAG_URL/arm_am-pom" # "asset-gui" = "$SVN_BASE_URL/asset-gui" # "AmazonAWS.S3" = "$SVN_BASE_URL_BW2_LIB/AmazonAWS.S3" "arm-core-batch" = "$SVN_BASE_URL/batch_module" "arm-core-document" = "$SVN_BASE_URL_BW2_LIB/branches/arm-core-document/arm-core-document-ispb" "arm-core-event" = "$SVN_BASE_URL_BW2_LIB/trunk/arm-core-event" - "arm-core-perfo" = "$SVN_BASE_URL/arm-perfo" + "arm-core-perfo" = "$SVN_MTAG_URL/arm-perfo-0.0.95" "arm-core-print" = "$SVN_BASE_URL/arm-core-print/arm-core-print" "arm-core-querybuilder" = "$SVN_BASE_URL_ARM_LIB/trunk/arm-core-querybuilder" "arm-core-quest" = "$SVN_BASE_URL/arm-core-quest" @@ -74,32 +76,32 @@ try { # Array of projects to build in order $BUILD_ORDER = @( - # Base libraries - "shared-javaEE", # Base Java EE utilities - "arm-core-utility", # core utilities - "arm-core-utility-extra", # additional utilities - "arm-util", # general utilities + # # Base libraries + # "shared-javaEE", # Base Java EE utilities + # "arm-core-utility", # core utilities + # "arm-core-utility-extra", # additional utilities + # "arm-util", # general utilities - # Core functionality - "arm-core-document", # Document handling - "arm-core-event", # Event system - "arm-core-users", # User management - "arm-core-querybuilder", # Query building - "arm-core-print", # Printing system + # # Core functionality + # "arm-core-document", # Document handling + # "arm-core-event", # Event system + # "arm-core-users", # User management + # "arm-core-querybuilder", # Query building + # "arm-core-print", # Printing system - # Business modules - "arm-core-quest", # Questionnaires - "arm-core-batch", # Batch processing - "arm-core-perfo", # Performance - "arm-core-var", # Risk calculation - "arm-fileExporter", # File export - "arm-limiti", # Limits management - "arm-quadratore-portafogli", # Portfolio management + # # Business modules + # "arm-core-quest", # Questionnaires + # "arm-core-batch", # Batch processing + "arm-core-perfo"#, # Performance + # "arm-core-var", # Risk calculation + # "arm-fileExporter", # File export + # "arm-limiti", # Limits management + # "arm-quadratore-portafogli", # Portfolio management - # Additional components - "data-quality", # Data quality - "AmazonAWS.S3", # AWS S3 integration - "aspose-manager" # Document processing + # # Additional components + # "data-quality", # Data quality + # # "AmazonAWS.S3", # AWS S3 integration + # "aspose-manager" # Document processing ) # Build each project in order diff --git a/build-and-deploy.ps1 b/build-and-deploy.ps1 index e99b998..eabff16 100644 --- a/build-and-deploy.ps1 +++ b/build-and-deploy.ps1 @@ -62,6 +62,7 @@ if (-not (Test-Path $PROJECT_DIR)) { # Check Asset GUI directory and package.json $skipAssetGui = $false +$skipAssetGui = $true if (-not (Test-Path $ASSET_GUI_DIR)) { Write-Host "Warning: Asset GUI directory not found at $ASSET_GUI_DIR" -ForegroundColor Yellow Write-Host "Skipping Asset GUI build..." -ForegroundColor Yellow diff --git a/config.json b/config.json index 74c5752..7639204 100644 --- a/config.json +++ b/config.json @@ -12,13 +12,13 @@ "jar": "custom-formatter.jar" }, "ear": { - "projectDir": "C:\\Dev2012\\source\\WindSurf\\adv7\\workspace\\arm_am-pom", + "projectDir": "C:\\Dev2012\\source\\WindSurf\\adv\\workspace\\arm_am-pom", "mavenProfile": "adv360-DEV", "deployedFile": "adv360-ear.ear", - "unpackDir": "C:\\Dev2012\\source\\WindSurf\\adv7\\workspace\\arm_am-unpacked" + "unpackDir": "C:\\Dev2012\\source\\WindSurf\\adv\\workspace\\arm_am-unpacked" }, "assetGui": { - "projectDir": "C:\\Dev2012\\source\\WindSurf\\adv7\\workspace\\asset-gui", - "targetDir": "C:\\Dev2012\\source\\WindSurf\\adv7\\workspace\\arm_am-pom\\arm_am\\WebContent\\adv" + "projectDir": "C:\\Dev2012\\source\\WindSurf\\adv\\workspace\\asset-gui", + "targetDir": "C:\\Dev2012\\source\\WindSurf\\adv\\workspace\\arm_am-pom\\arm_am\\WebContent\\adv" } }