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

I expect fsc not to lock JARs in classpath, but fsc locks these JARs on Windows. #5207

Closed
scabug opened this issue Nov 21, 2011 · 2 comments
Closed

Comments

@scabug
Copy link

scabug commented Nov 21, 2011

I enter following command line on Windows.

fsc -encoding UTF-8 -P:continuations:enable -classpath build/classes;lib/dep.jar -sourcepath src -d build/classes src/Main.scala
del lib\dep.jar

And I got:

另一个程序正在使用此文件,进程无法访问。

The error message means "The process cannot access the file because it is being used by another process".

I think fsc should detect JAR files's changes automatically, instead of locking them and preventing them from being changed.

@scabug
Copy link
Author

scabug commented Nov 21, 2011

Imported From: https://issues.scala-lang.org/browse/SI-5207?orig=1
Reporter: @Atry
Affected Versions: 2.9.1

@scabug
Copy link
Author

scabug commented Jan 29, 2016

@retronym said:
Merging with #9632

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants