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

remove ht-clean target from build.xml

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 11.3
    • None
    • None

    Description

      The Netbeans project no longer uses Mercurial as it's primary source code control system. It's not all managed in a Git repo. Therefore, we no longer need to carry around the technical debt in build.xml..

      For example, the clean target has the following

           <try-else first="-hg-clean" second="-real-clean"/>
      

      Yet, "-hg-clean" has the following fail and never will get executed..

          <fail message="Not running in a Mercurial checkout."> 
      

      So it can safely be removed..

      Before

      ....
      [releasejson] Branding computed info: metabuild.logcli=-J-Dnetbeans.logger.console=true -J-ea
      
      clean:
      
      -hg-clean:
       [try-else] /tmp/netbeans/nbbuild/build.xml:1343: Not running in a Mercurial checkout.
       [try-else] Target -hg-clean failed, falling back to -real-clean
      
      -jdk-pre-preinit:
      
      -jdk-preinit:
      ...
      

      After

      [releasejson] Branding computed info: metabuild.logcli=-J-Dnetbeans.logger.console=true -J-ea
      
      clean:
      
      -jdk-pre-preinit:
      
      -jdk-preinit:
      

      Attachments

        Issue Links

          Activity

            People

              brad.walker Brad Walker
              brad.walker Brad Walker
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: