Skip to content
This repository was archived by the owner on May 23, 2025. It is now read-only.
This repository was archived by the owner on May 23, 2025. It is now read-only.

compilation fails when classpath is long #64

@brown

Description

@brown

When the Java classpath is long, the command line "-cp" argument passed to groovyc exceeds the Linux maximum size for any single command argument, which is roughly 131K.

I have a hack to groovy/groovy.bzl that works around the problem by using symlinks. The groovyc command really needs a way to specify very long classpaths. Maybe it would be better to set the CLASSPATH environment variable in the Bazel rule?

What do you think?

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