From weld-commits at lists.jboss.org Mon Oct 19 18:44:37 2009 Content-Type: multipart/mixed; boundary="===============5648396247424168749==" MIME-Version: 1.0 From: weld-commits at lists.jboss.org To: weld-commits at lists.jboss.org Subject: [weld-commits] Weld SVN: r4202 - cdi-tck/trunk/doc/reference/en-US. Date: Mon, 19 Oct 2009 18:44:37 -0400 Message-ID: <200910192244.n9JMibR8018968@svn01.web.mwc.hst.phx2.redhat.com> --===============5648396247424168749== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: shane.bryzak(a)jboss.com Date: 2009-10-19 18:44:36 -0400 (Mon, 19 Oct 2009) New Revision: 4202 Modified: cdi-tck/trunk/doc/reference/en-US/sigtest.xml Log: updated sigtest section of docs Modified: cdi-tck/trunk/doc/reference/en-US/sigtest.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- cdi-tck/trunk/doc/reference/en-US/sigtest.xml 2009-10-19 22:09:42 UTC (= rev 4201) +++ cdi-tck/trunk/doc/reference/en-US/sigtest.xml 2009-10-19 22:44:36 UTC (= rev 4202) @@ -10,8 +10,9 @@
Obtaining the sigtest tool - You can obtain the Sigtest tool from the Sigtest home page at . = - The user guide can be found at . + You can obtain the Sigtest tool (at the time of writing the TCK use= s version 2.1) from the Sigtest home = + page at . The user gu= ide can be found at = + .
= @@ -21,28 +22,26 @@ The general command for generating a signature file looks like thi= s: = - + = - Here's a working example with the classpaths filled out: + Usually all the required libraries will be located in a local Mave= n repository, so here's a working example with the = + classpaths filled out: = - + = =
Running the signature test = - To run the signature test simply change the execution class fro= m Setup to SignatureTest: + To run the signature test simply change the execution command f= rom Setup to SignatureTest: = - + = - Here's a working example: + Once again, here's a working example: = - + = When running the signature test, you may get the following mess= age: = @@ -56,36 +55,43 @@ = Just for fun (and to confirm that the signature test is working= correctly), you can try the following: = - 1) Edit weld.sig + 1) Edit cdi-api.sig = - 2) Modify one of the class signatures - in the following exampl= e we change one of the constructors for NullableDependencyExceptio= n - here's the original: + 2) Modify one of the class signatures - in the following exampl= e we change one of the constructors for BusyConversationException<= /literal> - here's the original: = - + = - Let's change the constructor parameter to a java.lang.= Integer instead: + Let's change the default (empty) constructor parameter to one w= ith a java.lang.Integerparameter instead: = - + = - 3) Now we run the signature test using the above command, which= should result in the following errors: + 3) Now when we run the signature test using the above command, = we should get the following errors: = - =
= --===============5648396247424168749==--