Skip to content

Commit

Permalink
Merge pull request #341 from wttech/bugfix/on-install-issue
Browse files Browse the repository at this point in the history
fix install hook issue
  • Loading branch information
dprzybyl authored Apr 7, 2022
2 parents 164470b + e58833d commit c4b3a04
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/aem/ui.apps/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,11 @@ aem {
installBundleProject(":app:aem:core")
installBundleProject(":app:aem:actions.main")
vaultDefinition {
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
version.set(rootProject.version as String)
description.set(project.description)
property("waitForOsgiEventsQuietInSec", "10")
property("installPathRegex", "/apps/apm/.*")
}
}
}
Expand Down
Binary file not shown.
2 changes: 2 additions & 0 deletions docs/launchers.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,5 @@ Then add properties to your scripts:
apm:launchHook="orange"
```
First script will be launched after installation of first package, and the other one, after installation of second package.

Packages with install hook can only be deployed after deployed package *apm-ui.apps*.
1 change: 1 addition & 0 deletions examples/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ aem {
version.set(currentVersion)
description.set(project.description)
property("installhook.apm.class", "com.cognifide.apm.core.tools.ApmInstallHook")
property("dependencies", "com.cognifide.apm:apm-ui.apps:$currentVersion")
}
}
}
Expand Down

0 comments on commit c4b3a04

Please sign in to comment.