|
From: <jue...@we...> - 2003-05-06 16:30:04
|
In the course of reintroducing com.interface21.web.BindUtils and = extracting a invokeValidator method to = com.interface21.validation.ValidationUtils, I've removed the = validateEmailAddress implementation. The latter was just a showcase = anyway, thus we can defer the JavaMail discussion for now. For anyone wanting to validate an email address: Grab JavaMail 1.3, = instantiate an InternetAddress with your email string, and call = validate... :-) Juergen -----Original Message----- From: j=FCrgen h=F6ller [werk3AT]=20 Sent: Tuesday, May 06, 2003 3:17 PM To: spring-dev-list Subject: RE: [Springframework-developer] Compilation errors Hi Dmitriy, Can you please elaborate on the compilation errors in the test tree? I'm = currently in the process of checking in some stuff, so you might have = got an inconsistent state. Hmmm, the validateEmail implementation. You're right, = InternetAddress.validate is a JavaMail 1.3 method, I didn't consider = that this isn't part of J2EE 1.3. I've checked in the correct libraries = in our lib/j2ee directory, though: JAF 1.0.2 and JavaMail 1.3 were = released quite some time ago, they are far from dependent on the = "official" J2EE 1.4. I guess this a general question: Does sticking to J2EE 1.3 include the = respective JavaMail version, or just Servler 2.3/JSP 1.2/EJB 2.0/JMS = 1.0? Personally, I consider JavaMail part of J2SE anyway, and you can = always include a new JavaMail jar yourself - it won't clash with = anything else. In any case, the definitive libraries should be the ones in our j2ee/lib = - we should all use them and only them for compilation (not the previous = manual linking of an RI jar). If we decide to go back to JavaMail 1.2, = we should simply check in the respective jar there. Regards, Juergen -----Original Message----- From: Kopylenko, Dmitry [mailto:dko...@ac...] Sent: Tuesday, May 06, 2003 2:52 PM To: 'spring-dev-list' Subject: [Springframework-developer] Compilation errors Juergen, I got the latest version of src from CVS and there are number of = compilation errors in test src tree mainly because of the package names do not match package structures. Also, the ValidationUtils.validateEmail() does not compile, because it calls javax.mail.internet.InternetAddress.validate() = but there is no such method defined in J2EE sdk 1.3, only in 1.4 Regards, Dmitriy. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer |