Skip to content
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

#22255 revert paths in copyDotCmsWebComponents release-branch #22260

Merged
merged 2 commits into from
May 19, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion dotCMS/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -566,6 +566,8 @@ task cleanDotCmsWebComponents {
delete './src/main/webapp/dotcms-webcomponents/package'
delete './src/main/webapp/dotcms-webcomponents/dotcms-webcomponents.js'
delete './src/main/webapp/dotcms-webcomponents/dotcms-webcomponents.esm.js'
//Cleanup for issue #22255 can be removed when no longer required
delete './src/main/webapp/dotcms-webcomponents/dotcms-webcomponents'
}


Expand All @@ -580,7 +582,8 @@ task extractDotCmsWebComponents(type: NpmArtifactExtractTask) {

task copyDotCmsWebComponents(type: Copy) {
from (extractDotCmsWebComponents.outputDir.dir('package/dist'))
into "./src/main/webapp/dotcms-webcomponents"
into "./src/main/webapp"
include 'dotcms-webcomponents/*'
dependsOn cleanDotCmsWebComponents
}

Expand Down