You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When importing a Maven project tree, an obscure message. The user wasn't trying to create a linked resource, but just to open a project.
Cannot create a link to path/cldr2' because it overlaps the location of the project that contains the linked resource.
The message seems to be coming from tools/cldr-code/pom.xml - project name cldr-code which is 2 levels deep from the cldr2 directory mentioned, which is the root project.
Side Request
I don't know if this next message is addressed at the correct level of a very complex stack, but: Please consider improving the message reporting structure here with much more context. It's not an actionable error message.
Background
Hello. Another user at least has seen this as well, and it's been reproduced across both the Eclipse IDE and VSCode. I'm including VSCode details because it has stack traces.
OK, by much analysis I found out what was triggering this error. Two levels deep into poms we have a <resource> reference that pulls a file from the top level directory (cldr2 in the above error message).
This is valid in Maven, so seems to be an m2e bug.
Seems like m2e, if it wants to make a linked resource, should just reference the top level file — LICENSE is already a part of the top level project.
diff --git a/tools/cldr-code/pom.xml b/tools/cldr-code/pom.xml
index 9dc23550d8..4a479cf3b5 100644
--- a/tools/cldr-code/pom.xml+++ b/tools/cldr-code/pom.xml@@ -69,23 +69,6 @@
<resource>
<directory>src/main/resources</directory>
</resource>
- <resource>- <directory>${project.basedir}/../..</directory>- <!-- This is put here so that it can be read by CldrUtility, even outside of a jar -->- <targetPath>${project.build.directory}/classes/org/unicode/cldr/util/data</targetPath>- <includes>- <include>LICENSE</include>- </includes>- </resource>- <resource>- <directory>${project.basedir}/../..</directory>- <!-- This is put here so that it shows up in the final .jar in an expected spot -->- <!-- Note: icu4j keeps its license file at the root, /LICENSE. We won't conflict. -->- <targetPath>META-INF</targetPath>- <includes>- <include>LICENSE</include>- </includes>- </resource>
</resources>
<plugins>
<plugin>
Summary Error
When importing a Maven project tree, an obscure message. The user wasn't trying to create a linked resource, but just to open a project.
The message seems to be coming from tools/cldr-code/pom.xml - project name
cldr-code
which is 2 levels deep from thecldr2
directory mentioned, which is the root project.Side Request
I don't know if this next message is addressed at the correct level of a very complex stack, but: Please consider improving the message reporting structure here with much more context. It's not an actionable error message.
Background
Hello. Another user at least has seen this as well, and it's been reproduced across both the Eclipse IDE and VSCode. I'm including VSCode details because it has stack traces.
Tracking this downstream at https://unicode-org.atlassian.net/browse/CLDR-18205
To reproduce:
Details:
The text was updated successfully, but these errors were encountered: