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, [email protected] 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
> 
> 

Reply via email to