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 2019/02/07 04:01:24 UTC
[GitHub] JaroslavTulach opened a new pull request #1123: WIP: Use .class
files instead of compiling the sources
JaroslavTulach opened a new pull request #1123: WIP: Use .class files instead of compiling the sources
URL: https://github.com/apache/incubator-netbeans/pull/1123
The goal is to give certain project types, or their configurations, a chance to use existing `.class` files rather than compiling from `.java`. The primary motivation for this API is to support following usecase with [mx](http://github.com/graalvm/mx) based [graal](http://github.com/oracle/graal) sources:
```bash
$ cd graal/truffle
$ mx build
$ netbeans --open .
```
The build command compiles everything and places the classes into `bin` directories. By using the API introduced in this pull request, the project can instruct the NetBeans Java support to copy those `.class` files and thus speed the initialization up.
The support shall be generally useful in all project types. Yet, it is up to individual projects to turn it on. There has been pushback against this copying approach in the past, so we definitely want opt-in behavior, the default should remain as it is.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
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