-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AutoTxConfigTest is looking for configuration files in the wrong place #1
Comments
also config.common.xml needs to be in C:\Tools\AutoTx
|
AutoTxConfigTest.exe is look for the config in the same folder as the exe file - not mentioned in the documentation |
Hi @mathse, thanks for the feedback. Actually, auto-tx/ATxConfigTest/AutoTxConfigTest.cs Lines 16 to 20 in 2e06700
The tool was created to be used by the Update-Service.ps1 script, where it is used in the auto-tx/Updater/Update-Service.ps1 Lines 364 to 395 in 2e06700
However, the tool is also intended for direct use on the command line. So this should indeed be documented better, and it would definitely be smarter to look in the (new) default location for the config files. Forgot to reflect this when changing the config location and never ran into problems myself since the updater is calling configtest with an explicit path... Cheers, |
Just for completeness:
this behavior is explained in the corresponding README here: auto-tx/ATxConfigTest/README.md Lines 8 to 9 in 9798e70
If you have any suggestions where else this should be mentioned, please let me know - happy to update the documentation about this! |
With commit 3752c5e the configuration tester is now looking in the |
Since the executable will be located in the service base directory it makes most sense to check in the `var` subdir for the config by default. Fixes #58
my config files are in C:\Tools\AutoTx\conf\
but it searches for C:\Tools\AutoTx\HOSTNAME.xml
The text was updated successfully, but these errors were encountered: