Your mileage will vary....

I'd suggest using trunk (0.2-incubating-SNAPSHOT), which has been fixed
to compile and run on 1.5.


-Donald


On 7/16/10 11:03 AM, Vamsavardhana Reddy wrote:
> Hi Mark,
> 
> Thanks. The build runs fine with JDK 1.6.  I expected it to compile with JDK
> 1.5 as well since in the home page it reads, "The goal of the Bean
> Validation project is to deliver an implementation of the Bean Validation
> Specfication (JSR303) <http://jcp.org/en/jsr/detail?id=303>, which is TCK
> compliant and works on Java SE 5 or later.... ".
> 
> If we build the binaries with JDK 1.6, will they be 100% usable under JDK
> 1.5??
> 
> On Fri, Jul 16, 2010 at 7:14 PM, Mark Struberg <[email protected]> wrote:
> 
>> hi!
>>
>> Please try to run with jdk1.6 :)
>>
>> LieGrue,
>> strub
>>
>> --- On Fri, 7/16/10, Vamsavardhana Reddy <[email protected]> wrote:
>>
>>> From: Vamsavardhana Reddy <[email protected]>
>>> Subject: Compilation error while building tags\0.1-incubating
>>> To: [email protected]
>>> Date: Friday, July 16, 2010, 9:38 AM
>>> Hi,
>>>
>>> I am hitting a compilation error in bval-jsr303 module
>>> while building
>>> tags\0.1-incubating.  The output in command window is
>>> given below:
>>> ==============================
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Building Apache Bean Validation :: bval-jsr303
>>> [INFO]    task-segment: [install]
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] [enforcer:enforce {execution: default}]
>>> [INFO] [jaxb2:xjc {execution: default}]
>>> [INFO] Generating source...
>>> [INFO] parsing a schema...
>>> [INFO] compiling a schema...
>>> [INFO] org\apache\bval\jsr303\xml\AnnotationType.java
>>> [INFO] org\apache\bval\jsr303\xml\BeanType.java
>>> [INFO] org\apache\bval\jsr303\xml\ClassType.java
>>> [INFO]
>>> org\apache\bval\jsr303\xml\ConstraintDefinitionType.java
>>> [INFO]
>>> org\apache\bval\jsr303\xml\ConstraintMappingsType.java
>>> [INFO] org\apache\bval\jsr303\xml\ConstraintType.java
>>> [INFO] org\apache\bval\jsr303\xml\ElementType.java
>>> [INFO] org\apache\bval\jsr303\xml\FieldType.java
>>> [INFO] org\apache\bval\jsr303\xml\GetterType.java
>>> [INFO] org\apache\bval\jsr303\xml\GroupSequenceType.java
>>> [INFO] org\apache\bval\jsr303\xml\GroupsType.java
>>> [INFO] org\apache\bval\jsr303\xml\ObjectFactory.java
>>> [INFO] org\apache\bval\jsr303\xml\PayloadType.java
>>> [INFO] org\apache\bval\jsr303\xml\PropertyType.java
>>> [INFO] org\apache\bval\jsr303\xml\ValidatedByType.java
>>> [INFO]
>>> org\apache\bval\jsr303\xml\ValidationConfigType.java
>>> [INFO] org\apache\bval\jsr303\xml\package-info.java
>>> [INFO] [remote-resources:process {execution:
>>> process-remote-resources}]
>>> [INFO] [remote-resources:process {execution: default}]
>>> [INFO] [resources:resources {execution:
>>> default-resources}]
>>> [INFO] Using 'UTF-8' encoding to copy filtered resources.
>>> [INFO] Copying 7 resources
>>> [INFO] Copying 2 resources to META-INF
>>> [INFO] Copying 4 resources
>>> [INFO] Copying 4 resources
>>> [INFO] [compiler:compile {execution: default-compile}]
>>> [INFO] Compiling 129 source files to
>>> C:\G\BVAL\tags\0.1-incubating\bval-jsr303\target\classes
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [ERROR] BUILD FAILURE
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Compilation failure
>>>
>>>
>> C:\G\BVAL\tags\0.1-incubating\bval-jsr303\src\main\java\org\apache\bval\jsr303\util\ClassHelper.java:[54,36]
>>> cannot find symbol
>>> symbol  : constructor
>>> ArrayList(java.util.List<java.lang.Class>)
>>> location: class
>>> java.util.ArrayList<java.lang.Class<?>>
>>>
>>>
>> C:\G\BVAL\tags\0.1-incubating\bval-jsr303\src\main\java\org\apache\bval\jsr303\ClassValidator.java:[579,48]
>>> cannot find symbol
>>> symbol  : method isEmpty()
>>> location: class java.lang.String
>>>
>>>
>> C:\G\BVAL\tags\0.1-incubating\bval-jsr303\src\main\java\org\apache\bval\jsr303\BeanDescriptorImpl.java:[79,48]
>>> cannot find symbol
>>> symbol  : method isEmpty()
>>> location: class java.lang.String
>>>
>>>
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] For more information, run Maven with the -e switch
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Total time: 3 minutes 48 seconds
>>> [INFO] Finished at: Fri Jul 16 12:18:37 IST 2010
>>> [INFO] Final Memory: 33M/65M
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> C:\G\BVAL\tags\0.1-incubating>java -version
>>> java version "1.5.0_17"
>>> Java(TM) 2 Runtime Environment, Standard Edition (build
>>> 1.5.0_17-b04)
>>> Java HotSpot(TM) Client VM (build 1.5.0_17-b04, mixed
>>> mode)
>>> =================================================
>>>
>>> I am using Sun Java 1.5.0, Maven 2.2.1 on Windows XP SP3.
>>>
>>> Can someone point out what am I doing wrong?
>>>
>>> Thanks,
>>> --
>>> Vamsi
>>>
>>
>>
>>
>>
> 
> 

Reply via email to