Skip to content

Copy libraries from project directory functionality seems not working #552

@remal

Description

@remal

We have a custom checkstyle-extensions.jar at the root of our project.

Our .idea/checkstyle-idea.xml:

<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
  <component name="CheckStyle-IDEA">
    <option name="configuration">
      <map>
        <entry key="active-configuration" value="PROJECT_RELATIVE:C:/Users/remal/project/checkstyle.xml:Project checkstyle" />
        <entry key="checkstyle-version" value="9.3" />
        <entry key="copy-libs" value="true" />
        <entry key="location-0" value="BUNDLED:(bundled):Sun Checks" />
        <entry key="location-1" value="BUNDLED:(bundled):Google Checks" />
        <entry key="location-2" value="PROJECT_RELATIVE:C:/Users/remal/project/checkstyle.xml:Project checkstyle" />
        <entry key="scan-before-checkin" value="false" />
        <entry key="scanscope" value="JavaOnlyWithTests" />
        <entry key="suppress-errors" value="true" />
        <entry key="thirdparty-classpath" value="$PROJECT_DIR$/checkstyle-extensions.jar" />
      </map>
    </option>
  </component>
</project>

When we change checkstyle-extensions.jar we see that this file is locked by a Java process, that's why I think "Copy libraries from project directory" functionality isn't working.

Are there any ideas?
How can I debug this functionality myself?

Operation system: Windows
Project path: C:\Users\remal\project

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementRequest for new functionalitywindowsMS Windows-specific functionality

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions