jtulach commented on code in PR #9624: URL: https://github.com/apache/netbeans/pull/9624#discussion_r4034215094
########## ide/nbproject/project.xml: ########## @@ -0,0 +1,272 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xmlns="http://www.netbeans.org/ns/project/1"> + <type>org.netbeans.modules.ant.freeform</type> + <configuration> + <general-data xmlns="http://www.netbeans.org/ns/freeform-project/1"> + <name>IDE Cluster</name> + <properties/> + <ide-actions/> + <subprojects> + <project>api.debugger</project> Review Comment: This list of subprojects has been generated by following shell command: ```bash for i in *; do ls $i/nbproject/project.xml >/dev/null 2>/dev/null && echo "<project>$i</project>"; done | sort ``` Using such a script requires manual and tedious work. Ideally the final solution would not rely on shell script at all. ### Alternative A: Ant Task - Have an Ant task in `nbbuild/antsrc` sources to generate all the _"cluster project"_ - run it as part of CI to verify the structure is up to date - Pros: reusing existing (althrough outdated) freeform project - Pros: easier manual customization with existing UI ### Alternative B: New project type in `apisupport` - We could also recognize the _"cluster directories"_ as projects without generating anything on disk - To do that the `apisupport` project would provide new project type - Pros: no freeform project files on disk - Pros: always up to date with list of clusters and modules ### Alternative C: Use Maven - **Updated** on Sep 29: [described in this comment thread](https://github.com/apache/netbeans/pull/9624/changes#r4136023201) Opinions? -- 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
