Is it possible to change the name of the output play dist file other than changing appName to Build.scala ?
play dist
appName
Build.scala
I am trying to automate the creation of two different zip files from the same project tree, for example: myapp-production-1.0-SNAPSHOT.zip and myapp-integration-1.0-SNAPSHOT.zip .
myapp-production-1.0-SNAPSHOT.zip
myapp-integration-1.0-SNAPSHOT.zip
Thank you very much!
For Play Framework 2.4, changing the name of the output file worked as follows in the build.sbt file:
packageName in Universal := "dist"
In Play Framework 2.2, you can add the following line to the build.sbt file:
name in Universal := "dist"
Your application will be packaged in target / universal / dist.zip
You can change the output by changing the build.sbt file in the project directory.
name := "myname" version := "1.0-SNAPSHOT"
Remember to recompile, you may also need to clean it.
Source: https://habr.com/ru/post/951218/More articles:What does command A (~ A) really do in matlab - matlabWhy am I getting an unexpected operator error in the w bash equality test? - bashFor a loop in the array read 'remove'? - javascriptHow to convert comma separated string to ArrayList in Java - javajQuery animation queue with general easing - jquery"fatal: ref HEAD is not symbolic ref" during interactive git rebase - gitAngularJS (Restangular): Creating a promise block? You must use it to verify the token - angularjsCan I evaluate two groups of elements with a foreach loop in C # winforms? - c #CSS: a combination of texture and color - htmlGet checkbox.checked value programmatically from a loop through winform controls - c #All Articles