-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some small improvements to sbt-pack in my fork #83
Comments
ok. If possible please make a separate pull request for each change for excluding project.jar and duplicate check. |
Sorry, I don't know how to make separate pull requests, and I prefer to spend my limited time to write tests. |
I've made the pull request. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: