Skip to content

Rework or remove agent configuration merging #208

@sdeleuze

Description

@sdeleuze

As shown in this branch with the samples/commandlinerunner-agent project, when executing mvn -Pnative -Dagent=true -DskipNativeTests clean test package the execution fails because native-image-configure generate --output-dir=/home/seb/workspace/spring-native/samples/commandlinerunner-agent/target/native/agent-output/test do not provide inputs.

Related code is in MergeAgentFiles and related to AGENT_SESSION_SUBDIR.

I am wondering if we could just avoid doing this kind of processing and just pass the generated configs to native-image since we can provide multiple ones.

Tested on Maven only but could impact Gradle as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions