Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 47315 invoked from network); 7 Feb 2008 20:56:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Feb 2008 20:56:17 -0000 Received: (qmail 59343 invoked by uid 500); 7 Feb 2008 20:56:09 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 59321 invoked by uid 500); 7 Feb 2008 20:56:09 -0000 Mailing-List: contact dev-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openjpa.apache.org Delivered-To: mailing list dev@openjpa.apache.org Received: (qmail 59312 invoked by uid 99); 7 Feb 2008 20:56:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Feb 2008 12:56:09 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of rahul.thakur.xdev3@gmail.com designates 64.233.182.184 as permitted sender) Received: from [64.233.182.184] (HELO nf-out-0910.google.com) (64.233.182.184) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Feb 2008 20:55:39 +0000 Received: by nf-out-0910.google.com with SMTP id b2so1112866nfb.33 for ; Thu, 07 Feb 2008 12:55:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:reply-to:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding:from; bh=lrWEx8hp91mAWl2nMdTn4WdaipK3dOqXf7fJmXf62Ok=; b=XtJ2ZbLOBjB4YnWoUdxf2PM/IG3ZF3gW6SBt3LxqJHwJf+6MbKBcB6jiEsNl+cssh8G5c6x/yK4TG0l0CKpK3VQ1fqySXMBCnVDGAtjLZvJJEjp4nErgCC+8Go/36RGcNsMJxpyU8geno9twklJgrX263zga2fV1BsJieN5whjk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:reply-to:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding:from; b=MGGujeOOvxEhHMr5TMu4Su/gdNaCK04Vg3vzXOTEiIDFaiMt+ppr9Ts4jwA9Tvb3O+wZZdU2TZHpJHsV5p0Bbu2QM5UyFaNNNzfM2YOWEToGB7Qh6XcHHCJdL2w1DhT72ORK/1mzcuwnwvEtN9jKEiecSLRxB2DMPRZIIazhTEw= Received: by 10.78.170.17 with SMTP id s17mr21159658hue.35.1202417735898; Thu, 07 Feb 2008 12:55:35 -0800 (PST) Received: from ?192.168.103.153? ( [203.193.119.196]) by mx.google.com with ESMTPS id 37sm264231hub.4.2008.02.07.12.55.32 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 07 Feb 2008 12:55:34 -0800 (PST) Message-ID: <47AB703F.6040204@gmail.com> Date: Fri, 08 Feb 2008 09:55:27 +1300 Reply-To: rahul.thakur.xdev@gmail.com User-Agent: Thunderbird 3.0a1pre (Windows/2008020403) MIME-Version: 1.0 To: dev@openjpa.apache.org Subject: Re: Compilation errors on trunk References: <47AA4D97.4060902@gmail.com> <3992B07C0590B548BB294D31768A1DA2D88BA0@repbex01.amer.bea.com> <47AA56FD.2010107@gmail.com> <1A5C0AAF-009E-4103-B137-3BACE619F9C7@SUN.com> <47AA5EB6.5050007@gmail.com> <47AA9541.3040107@gmail.com> <7262f25e0802062158q527ba613k2d334b0be61f479b@mail.gmail.com> <47AAA03D.1080602@gmail.com> <47AB058B.4060402@apache.org> In-Reply-To: <47AB058B.4060402@apache.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit From: Rahul Thakur X-Virus-Checked: Checked by ClamAV on apache.org Hi David, Can you please try this command and I would be keen to see what output you get: > mvn clean install -Dmaven.test.skip=true Cheers, Rahul David Ezzio wrote: > 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 >>> 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 >>>>>> >>>>>> >>>>>> 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! >>>>> >>> >>> >>> >>