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

"File name too long" with MergeStrategy.rename #476

Open
darabos opened this issue Aug 24, 2022 · 1 comment
Open

"File name too long" with MergeStrategy.rename #476

darabos opened this issue Aug 24, 2022 · 1 comment

Comments

@darabos
Copy link

darabos commented Aug 24, 2022

It's not an important file, so I'll work around it, but that file name is really 271 characters long:

[error] (assembly) java.io.FileNotFoundException: target/streams/_global/assembly/_global/streams/assembly/4d9f
75e8b10610af4b6984bf12d83f216fd5d9c7_49c879a9d890ce1b79f75f0d4767695424000fb6_6a6a977b972f0936780cccb1351820469
df2e144/META-INF/xbean/README_neo4j-connector-apache-spark_2.12-4.0.2_for_spark_3_neo4j-connector-apache-spark_
2.12-4.0.2_for_spark_3_neo4j-connector-apache-spark_2.12-4.0.2_for_spark_3_neo4j-connector-apache-spark_2.12-4.
0.2_for_spark_3_neo4j-connector-apache-spark_2.12-4.0.2_for_spark_3.adoc (File name too long)

(I've added line breaks for easier viewing.)

Looks like the package name is repeated 6 times. Is that expected?

Thanks!

@darabos
Copy link
Author

darabos commented Aug 24, 2022

And it's not just that weird Neo4j Spark connector package either:

[error] (assembly) java.io.FileNotFoundException: target/streams/_global/assembly/_global/streams/assembly/be84
8e2d7ffda7391098fb09ec220e7c425ba1c4_d23767ffd5874e9e23c9ae4608b8556e89a6d492_6a6a977b972f0936780cccb1351820469
df2e144/META-INF/license/LICENSE.aix-netbsd_netty-tcnative-boringssl-static-2.0.52.Final-linux-aarch_64_netty-t
cnative-boringssl-static-2.0.52.Final-linux-aarch_64_netty-tcnative-boringssl-static-2.0.52.Final-linux-aarch_6
4_netty-tcnative-boringssl-static-2.0.52.Final-linux-aarch_64.txt (File name too long)

Can it be something wrong on my end? It's sbt 1.4.7 with sbt-assembly 1.2.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant