Welcome to the Stash Tool. The smart way automatically configure environments.
To use this tool, start with com.cruat.tools.stash.config.Configurator This class has a method called execute which takes a string representing a path.
If the destination of the passed path does not exist, nothing will happen. If the destination of the passed path is a file, that file will be processed as an instruction If the destination of the passed file is a directory, the directory is recursively transversed and each entry is treated like an individual file.
Stash tool allows for flexible configuration.
Every non-commented line is considered to be an instruction for the stash tool. There are 4 basic arguments that the stash tool requires for an instruction :
- File : Which file the operation will be executed on
- Operation : Determines what is done with the information
- Setting : Which setting within the file to do the operation on
- Value : The second Operand for binary Operations.
Note that configurations are considered in sequence within a file.
The most basic command is =
The default operation is to change the value of the specified property to Location equates to any logical path. For example, "/config.properties" Note that the location must point to a file.
The Operation determines what happens within that file
The Property Name identifies what you want to do the operation on
The value determines the second operand in binary operations.
>
(With a value) This will replace the whatever is stored at the identifier with the value
<
undefined
*
undefined
?
undefined
|
undefined
Fix missing DTDs