From 4b9d7ef3de0d993914ec4006140646c5d31856c7 Mon Sep 17 00:00:00 2001 From: Seth Tisue Date: Thu, 10 Nov 2016 08:50:05 -0800 Subject: [PATCH] undeprecate generateComponentsAndDirectoryXml in WixHelper as per https://github.com/sbt/sbt-native-packager/issues/726 --- .../scala/com/typesafe/sbt/packager/windows/WixHelper.scala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/scala/com/typesafe/sbt/packager/windows/WixHelper.scala b/src/main/scala/com/typesafe/sbt/packager/windows/WixHelper.scala index 0c7dcabcc..7fc35bf29 100644 --- a/src/main/scala/com/typesafe/sbt/packager/windows/WixHelper.scala +++ b/src/main/scala/com/typesafe/sbt/packager/windows/WixHelper.scala @@ -273,7 +273,8 @@ object WixHelper { * @return A tuple where the first item is all the Component Ids created, * and the second is the Directory/File/Component XML. */ - @deprecated("Use higher level abstraction", "6/28/13") + // TODO @deprecated("Use higher level abstraction", "6/28/13") + // reference: https://github.com/sbt/sbt-native-packager/issues/726 def generateComponentsAndDirectoryXml(dir: File, id_prefix: String = ""): (Seq[String], scala.xml.Node) = { def makeId(f: File) = cleanStringForId(IO.relativize(dir, f) map (id_prefix +) getOrElse (id_prefix + f.getName))