Repository navigation
Рецепт установки агентом: 1C:EDT Start, -vm, автозапуск сервера - #58
Merged
Merged
Conversation
docs/agent-install.md gains step 8: write the configuration fragment of the running client from docs/clients.md, start a new session and call get_edt_version first. The install prompts in README.md and README.en.md ask for the same.
…er's auto-start docs/agent-install.md: the director takes -vm when 1cedt.ini names no JVM; a session of 1C:EDT Start runs as javaw.exe and is relaunched by the person; on a first installation mcpServerAutoStart=true is written to the workspace preferences before EDT starts; with several installations the one the workspace opens with is used. The prompts in README.md and README.en.md ask for the auto-start and for the relaunch.
Step 6 gives the Start-Process form with the launcher, -data and -vm for a workspace whose session left no 1cedt.exe command line, names the quoting of arguments with spaces and the locked workspace, and leaves the person as the fallback after a minute. The prompts no longer ask the person to open the project from 1C:EDT Start.
Step 6 gives the start "" form in a .cmd file with the launcher, -data and -vm in place of Start-Process -ArgumentList, and says to send the output of the file to a file or discard it.
…in window Step 2 has the agent call CloseMainWindow on the javaw.exe of the session and ask the person only when the process is still alive after half a minute.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Рецепт установки агентом и промпты в README.
docs/agent-install.md: шаг подключения клиента к серверу; директору передается-vm, когда в1cedt.iniJVM не названа; сеанс, запущенный из 1C:EDT Start, идет процессомjavaw.exeи запускается человеком; на первой установке в настройки рабочей области записываетсяmcpServerAutoStart=true; при нескольких установках берется та, которой открыта рабочая область.README.md,README.en.md: промпт просит включить автозапуск сервера, подключить клиент и первым вызовом новой сессии проверитьget_edt_version.