DevFaqCheckListBeforePush

Revision as of 10:47, 19 December 2013 by Jrechtacek (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)

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
# expected time: 28 minutes 16 seconds
# measured on Intel(R) Core(TM) i5 CPU @ 2.67GHz, -Xmx1024m -XX:MaxPermSize=512m -Xms512m
  • all essential tests are passing
$ ant commit-validation
# expected time: 9 minutes 54 seconds
$ ant check-sigtests-version -Dsigtest.fail.on.error=true
# expected time: 10 minutes 44 seconds
  • avoid broken links in Javadoc
$ ant -Djavadoc.fail.on.error=true build-javadoc
# expected time: 9 minutes 6 seconds
# 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 or otherlicences repositories use -Dcluster.config=experimental
$ cd <root-of-nb-sources-repository>
# make your sources up-to-date
$ hg pull -u
 
# the contrib repository has to placed in contrib directory in the top of nb-sources-repository
$ cd <root-of-nb-sources-repository>/contrib
# make contrib sources up-to-date
$ hg pull -u
$ cd ..
 
# the otherlicences repository has to placed in otherlicences directory in the top of nb-sources-repository
$ cd <root-of-nb-sources-repository>/otherlicences
# make otherlicences sources up-to-date
$ hg pull -u
$ cd ..
 
# all sources can be compile
$ ant -Dcluster.config=experimental clean build-nozip
# expected time: 28 minutes 58 seconds
# 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