Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit a60a0ff

Browse files
committedAug 21, 2014
Replacing normalizedName with packageName
1 parent 1a67da4 commit a60a0ff

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎src/main/scala/com/typesafe/sbt/packager/archetypes/JavaServerApplication.scala

+3-3
Original file line numberDiff line numberDiff line change
@@ -99,18 +99,18 @@ object JavaServerAppPackaging {
9999
getWinswExe <<= (target in Windows) map doGetWinswExe,
100100
//TODO use batScriptExtraDefines ? Definitly it's not generic enough and this must be review
101101
//Create the xml file that go with winsw exe
102-
createWinswXml <<= (normalizedName, Keys.mainClass in Compile, scriptClasspath, target in Windows) map doCreateWinswXml,
102+
createWinswXml <<= (packageName, Keys.mainClass in Compile, scriptClasspath, target in Windows) map doCreateWinswXml,
103103
/*
104104
* Mappings exe and xml files
105105
*/
106106
//Exe
107-
mappings in Windows <++= (getWinswExe, normalizedName) map { (file, name) =>
107+
mappings in Windows <++= (getWinswExe, packageName) map { (file, name) =>
108108
for {
109109
s <- file.toSeq
110110
} yield s -> ("bin/" + name + "_service.exe")
111111
},
112112
//Xml
113-
mappings in Windows <++= (createWinswXml, normalizedName) map { (file, name) =>
113+
mappings in Windows <++= (createWinswXml, packageName) map { (file, name) =>
114114
for {
115115
s <- file.toSeq
116116
} yield s -> ("bin/" + name + "_service.xml")

0 commit comments

Comments
 (0)
Please sign in to comment.