Hi James,
I would very much like to use the this library in a project I am
working on, initially for the reflection functions. However, the
classes I wish to annotate are shared between my server and client
sides. On the server side we are using Hibernate with the Hibernate
Validation framework. The validation classes in gwtent.jar conflict
and cause exceptions on the server side.
I downloaded the latest source from the server and tried to build it,
but I get an error trying to run the test cases (I don't use or
understand maven, so can't really dig to find out what has gone
wrong).
When is RC2 likely to be released?
Thanks,
Dave
PS For reference on the build problem, here is the output of "mvn -
version"
Maven version: 2.0.10
Java version: 1.6.0_13
OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
And the output of "mvn package" is:
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] A Reflection, AOP, HTML template, UI Binding,
Validate(JSR303) framewo
k and JPA annotation Emulation for GWT. Parent Project
[INFO] A Reflection, AOP, HTML template, UI Binding,
Validate(JSR303) framewo
k and JPA annotation Emulation for GWT. Main Module
[INFO] A Reflection, AOP, HTML template, UI Binding,
Validate(JSR303) framewo
k and JPA annotation Emulation for GWT. ORM module
[INFO] A Reflection, AOP, HTML template, UI Binding,
Validate(JSR303) framewo
k and JPA annotation Emulation for GWT. Ext module
[INFO] A Reflection, AOP, HTML template, UI Binding,
Validate(JSR303) framewo
k and JPA annotation Emulation for GWT. GXT module
[INFO] A Reflection, AOP, HTML template, UI Binding,
Validate(JSR303) framewo
k and JPA annotation Emulation for GWT. Showcase Module
[INFO]
------------------------------------------------------------------------
[INFO] Building A Reflection, AOP, HTML template, UI Binding,
Validate(JSR303)
ramework and JPA annotation Emulation for GWT. Parent Project
[INFO] task-segment: [package]
[INFO]
------------------------------------------------------------------------
[INFO] [site:attach-descriptor]
[INFO]
------------------------------------------------------------------------
[INFO] Building A Reflection, AOP, HTML template, UI Binding,
Validate(JSR303)
ramework and JPA annotation Emulation for GWT. Main Module
[INFO] task-segment: [package]
[INFO]
------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using 'utf-8' encoding to copy filtered resources.
[INFO] Copying 553 resources
[INFO] [compiler:compile]
[INFO] Compiling 449 source files to C:\Data\src\gwtent\gwt-ent-read-
only\gwten
\target\classes
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure
C:\Data\src\gwtent\gwt-ent-read-only\gwtent\src\main\java\com\gwtent
\gen\reflec
ion\GeneratorHelper.java:[35,61] package
com.gwtent.client.test.reflection.Clas
TypeGenTestCase does not exist
C:\Data\src\gwtent\gwt-ent-read-only\gwtent\src\main\java\com\gwtent
\validate\c
ient\impl\ConfigurationImpl.java:[17,34] package
org.hibernate.validator.xml do
s not exist
C:\Data\src\gwtent\gwt-ent-read-only\gwtent\src\main\java\com\gwtent
\validate\c
ient\impl\ConfigurationImpl.java:[29,7]
com.gwtent.validate.client.impl.Configu
ationImpl is not abstract and does not override abstract method
addMapping(java
io.InputStream) in javax.validation.Configuration
C:\Data\src\gwtent\gwt-ent-read-only\gwtent\src\main\java\com\gwtent
\validate\c
ient\impl\MessageInterpolatorGWTImpl.java:[15,7]
com.gwtent.validate.client.imp
.MessageInterpolatorGWTImpl is not abstract and does not override
abstract meth
d
interpolate(java.lang.String,javax.validation.MessageInterpolator.Context,jav
.util.Locale) in javax.validation.MessageInterpolator
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 7 seconds
[INFO] Finished at: Fri Aug 27 11:29:08 EST 2010
[INFO] Final Memory: 22M/55M
[INFO]
------------------------------------------------------------------------
On Aug 12, 9:43 am, James Luo <
jamesluo...@gmail.com> wrote:
> Hi, David
>
> Thanks for your kindness remind, from version RC2, we will support JSR303
> 1.0 fully.
>
> James
>
>
>
>
>
> On Wed, Aug 11, 2010 at 10:31 PM, David R. <
david.ren...@gmail.com> wrote:
> > Hi,
>
> > The JSR 303 specifications are now completed and you should use a
> > reference to the main API instead of rewriting the spec by hand.
>
> > Here is the dependency you could add to your project:
>
> > <dependency>
> > <groupId>javax.validation</groupId>
> > <artifactId>validation-api</artifactId>
> > <version>
1.0.0.GA</version>
> > </dependency>
>
> > Hope it helps.
>
> > David
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "GWT-Ent Developer Forum" group.
> > To post to this group, send email to
gwt...@googlegroups.com.
> > To unsubscribe from this group, send email to
> >
gwt-ent+u...@googlegroups.com<
gwt-ent%2Bunsu...@googlegroups.com >
> > .