AdaCore / AdaCore/libadalang

Building Java should be disabled by default

Open
#964 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Ada
Stars
171
Forks
48
PR merge metrics
No merged PRs in 30d

Description

Building v24.0.0, I have to do

    python manage.py                            \
           build                                \
           --disable-java

or I get

Building the Java bindings...
Maven-Command failed: error while running mvn -f /Volumes/Miscellaneous3/src/libadalang/build/java/pom.xml clean package -q:
    [Errno 2] No such file or directory: 'mvn'

I don't have mvn installed, because I didn't know I might need to.

I think that people who want Java support should have to say --enable-java.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in manage.py at the build command handling and inspect how Java bindings are enabled or disabled by default. Run the build without Maven installed, then verify that Java is skipped by default and only runs when explicitly enabled with the corresponding option.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, python
Domain
build-system
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.