Skip to content

Commit

Permalink
#22255 revert paths in copyDotCmsWebComponents release-branch (#22260)
Browse files Browse the repository at this point in the history
* revert paths in copyDotCmsWebComponents (#22255)

* add cleanup for #22255

Co-authored-by: dotcmsbuild <[email protected]>
  • Loading branch information
spbolton and dotcmsbuild authored May 19, 2022
1 parent 0628434 commit 15ad3d9
Showing 1 changed file with 4 additions and 1 deletion.
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

0 comments on commit 15ad3d9

Please sign in to comment.