You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2022/08/11 01:58:29 UTC

[GitHub] [netbeans] javatlacati opened a new issue, #4496: Enable annotation processing

javatlacati opened a new issue, #4496:
URL: https://github.com/apache/netbeans/issues/4496

   ### Apache NetBeans version
   
   Apache NetBeans 14
   
   ### What happened
   
   In Oracle netbeans there was an option for [enabling annotation processing](https://netbeans.apache.org/kb/docs/java/annotations-lombok.html) which is missing in apache netbeans.
   
   ### How to reproduce
   
   on Projects tab select the root of your java project > Properties > Build > Compile
   
   The checkbox "enable annotation processing" is missing.
   
   ### Did this work correctly in an earlier version?
   
   No / Don't know
   
   ### Operating System
   
   Windows 10
   
   ### JDK
   
   Java: 17.0.2; Eclipse OpenJ9 VM openj9-0.30.0 Runtime: IBM Semeru Runtime Open Edition 17.0.2+8
   
   ### Apache NetBeans packaging
   
   Apache NetBeans provided installer
   
   ### Anything else
   
   A common use case is loading a project with lombok.
   
   ### Are you willing to submit a pull request?
   
   No
   
   ### Code of Conduct
   
   Yes


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] javatlacati commented on issue #4496: Enable annotation processing

Posted by GitBox <gi...@apache.org>.
javatlacati commented on issue #4496:
URL: https://github.com/apache/netbeans/issues/4496#issuecomment-1213130094

   I'm using maven as build system. It seems that it is enabled by default on Oracle JDK, but when using other one like Semeru it's not.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] javatlacati commented on issue #4496: Enable annotation processing

Posted by GitBox <gi...@apache.org>.
javatlacati commented on issue #4496:
URL: https://github.com/apache/netbeans/issues/4496#issuecomment-1214240345

   yes, lombok is configured properly in the pom.xml


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] ebarboni commented on issue #4496: Enable annotation processing

Posted by GitBox <gi...@apache.org>.
ebarboni commented on issue #4496:
URL: https://github.com/apache/netbeans/issues/4496#issuecomment-1213160789

   with maven you should edit your pom.xml to have lombok configured
   <plugins>
               <plugin>
                   <artifactId>maven-compiler-plugin</artifactId>
                   <configuration>
                       <annotationProcessorPaths>
                           <path>
                               <groupId>org.projectlombok</groupId>
                               <artifactId>lombok</artifactId>
                               <version>1.18.24</version>
                           </path>
                       </annotationProcessorPaths>
                   </configuration>
               </plugin>
           </plugins>
   
   and also append dependencies 
   <dependencies>
           <dependency>
               <groupId>org.projectlombok</groupId>
               <artifactId>lombok</artifactId>
               <version>1.18.24</version>          
           </dependency>
       </dependencies>
   
   get/set are available in navigator and in code completion.
   Tutorial is for ant.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] neilcsmith-net commented on issue #4496: Enable annotation processing

Posted by GitBox <gi...@apache.org>.
neilcsmith-net commented on issue #4496:
URL: https://github.com/apache/netbeans/issues/4496#issuecomment-1212883097

   That option is still there in the Ant project UI.  Which build system are you using?  Are you trying to enable to disable?  What is actually not working?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists