Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Provide a way to use annotation processors based on jar file #376

Closed
cnsgithub opened this issue Nov 23, 2017 · 1 comment

Comments

@cnsgithub
Copy link

cnsgithub commented Nov 23, 2017

Hi, would it be possible to add support for Annotation processors based on a local jar file? E.g. eclipse has support for them by using a .factorypath file

<factorypath>
    <factorypathentry kind="WKSPJAR" id="/libs/hibernate-jpamodelgen-5.2.12.Final.jar" enabled="true" runInBatchMode="false"/>
    <factorypathentry kind="WKSPJAR" id="/libs/querydsl-jpa-4.1.4-apt-one-jar.jar" enabled="true" runInBatchMode="false"/>
</factorypath>

This will then auto-generate the APT entities automatically into the source output folder for them

Additional notes, on how to use them in other IDEs. This might give ideas on how to implement this
https://docs.jboss.org/hibernate/stable/jpamodelgen/reference/en-US/html_single/#d0e302

Or is there already a way to do this? (Without using maven or gradle! It is important that it is supported for custom *.jar files)

@fbricon
Copy link
Collaborator

fbricon commented Nov 23, 2017

Duplicate of #339. Whether AP is based on Maven or directly from Eclipse APT, this is the same problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants