Skip to content

When using this with grails project it keeps complaining about duplicate definition as below #41

Open
@xqliu

Description

@xqliu

Hi there,

thanks for this plugin, this makes work with grails in emacs possible.

But there's one issue that, it keeps warning about follow

Invalid duplicate class definition of class LogicType : The sources /Users/.../Dropbox/Codes/grails-docker/grails-platform/grails-app/domain/LogicType.groovy and /Users/.../Dropbox/Codes/grails-docker/grails-platform/bin/default/grails-app/domain/LogicType.groovy each contain a class with the name LogicType.

Seems it just copy all the files from project root folder to <projectRoot>/bin/default folder, so caused the above issue happens

Is there anything I can check or configure to avoid this warning happens? when it happens, basically lsp related features will not be available and I have to manually delete the <projectRoot>/bin folder and restart the lsp server for it to work again.

Thanks.

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