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

win10+eclipse+gradle+jpf-core #185

Closed
Marvinmw opened this issue Apr 29, 2019 · 2 comments
Closed

win10+eclipse+gradle+jpf-core #185

Marvinmw opened this issue Apr 29, 2019 · 2 comments

Comments

@Marvinmw
Copy link

When I built JPF-core in Eclipse on Win10. I get the error,
AILURE: Build failed with an exception.

  • Where:
    Script 'C:\Users\wei.ma\SEJPF\jpf-core\gradle\build-resources.gradle' line: 32

  • What went wrong:
    Execution failed for task ':generateBuildInfo'.

java.io.FileNotFoundException: build.properties (Access is denied)

@ranjsa
Copy link

ranjsa commented Mar 10, 2020

@cyrille-artho

According to the issue description the build is failing at jpf-core\gradle\build-resources.gradle' line: 32 with error java.io.FileNotFoundException: build.properties (Access is denied)
which is this
issue#185

At line 32 (def writer = new File("build.properties").newWriter("utf-8"))it is writing to file build.properties
Exception claims that permission is denied But i checked and in this file all the permissions are checked
issue#185v1
Also when i built the project in my system it built successfully.

So maybe the issue is already fixed or at the time the error occured the file build.properties was simultaneously been open on another window causing an error.

So can we close this issue ?

@cyrille-artho
Copy link
Member

Yes, this works on other systems, and Windows has weird file locking so when you open a file in an editor, it usually gets locked.

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

No branches or pull requests

3 participants