cuba-platform / cuba-gradle-plugin

Gradle plugin for building CUBA platform and applications
https://www.cuba-platform.com
Apache License 2.0
15 stars 18 forks source link

UberJAR does not copy files from web in core module if we place files under web/vaadin #118

Closed Flaurite closed 4 years ago

Flaurite commented 4 years ago

Environment

Description of the bug or enhancement

If we place files under core/web/VAADIN/some_file it will not be copied to UberJAR.

knstvk commented 4 years ago

@Flaurite How do you use files in core/web/VAADIN? It's middle tier, why do you need this?

Flaurite commented 4 years ago

@knstvk Since we started to deploy Sampler as UberJar some images are not deployed to file storage when we launch an application. We decided to copy them form jar to file storage manually from AppContextInitializedEvent

knstvk commented 4 years ago

@Flaurite So the problem is solved?

Flaurite commented 4 years ago

@knstvk Yes, we placed them into WEB-INF folder.

knstvk commented 4 years ago

Then I close the issue.