users@codemodel.java.net

Issues 2 & 3 fixed

From: Aleksei Valikov <valikov_at_gmx.net>
Date: Sun, 19 Nov 2006 16:49:21 +0100

Hi.

I've committed my fixes to the lexi-19102996 branch (yes, I know, I'
mistaken with month :).

My branch also contains an AbstractCodeModelTest class which I used for
testing as I described in the previous mail. This class generates code
in target/generated-test-sources, for instance in

target/generated-test-sources/com.sun.codemodel.tests.JAnnotationArrayMemberTest/src

and

target/generated-test-sources/com.sun.codemodel.tests.JAnnotationArrayMemberTest/resources

and compares generated code with files in

src/test/test-sources, for instance in

src/test/test-sources/com.sun.codemodel.tests.JAnnotationArrayMemberTest/src

and

src/test/test-sources/com.sun.codemodel.tests.JAnnotationArrayMemberTest/resources.

In case differences found, test fails.


I've also added Eclipse project files (.project and .classpath) to the root.

Kohsuke, could you please review my changes and merge? If you wish, I
can merge on my own. I am pretty sure the code is allright.

Bye.
/lexi