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 26: Line 26:
<source lang="bash">
<source lang="bash">
$ ant -Djavadoc.fail.on.error=true build-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
# the file checklinks-errors.xml should contain no broken links
$ cat nbbuild/build/javadoc/checklinks-errors.xml
$ cat nbbuild/build/javadoc/checklinks-errors.xml

Revision as of 15:17, 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
# 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