Brad Walker created NETBEANS-3230:
-------------------------------------

             Summary: remove ht-clean target from  build.xml
                 Key: NETBEANS-3230
                 URL: https://issues.apache.org/jira/browse/NETBEANS-3230
             Project: NetBeans
          Issue Type: Improvement
            Reporter: Brad Walker


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

{code:java}
     <try-else first="-hg-clean" second="-real-clean"/>
{code}

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

{code:java}
    <fail message="Not running in a Mercurial checkout."> 
{code}

So it can safely be removed..

Before

{code:java}
....
[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:
...
{code}

After


{code:java}
[releasejson] Branding computed info: 
metabuild.logcli=-J-Dnetbeans.logger.console=true -J-ea

clean:

-jdk-pre-preinit:

-jdk-preinit:
{code}






--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to