def main(args: Array[String]): Unit = {
val hasOpenSsl = io.netty.handler.ssl.OpenSsl.isAvailable()
println("has openssl? " + hasOpenSsl)
println("stack trace: " + io.netty.handler.ssl.OpenSsl.unavailabilityCause().printStackTrace())
SevOne, Inc. reserves the right to monitor the transmission of this message and to take corrective action against any misuse or abuse of its e-mail system or other components of its network.
The information contained in this e-mail may be confidential and/or legally privileged. It is intended solely for the addressee. If the reader of this message is not an intended recipient, you are hereby notified that any unauthorized review, use, disclosure, dissemination, distribution, or copying of this communication, or any of its contents, is strictly prohibited and may be unlawful. If you have received this communication in error, please reply to the sender and destroy all copies of the message. To contact us directly, send to postm...@sevone.com.
--
You received this message because you are subscribed to the Google Groups "Netty discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to netty+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/netty/19cc71e8-64fc-4324-982c-e08412b886c2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
val uberJarMerge = new sbtassembly.MergeStrategy {
override def name: String = "uberJarMerge"
override def apply(tempDir: File, path: String, files: Seq[File]): Either[String, Seq[(File, String)]] = {
Right(
for {
// collects not jar-origin files plus jar-origin "native" directory
f <- files if (!AssemblyUtils.sourceOfFileForMerge(tempDir, f)._4) || (f.getPath contains "/native/")
} yield {
f -> path
}
)
}
}
assemblyMergeStrategy in assembly := {
case PathList("META-INF", xs @ _*) => uberJarMerge
case x => MergeStrategy.first
}
SevOne, Inc. reserves the right to monitor the transmission of this message and to take corrective action against any misuse or abuse of its e-mail system or other components of its network.
The information contained in this e-mail may be confidential and/or legally privileged. It is intended solely for the addressee. If the reader of this message is not an intended recipient, you are hereby notified that any unauthorized review, use, disclosure, dissemination, distribution, or copying of this communication, or any of its contents, is strictly prohibited and may be unlawful. If you have received this communication in error, please reply to the sender and destroy all copies of the message. To contact us directly, send to postm...@sevone.com.
--
You received this message because you are subscribed to the Google Groups "Netty discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to netty+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/netty/e84d8d38-f1d4-4a85-864a-be95c873f1f4%40googlegroups.com.