Skip to content
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

FIX #405: Script replacements doesn't work with jdeb packaging #406

Merged
merged 1 commit into from
Nov 11, 2014

Conversation

kardapoltsev
Copy link
Member

No description provided.

@muuki88 muuki88 added the debian label Nov 11, 2014
controlScripts foreach { case (file, script) => IO.copyFile(file, controlDir / script) }
for ((file, name) <- controlScripts) {
val targetFile = controlDir / name
copyAndFixPerms(file, targetFile, LinuxFileMetaData())
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can use this as windows will not work as chmod is used.
You have to implement the subset of this function yourself ( in Java 7 we can remove
a lot of this clunky code )

@kardapoltsev
Copy link
Member Author

I forgot about win( I'll try to fix a bit later.

@muuki88
Copy link
Contributor

muuki88 commented Nov 11, 2014

No problem :) you are super fast anyway

@kardapoltsev
Copy link
Member Author

Is it fine to override this functions and just remove chmod invocation? JDeb will fix perms on its side.

@muuki88
Copy link
Contributor

muuki88 commented Nov 11, 2014

Exactly. I wouldn't override, but create a new function.

@muuki88
Copy link
Contributor

muuki88 commented Nov 11, 2014

Smooth. Let's wait for travis and then this should be good to go.
I think we should release another milestone with the long-classpath fix.

@kardapoltsev
Copy link
Member Author

It'll be nice since I've updated one of my projects build to 1.0.0 and native packaging is really slow :(

muuki88 added a commit that referenced this pull request Nov 11, 2014
FIX #405: Script replacements doesn't work with jdeb packaging
@muuki88 muuki88 merged commit 51ae6b1 into sbt:master Nov 11, 2014
@kardapoltsev kardapoltsev deleted the wip/jdeb-script-replacements branch November 12, 2014 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants