DevFaqCheckListBeforePush

(Difference between revisions)
Jrechtacek (Talk | contribs)
(Created page with '= How to make sure my integration will not cause harm of other developers? = * All sources can be '''compile''' <source lang="bash"> $ cd <root-of-nb-sources-repository> # make …')
Newer edit →

Revision as of 13:58, 2 May 2013

How to make sure my integration will not cause harm of other developers?

  • All sources can be compile
$ cd <root-of-nb-sources-repository>
# make your sources up-to-date
$ hg pull -u
$ ant clean build-nozip
  • all essential tests are passing
$ ant commit-validation
$ ant check-sigtests-version -Dsigtest.fail.on.error=true
  • avoid broken links in Javadoc
$ ant -Djavadoc.fail.on.error=true build-javadoc
# the file checklinks-errors.xml should contain no broken links
$ cat nbbuild/build/javadoc/checklinks-errors.xml
  • a checklist if you are changing plugins in contrib repository use -Dcluster.config=experimental
$ cd <root-of-nb-sources-repository>
# make your sources up-to-date
$ hg pull -u
# the contrib repository has to in contrib directory in the top of nb-sources-repository
$ cd <root-of-nb-sources-repository>/contrib
# make your sources up-to-date
$ hg pull -u
$ cd ..
# all sources can be compile
$ ant -Dcluster.config=experimental clean build-nozip
# basic tests
$ ant -Dcluster.config=experimental commit-validation
# signature constistency
$ ant -Dcluster.config=experimental check-sigtests-version -Dsigtest.fail.on.error=true
# check broken links
$ ant -Dcluster.config=experimental -Djavadoc.fail.on.error=true build-javadoc
Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo