Quantcast
Channel: Recent Questions - Stack Overflow
Viewing all articles
Browse latest Browse all 12111

What means "xs @ _*" in PathList of SBT assembly-plugin?

$
0
0

What these phrases mean:

xs @ _*

ps @ _*

Copied from documentation:

assemblyMergeStrategy in assembly := {  case PathList("javax", "servlet", xs @ _*)         => MergeStrategy.first  case PathList(ps @ _*) if ps.last endsWith ".html" => MergeStrategy.first  case "application.conf"                            => MergeStrategy.concat  case "unwanted.txt"                                => MergeStrategy.discard  case x =>    val oldStrategy = (assemblyMergeStrategy in assembly).value    oldStrategy(x)}

Viewing all articles
Browse latest Browse all 12111

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>