You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To copy *.jar of a webapp called myproject to WEB-INF/lib
The pack task doesn't work because it creates a bin and a lib folders, and other stuff.
I've created a task called packCopyDependencies.
For faster processing and save disk space, I've created a packUseSymbolicLinks, that creates symbolic links instead of copying.
As I want to copy all the dependencies of myproject, but not myproject.jar, I've created the property packExcludeLibJars setting. The original packExclude settings controls both the dependencies of a project and the project.jar. That provides less flexibility.
Luckily, as the code is clean and easy to understand, my modifications have been easy to make.
My need:
To copy
*.jar
of a webapp calledmyproject
toWEB-INF/lib
The
pack
task doesn't work because it creates abin
and alib
folders, and other stuff.I've created a task called
packCopyDependencies
.For faster processing and save disk space, I've created a
packUseSymbolicLinks
, that creates symbolic links instead of copying.As I want to copy all the dependencies of
myproject
, but notmyproject.jar
, I've created the propertypackExcludeLibJars
setting. The originalpackExclude
settings controls both the dependencies of a project and theproject.jar
. That provides less flexibility.Luckily, as the code is clean and easy to understand, my modifications have been easy to make.
https://github.com/DavidPerezIngeniero/sbt-pack/blob/develop/src/main/scala/xerial/sbt/Pack.scala
I'll try to correct a previous problem with the
checkDuplicatedDependencies
task, and make a pull request of all my changes.The text was updated successfully, but these errors were encountered: