@echo off
REM
REM Team for Capella Projects Connection script
REM
REM Documentation is available : 
REM * in T4C documentation in "Connection Application Configuration" chapter
REM * typing connect -help (see result in log)
REM
REM Each option can also be added directly on the command line: e.g. "connect.bat -reponame myRepo -remoteAirdPath /capella_test/capella_test.aird -localProjectName capella_test_local"
@echo on

cd ../capella

REM Communication with server using http
capellac.exe ^
--launcher.suppressErrors ^
-nosplash -console -consoleLog ^
-data importer-workspace ^
-application com.thalesgroup.mde.melody.collab.connection ^
-repositoryCredentials ../tools/repositoryCredentials.properties ^
%* ^
-vmargs -Xms1000m -Xmx3000m -Xss4m ^
-XX:+UseG1GC -XX:+UseStringDeduplication ^
-Dorg.eclipse.net4j.util.om.trace.disable=true ^
-Dosgi.requiredJavaVersion=17 ^
-Dosgi.dataAreaRequiresExplicitInit=true ^
-Dlogback.configurationFile=configuration/logback.xml ^
-Dpde.jreProfile=JavaSE-17

@echo off
