DevFaqCheckListBeforePush

(Difference between revisions)
(How to make sure my integration will not cause harm of other developers?)
(How to make sure my integration will not cause harm of other developers?)
Line 43: Line 43:
# all sources can be compile
# all sources can be compile
$ ant -Dcluster.config=experimental clean build-nozip
$ ant -Dcluster.config=experimental clean build-nozip
 +
# expected time: 28 minutes 58 seconds
# basic tests
# basic tests
$ ant -Dcluster.config=experimental commit-validation
$ ant -Dcluster.config=experimental commit-validation

Revision as of 16:30, 3 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
# 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 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
# 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