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

Made -agentlib options before the classpath in the bash script. #431

Merged
merged 1 commit into from
Dec 14, 2014

Conversation

ht290
Copy link

@ht290 ht290 commented Dec 5, 2014

If someone wants to add remote debugging options for their project, he will add something like

-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005

in src/universal/conf/jvmopts

However, the auto generated bash only treat arguments starting with -D as JVM arguments. The option we just added will be appended at the end of the java command as "residual arguments", which will not work.

This commit fixes it.

@muuki88 muuki88 added debian rpm universal Zip, tar.gz, tgz and bash issues and removed rpm debian labels Dec 14, 2014
@muuki88
Copy link
Contributor

muuki88 commented Dec 14, 2014

LGTM. Thanks for the improvement :)

muuki88 added a commit that referenced this pull request Dec 14, 2014
Made -agentlib options before the classpath in the bash script.
@muuki88 muuki88 merged commit 59c2b9f into sbt:master Dec 14, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
universal Zip, tar.gz, tgz and bash issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants