persistence@glassfish.java.net

Re: entity-persistence functionality update

From: Michael Bouschen <Michael.Bouschen_at_Sun.COM>
Date: Tue, 21 Feb 2006 15:00:33 +0100

Hi Tom,

[...]

> methods, added a new test model in cmp3 > validationfailed which
> contains class with wrong annotations that cause ValidationException,
> modified build script to build a seperate
> validation-failed-testmodel.jar to test this, added a new PU "broken-PU"
> for this specific test so that other tests run fine, added a new
> directory in tltest > resources > validation-failed-testmodel -

Today I updated my entity-persistence and entity-persistence-tests
workspaces. After running the tests I noticed a directory called
"${validation.classes.dir}" in entity-persistence-tests.

I think the build.properties misses to set the property
validation.classes.dir. What is a good value for the property? I tried
using the same directory as component.classes.dir or a subdirectory of
that, both result in a failure during the test run. Everything is ok if
I use a separate directory, e.g.
   component.classes.dir=build
   validation.classes.dir=validation

Any idea?

Regards Michael

[...]