Collection of hybris developer's bash scripts that:
- simplify work process with multiple hybris project
- allow using system wide commands and aliases
- enhance operations of initialization/update with error verifications
- decompile all hybris jars
- Clone or download this repository
- Add path to the folder to your system PATH (add line to ~/bash_profile)
export PATH="$PATH:~/y-scripts"
- Open shell and navigate to a hybris folder - usually it's project/repository root. It isn't required to open hybris/bin/platform dir and setantenv.
- Scripts can identify where is nearest hybris platform based on current working directory
- If there is ambiguity in hybris platform selection scripts fail and returns non-zero code
Service script - identifies where is hybris platform located based on current working directory
Wrapper for hybris platform's ant with calls of . .\setantenv.sh
Alias for hybrisserver.sh in hybris platform
Alias for hybris installer
Performs hybris initialize and analysis errors in logs. Prints errors and warning in case of there are any failures in logs and returns non-zero code in this case
Performs hybris junit tenant initialize and analysis errors in logs. Prints errors and warning in case of there are any failures in logs and returns non-zero code in this case
Performs hybris update and analyses errors in logs. Prints errors and warning in case of there are any failures in logs and returns non-zero code in this case
Runs all hybris tests for custom extensions. Optionally can be passed parameter for filtering list of custom extensions (grep).
y-test services
Decompiles all hybris jar files using CFR decompiler
Alias for and build with disabled items.xml verification to speed up rebuilding
Alias for hybris server start in debug mode
Alias for ant all and hybrisserver start in debug mode