Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-2181

Use .class files instead of compiling the sources

VotersWatch issueWatchersLinkUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      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 based graal sources:
       
      $ 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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jtulach Jaroslav Tulach
            lkishalmi Laszlo Kishalmi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment