We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ed280da commit 97a6285Copy full SHA for 97a6285
1 file changed
processor/src/main/java/com/flowingcode/vaadin/addons/demo/DemoSourceProcessor.java
@@ -230,7 +230,8 @@ private void writeResource() {
230
Diagnostic.Kind.NOTE,
231
"Copying " + count + " demo-source " + (count == 1 ? "file" : "files") + " to class output");
232
}
233
- for (String sourcePath : collectedPaths) {
+ for (String rawPath : collectedPaths) {
234
+ String sourcePath = rawPath.startsWith("/") ? rawPath.substring(1) : rawPath;
235
// Files under META-INF/resources/ are already packaged into the JAR by Maven's
236
// resource-processing phase; the processor does not need to copy them.
237
if (isFromMetaInfResources(sourcePath)) {
0 commit comments