Skip to content

Can't rename to Archive_File_Object.xsd : Permission denied #4

@leemeng-tecforte

Description

@leemeng-tecforte

I'm running the gradle in GIT Bash command window and get the error as mentioned above.

Below are the command window log:
$ ./gradlew -x signArchives
:buildSrc:compileJava UP-TO-DATE
:buildSrc:compileGroovy UP-TO-DATE
:buildSrc:processResources UP-TO-DATE
:buildSrc:classes UP-TO-DATE
:buildSrc:jar UP-TO-DATE
:buildSrc:assemble UP-TO-DATE
:buildSrc:compileTestJava UP-TO-DATE
:buildSrc:compileTestGroovy UP-TO-DATE
:buildSrc:processTestResources UP-TO-DATE
:buildSrc:testClasses UP-TO-DATE
:buildSrc:test UP-TO-DATE
:buildSrc:check UP-TO-DATE
:buildSrc:build UP-TO-DATE
:clean UP-TO-DATE
:retrieveSchemas
Schemas are present. Retrieval is not needed.
Patching C:\workspace\git\java-stix\src\main\resources\schemas\v1.2.0\cybox
objects\Archive_File_Object.xsd
[ant:patch] patch: **** can't rename /tmp/po010680' toC:\workspace\git\java-stix\src\main\resources\schemas\v1.2.0\cybox\objects\Archive_File_Object.xsd' : Permission denied
[ant:patch] 'patch' failed with exit code 2
:createPrefixNamespaceBindings FAILED

FAILURE: Build failed with an exception.

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

    1

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug
    option to get more log output.

BUILD FAILED

Total time: 7.465 secs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions