-
Type:
Task
-
Status: Closed
-
Priority:
Minor
-
Resolution: Completed
-
Affects Version/s: None
-
Fix Version/s: 7.0.X, 7.1.X, 7.2.10 DXP FP17, 7.2.10.6 DXP SP6, 7.2.X, 7.3.X, Master
-
Component/s: Dev Tools > Gradle Plugins
-
Branch Version/s:7.3.x, 7.2.x, 7.1.x, 7.0.x
-
Backported to Branch:Committed
-
Git Pull Request:
Context:
Recently some functional test files (.function, .macro, .testcase) have been moved out from 'liferay-portal/portal-web' into module-specific directories such as 'liferay-portal/modules/apps/account/account-test/src/testFunctional' which do not get bundled up into the poshi runner resources jar since it only seeks files within `liferay-portal/portal-web.` Due to this, the legacy database upgrade for the 'liferay-qa-portal-legacy-ee' repo is currently not functional.
Request:
We want to be able to specify a comma-delimited list of directories (absolute paths) to include when generating the com.liferay.poshi.runner.resources jar .
This is how we are currently setting a single directory for inclusion (relative to a pre-defined root directory within the default gradle plugin):
poshiRunnerResources { baseNameDir "portal", "test/functional/com/liferay/portalweb" }
The goal is to be able to do something like this instead:
poshiRunnerResources { baseNameDir "portal", "/opt/dev/projects/github/liferay-portal/portal-web/testFunctional/test/functional/com/liferay/portalweb,/opt/dev/projects/github/liferay-portal/modules/apps/account/account-test/src/testFunctional" }
Relevant code in the PoshiRunnerResource plugin files that may need to be modified:
PoshiRunnerResourcesExtension.java
PoshiRunnerResourcesPlugin.java