On Nov 13, 2008, at 12:14 PM, Per Bothner wrote: > >> No, my proposal is to add just one more output directory, which all >> non-javac classfile generation tools can target. > > This seems like a really ugly solution. All the classfiles > for package foo.bar should go into a single directory - typically > build/classes/foo/bar. > > Also, consider a hypothetical compiler that can compile multiple > languages, including java, perhaps based on a plug-in architecture. > This would be necessary for allowing mutually dependent classes. > While such a cmpiler is a long way off (though it should be > doable for JavaFX and Java, since both are based on javac), > which shouldn't standardize a broken layout.
I agree it's ugly. I'd much prefer that NetBeans Java editors refer either to a single canonical output directory for all classfiles, or to the jar file produced by the dependency project. However, it seems that the current maintainers have significant reasons for retaining a direct connection between Netbeans Java editors and the original Java source files of project dependencies, and ignoring the jar files generated by those projects' build processes. I didn't bring up the option of monitoring build/classes, but I presume their response would be the same as it was when I proposed monitoring the output jar file. The broader point here is that NetBeans assume that a "Java project" is 100% Java-the-language. That assumption has led to direct reliance upon Java source files to inform upstream editor decorations. That reliance seems to be pretty well set in stone, but I'm hoping to get a backdoor put in place (of any size and shape, really) so that mixed- source projects can be maximally useful to dependent projects without requiring non-Java jvm languages (or any other source of classfiles) to implement IDE support. - Chas --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "JVM Languages" group. To post to this group, send email to jvm-languages@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/jvm-languages?hl=en -~----------~----~----~----~------~----~------~--~---