JaroslavTulach commented on a change in pull request #3262:
URL: https://github.com/apache/netbeans/pull/3262#discussion_r741050076



##########
File path: java/maven/src/org/netbeans/modules/maven/layer.xml
##########
@@ -33,6 +33,22 @@
             <folder name="Maven2">
                 <attr name="displayName" 
bundlevalue="org.netbeans.modules.maven.newproject.Bundle#Templates/Project/Maven2"/>
                 <attr name="position" intvalue="100"/>
+
+                <!-- Simple Java project structure -->
+                <folder name="JavaApplication2">
+                    <folder name="src">
+                        <folder name="main">
+                            <folder name="java">
+                                <folder name="${packagePath}">
+                                    <file name="${mainClassName}.java" 
url="nbresloc:/org/netbeans/modules/maven/resources/App.java.template">

Review comment:
       Yes, it is an overkill.
   
   On the other hand, the templating engine must be around and it provides 
familiar syntax. E.g. one would be using the same syntax for the file name as 
well as for the file content.




-- 
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: [email protected]

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