You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bval.apache.org by st...@apache.org on 2010/05/26 08:23:55 UTC

svn commit: r948336 - /incubator/bval/trunk/bval-jsr303/src/main/resources/META-INF/services/javax.validation.spi.ValidationProvider

Author: struberg
Date: Wed May 26 06:23:55 2010
New Revision: 948336

URL: http://svn.apache.org/viewvc?rev=948336&view=rev
Log:
BVAL-62 fix missing ASL headers

Modified:
    incubator/bval/trunk/bval-jsr303/src/main/resources/META-INF/services/javax.validation.spi.ValidationProvider

Modified: incubator/bval/trunk/bval-jsr303/src/main/resources/META-INF/services/javax.validation.spi.ValidationProvider
URL: http://svn.apache.org/viewvc/incubator/bval/trunk/bval-jsr303/src/main/resources/META-INF/services/javax.validation.spi.ValidationProvider?rev=948336&r1=948335&r2=948336&view=diff
==============================================================================
--- incubator/bval/trunk/bval-jsr303/src/main/resources/META-INF/services/javax.validation.spi.ValidationProvider (original)
+++ incubator/bval/trunk/bval-jsr303/src/main/resources/META-INF/services/javax.validation.spi.ValidationProvider Wed May 26 06:23:55 2010
@@ -1 +1,18 @@
-org.apache.bval.jsr303.ApacheValidationProvider
\ No newline at end of file
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+org.apache.bval.jsr303.ApacheValidationProvider



Re: svn commit: r948336 - /incubator/bval/trunk/bval-jsr303/src/main/resources/META-INF/services/javax.validation.spi.ValidationProvider

Posted by Mark Struberg <st...@yahoo.de>.
Maybe this depends on the JDK. 
The ServiceLoader was already part of the JDK-1.3.8 (internally) so this needs some testing.
I actually do it this way since JDK-1.4.2 and had no problems so far.

It should definitely run with JDK-1.6 - otherwise OWB would not work ;)

LieGrue,
strub

--- On Wed, 5/26/10, David Jencks <da...@yahoo.com> wrote:

> From: David Jencks <da...@yahoo.com>
> Subject: Re: svn commit: r948336 - /incubator/bval/trunk/bval-jsr303/src/main/resources/META-INF/services/javax.validation.spi.ValidationProvider
> To: bval-dev@incubator.apache.org
> Date: Wednesday, May 26, 2010, 6:54 AM
> I haven't tried it, but I've seen
> reports that, despite the documentation that claims comments
> are OK in these service files, they actually aren't and that
> the first line has to be the class name.
> 
> david jencks
> 
> On May 25, 2010, at 11:23 PM, struberg@apache.org
> wrote:
> 
> > Author: struberg
> > Date: Wed May 26 06:23:55 2010
> > New Revision: 948336
> > 
> > URL: http://svn.apache.org/viewvc?rev=948336&view=rev
> > Log:
> > BVAL-62 fix missing ASL headers
> > 
> > Modified:
> >   
> incubator/bval/trunk/bval-jsr303/src/main/resources/META-INF/services/javax.validation.spi.ValidationProvider
> > 
> > Modified:
> incubator/bval/trunk/bval-jsr303/src/main/resources/META-INF/services/javax.validation.spi.ValidationProvider
> > URL: http://svn.apache.org/viewvc/incubator/bval/trunk/bval-jsr303/src/main/resources/META-INF/services/javax.validation.spi.ValidationProvider?rev=948336&r1=948335&r2=948336&view=diff
> >
> ==============================================================================
> > ---
> incubator/bval/trunk/bval-jsr303/src/main/resources/META-INF/services/javax.validation.spi.ValidationProvider
> (original)
> > +++
> incubator/bval/trunk/bval-jsr303/src/main/resources/META-INF/services/javax.validation.spi.ValidationProvider
> Wed May 26 06:23:55 2010
> > @@ -1 +1,18 @@
> > -org.apache.bval.jsr303.ApacheValidationProvider
> > \ No newline at end of file
> > +# Licensed to the Apache Software Foundation (ASF)
> under one
> > +# or more contributor license agreements.  See
> the NOTICE file
> > +# distributed with this work for additional
> information
> > +# regarding copyright ownership.  The ASF
> licenses this file
> > +# to you under the Apache License, Version 2.0 (the
> > +# "License"); you may not use this file except in
> compliance
> > +# with the License.  You may obtain a copy of
> the License at
> > +#
> > +#   http://www.apache.org/licenses/LICENSE-2.0
> > +#
> > +# Unless required by applicable law or agreed to in
> writing,
> > +# software distributed under the License is
> distributed on an
> > +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
> ANY
> > +# KIND, either express or implied.  See the
> License for the
> > +# specific language governing permissions and
> limitations
> > +# under the License.
> > +
> > +org.apache.bval.jsr303.ApacheValidationProvider
> > 
> > 
> 
> 


      

Re: svn commit: r948336 - /incubator/bval/trunk/bval-jsr303/src/main/resources/META-INF/services/javax.validation.spi.ValidationProvider

Posted by David Jencks <da...@yahoo.com>.
I haven't tried it, but I've seen reports that, despite the documentation that claims comments are OK in these service files, they actually aren't and that the first line has to be the class name.

david jencks

On May 25, 2010, at 11:23 PM, struberg@apache.org wrote:

> Author: struberg
> Date: Wed May 26 06:23:55 2010
> New Revision: 948336
> 
> URL: http://svn.apache.org/viewvc?rev=948336&view=rev
> Log:
> BVAL-62 fix missing ASL headers
> 
> Modified:
>    incubator/bval/trunk/bval-jsr303/src/main/resources/META-INF/services/javax.validation.spi.ValidationProvider
> 
> Modified: incubator/bval/trunk/bval-jsr303/src/main/resources/META-INF/services/javax.validation.spi.ValidationProvider
> URL: http://svn.apache.org/viewvc/incubator/bval/trunk/bval-jsr303/src/main/resources/META-INF/services/javax.validation.spi.ValidationProvider?rev=948336&r1=948335&r2=948336&view=diff
> ==============================================================================
> --- incubator/bval/trunk/bval-jsr303/src/main/resources/META-INF/services/javax.validation.spi.ValidationProvider (original)
> +++ incubator/bval/trunk/bval-jsr303/src/main/resources/META-INF/services/javax.validation.spi.ValidationProvider Wed May 26 06:23:55 2010
> @@ -1 +1,18 @@
> -org.apache.bval.jsr303.ApacheValidationProvider
> \ No newline at end of file
> +# Licensed to the Apache Software Foundation (ASF) under one
> +# or more contributor license agreements.  See the NOTICE file
> +# distributed with this work for additional information
> +# regarding copyright ownership.  The ASF licenses this file
> +# to you under the Apache License, Version 2.0 (the
> +# "License"); you may not use this file except in compliance
> +# with the License.  You may obtain a copy of the License at
> +#
> +#   http://www.apache.org/licenses/LICENSE-2.0
> +#
> +# Unless required by applicable law or agreed to in writing,
> +# software distributed under the License is distributed on an
> +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
> +# KIND, either express or implied.  See the License for the
> +# specific language governing permissions and limitations
> +# under the License.
> +
> +org.apache.bval.jsr303.ApacheValidationProvider
> 
>