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/03/04 20:50:02 UTC

[GitHub] [netbeans] matthiasblaesing commented on issue #3690: [vscode] LSP does not respect auto generated code in `target` folder

matthiasblaesing commented on issue #3690:
URL: https://github.com/apache/netbeans/issues/3690#issuecomment-1059520725


   The generated project structure looks strange on the verge of broken. When I use a maven project and generate code (for example from annotations), it is common, that the generated code is placed in:
   
   `target/generated-sources/<name_of_generator_or_custom_set>/<packages>`
   
   In the case of your sample, a whole maven project is generated in `target/generated-sources/<name_of_generator_or_custom_set>` (there is even a pom.xml there). This is irritating and IMHO broken. The code generator for maven should do just that: generate code, not whole projects. Generating projects might be helpful for POM projects, but even then the placement looks broken.
   
   I found an option to change the source base, but I'm missing an option to surpress the wrongly created pom.xml. I did not look into the code, but I assume, that NetBeans detects the pom.xml and assumes a new projects starts at that point. Again IMHO a valid assumption.


-- 
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