-
Notifications
You must be signed in to change notification settings - Fork 27
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
Set a property value from the content of a file #130
Comments
The feature does also require an optional For example, to read the first 10 kb of a file : <property name="selection.file.content" file="${selection.path}" filesize="10240" /> A special value of <property name="selection.file.content" file="${selection.path}" filesize="0" /> |
…onfiguration File that matches the current unit test. Simplified unit test TestActionProperty.testCopyFile() with the QuickLoader. #130
* feature-issue130: * Fixed issue #130: Set a property value from the content of a file. Created 1 more tests for <property> element with `file` attribute. #130 - Move code that "execute all actions of a menu" from CContextMenu.cpp to Menu.cpp. - Implemented FindMenuByName() for ConfigManager, Configuration and Menu classes. #111 - Fixed a major flaw in Configuration::IsValidConfigFile() which could result in unforgettable errors. Created class QuickLoader which can be used to automatically load a Configuration File that matches the current unit test. Simplified unit test TestActionProperty.testCopyFile() with the QuickLoader. #130 Fixed a documentation error about <file> usage. Updated documentation of `file` and `filesize` attributes for property element. #130 Implemented support of `file` and `filesize` attributes for ActionProperty class. #130 Created new utility functions in SaUtils.h & matching unit tests. #130
Is your feature request related to a problem? Please describe.
It would be useful to be able to set a property from the content of a file.
Describe the solution you'd like
Describe alternatives you've considered
There is no alternative for this feature.
Additional context
This feature would allow people to do advanced property manipulation such as
or to copy the result of an <exec> element as a property with something such as
The text was updated successfully, but these errors were encountered: