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

Plugin should forward processor compiler options (-Akey=value) #105

@twwwt

Description

@twwwt

What happened?

When specifying annotation processor compiler options in a build file, they are not forwarded to the Eclipse configuration created by the plugin.

What did you want to happen?

Annotation processor options should be forwarded to the Eclipse configuration.

Example:

compileJava
{
	options.compilerArgs += ['-AaddGenerationDate=true'] // Specific to Hibernate JPA meta model generation processor.
}

This should result in the following entry in .settings/org.eclipse.jdt.apt.core.prefs:

org.eclipse.jdt.apt.processorOptions/addGenerationDate=true

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