This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 42719 - Run signature tests
Summary: Run signature tests
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Infrastructure (show other bugs)
Version: 4.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: rbalada
URL:
Keywords:
Depends on:
Blocks: 40771
  Show dependency tree
 
Reported: 2004-05-03 13:55 UTC by Jaroslav Tulach
Modified: 2004-11-01 09:44 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Tulach 2004-05-03 13:55:16 UTC
In order to prevent accidental changes in the
j2eeserver API contact RE and make it run sigtests
after every  nighlty build. See 
http://openide.netbeans.org/tutorial/api.html#sigtests
for more info.
Comment 1 Pavel Buzek 2004-10-06 01:29:47 UTC
The API is still evolving at this point (j2ee changes) but this should
be fixed for release.
Comment 2 Jaroslav Tulach 2004-10-26 16:51:20 UTC
Good, let's fix it for the release. Just ask rbalada@netbeans.org to
run the tests on appropriate packages.
Comment 3 rbalada 2004-10-26 22:07:57 UTC
Give me the package names so I can setup the signature testing
infrastructure. It takes about two hours to make the change. Also let
me know if the API change test results have to be sent to
api-changes@netbeans.org mailing list or somewhere else.
Comment 4 Pavel Buzek 2004-10-27 16:19:06 UTC
Rudo, I think we should just test the public packages:

<public-packages>
 <package>org.netbeans.modules.j2ee.deployment.devmodules.api</package>
 <package>org.netbeans.modules.j2ee.deployment.devmodules.spi</package>
 <package>org.netbeans.modules.j2ee.deployment.plugins.api</package>
 <package>org.netbeans.modules.j2ee.deployment.common.api</package>
</public-packages>

As for the mailing list, this is a friend API so
api-changes@netbeans.org is probably not needed. I will get back to
you with the mailing list name shortly.
Thanks!
Comment 5 Pavel Buzek 2004-10-27 18:40:36 UTC
Ok, not much trafic on dev@j2ee so let's just use the standard
api-changes@netbeans.org.
Comment 6 Pavel Buzek 2004-10-29 16:40:25 UTC
Rudo, I am reassigning to you since you offered to help with this. Thanks!
Comment 7 rbalada 2004-11-01 09:44:21 UTC
NetBeans buildtools infrastructure has been updated and change was
promoted into production for *trunk* builds (towards 4.1 release). I
assume you don't need this change for release40 branch (let me know if
I'm wrong).

To verify/test the reporting, please add some static dummy field
somewhere into any of those packages before 2004-11-01 19:00 UTC, so
the Tuesday's build will get new field and remove that field sometime
before 2004-11-02 19:00 UTC, so the next build in row can compare
signatures from two builds and report change in that dummy field. If
you missed the timeframe, production builds run at 19:00 UTC (in
actual winter timezone) Sunday to Thursday. The only condition you
have to accomplish is, that there must be two different builds.
Technically the field must be in the codebase just for a few minutes
before and after 19:00 UTC any day between Sunday to Thursday.


Maintenance information:
- please let me know if you need to change list of packages
  being watched by this infrastructure. The list of packages
  is set manually in NetBeans production buildtools (that means
  no introspection of nbproject/project.xml file).
- note that all four packages are now watched as one batch called
  "J2EE API"
  - additions or removals of packages will introduce reports
    for whole packages. If you would like to change it to watch every
    package separately, it's possible, but requires duplication
    of tools code.
  - let me know if you would like to differantiate API and
    SPI reports

Setting resolution to FIXED, please verify.