openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Ezzio <dez...@apache.org>
Subject Re: Compilation errors on trunk
Date Thu, 07 Feb 2008 13:20:11 GMT
Hi Rahul,

On the theory that it's nice to see something working as well as 
something broken when trying to debug, I've attached the output from a 
"mvn clean compile" run here, on Windows XP, with additional information 
on my environment setup.  Hope this helps.

David


Rahul Thakur wrote:
> 
> I was compiling with JDK 1.6 but I ensured that JAVA_HOME was set to JDK 
> 1.5 after Pinaki mentioned it earlier on this thread.
> 
> Rahul
> 
> Patrick Linskey wrote:
>> Are you compiling with Java 1.6? OpenJPA does not compile with Java 6
>> currently; this is due to JDBC incompatibilities.
>>
>> Note that OpenJPA does work with Java 1.6, of course.
>>
>> -Patrick
>>
>> On Feb 6, 2008 9:21 PM, Rahul Thakur <rahul.thakur.xdev@gmail.com> wrote:
>>  
>>> Those errors show up when you run the maven build
>>> 'mvn clean install -Dmaven.test.skip=true'
>>>
>>> Even otherwise, there are tests that are failing for
>>> 'openjpa-persistence-jdbc' module here at my end.
>>>
>>> I am not sure why no one else seeing them (I am on a different PC now
>>> but same errors)
>>>
>>> Rahul
>>>
>>>
>>> Craig L Russell wrote:
>>>
>>>    
>>>> Hi Rahul,
>>>>
>>>> On Feb 6, 2008, at 5:28 PM, Rahul Thakur wrote:
>>>>
>>>>      
>>>>> output with Maven 2.0.7
>>>>>
>>>>> <snip>
>>>>> apache\openjpa\openjpa-persistence\1.1.0-SNAPSHOT\openjpa-persistence-1.1.0-SNAPSHOT.jar

>>>>>
>>>>>
>>>>> [INFO]
>>>>> ----------------------------------------------------------------------------

>>>>>
>>>>>
>>>>> [INFO] Building OpenJPA JPA JDBC
>>>>> [INFO]    task-segment: [clean, install]
>>>>> [INFO]
>>>>> ----------------------------------------------------------------------------

>>>>>
>>>>>
>>>>> [INFO] [clean:clean]
>>>>> [INFO] Deleting directory 
>>>>> C:\oss\openjpa\openjpa-persistence-jdbc\target
>>>>> [INFO] [resources:resources]
>>>>> [INFO] Using default encoding to copy filtered resources.
>>>>> [INFO] [compiler:compile]
>>>>> [INFO] Compiling 65 source files to
>>>>> C:\oss\openjpa\openjpa-persistence-jdbc\target\classes
>>>>> [INFO] [resources:testResources]
>>>>> [INFO] Using default encoding to copy filtered resources.
>>>>> [INFO] [compiler:testCompile]
>>>>> [INFO] Not compiling test sources
>>>>>         
>>>> I'm running mvn --version Maven version: 2.0.6
>>>>
>>>> My mvn install run compiles test sources:
>>>>
>>>> [INFO] [compiler:testCompile]
>>>> Compiling 372 source files to
>>>> /Users/clr/openjpa/openjpa/trunk/openjpa-persistence-jdbc/target/test-classes

>>>>
>>>>
>>>> [INFO] [antrun:run {execution: default}]
>>>> [INFO] Executing tasks
>>>>
>>>> I'm wondering why doesn't yours?
>>>>
>>>> Craig
>>>>      
>>>>> [INFO] [antrun:run {execution: default}]
>>>>> [INFO] Executing tasks
>>>>> 297  xml-persistence-unit  INFO   [main] openjpa.Tool - No targets
>>>>> were given.  Running on all classes in your persisten
>>>>> t classes list, or all metadata files in classpath directories if you
>>>>> have not listed your persistent classes.  Use -hel
>>>>> p to display tool usage information.
>>>>> java.lang.IllegalArgumentException: java.lang.ClassNotFoundException:
>>>>> org.apache.openjpa.persistence.xml.SimpleXmlEntity
>>>>>         
>>>> Craig Russell
>>>> Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
>>>> 408 276-5638 mailto:Craig.Russell@sun.com
>>>> P.S. A good JDO? O, Gasp!
>>>>
>>>>       
>>
>>
>>
>>   
> 

Mime
View raw message