matthiasblaesing commented on pull request #2467:
URL: https://github.com/apache/netbeans/pull/2467#issuecomment-711327284


   The idea sound sane, however it is only one way to declare the main class. 
Another variant can be found in dropwizard projects:
   
   
https://github.com/dropwizard/dropwizard/blob/master/dropwizard-archetypes/java-simple/src/main/resources/archetype-resources/pom.xml#L23
   
   The property there is "mainClass". We could define a list of properties as 
candidates for the "main class", which could be ["exec.mainClass", 
"project.mainclass", "mainClass"] and scan them sequentially and use the first 
non empty value.
   
   The thing I'd like to know: Can I override the value with the project 
properties dialog? There is a mainclass setting available, which should be the 
ultimate value.


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

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

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

Reply via email to