Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 5550 invoked from network); 7 Feb 2008 23:48:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Feb 2008 23:48:45 -0000 Received: (qmail 2216 invoked by uid 500); 7 Feb 2008 23:48:37 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 2194 invoked by uid 500); 7 Feb 2008 23:48:37 -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 2185 invoked by uid 99); 7 Feb 2008 23:48:37 -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 15:48:37 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of michael.d.dick@gmail.com designates 209.85.198.184 as permitted sender) Received: from [209.85.198.184] (HELO rv-out-0910.google.com) (209.85.198.184) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Feb 2008 23:48:08 +0000 Received: by rv-out-0910.google.com with SMTP id k20so2276693rvb.33 for ; Thu, 07 Feb 2008 15:48:15 -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:from:to:subject:in-reply-to:mime-version:content-type:references; bh=A7yLQOQ2ere63k2LDOJ0Y9lwygZ+1+UAy52ufb/E/Ws=; b=XhCXoQ1LkBbGEH6YuD39q+15tVKgk88Qm0Z1i0oY+If7beBIJOHMp7vbduUyb3BrjbTe09ou1NnTVa3vuUY9oyQBTHzG3aoVUSvzBhUfArglhAkp2LL4k59JSzYzVwRXnJY/NQkiIAIGN+0K4EwhQJQUrnX/JGn4XL40YUa5SUk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=sDXcjZxpdOepz1cnY+TnlNq45XVwUw5tkS/n8oHFALLUbi7Sxxf9QgzaG6mAyX7Jc1+uuq0HO8LQCSY8ybVQIliC4TKZ8OPqPdx01Iv6x6YSxuHLkx9Sqm0DuZ3LLM1jxDy8HRu8JMbXpBTjGjnGKhZ+igsW/slTArv9Okbi1JE= Received: by 10.141.113.6 with SMTP id q6mr8031023rvm.249.1202428095647; Thu, 07 Feb 2008 15:48:15 -0800 (PST) Received: by 10.114.195.16 with HTTP; Thu, 7 Feb 2008 15:48:15 -0800 (PST) Message-ID: <72c1350f0802071548j506155b0l17c0022214108cba@mail.gmail.com> Date: Thu, 7 Feb 2008 17:48:15 -0600 From: "Michael Dick" To: dev@openjpa.apache.org, rahul.thakur.xdev@gmail.com Subject: Re: Compilation errors on trunk In-Reply-To: <47AB703F.6040204@gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_27794_21863032.1202428095629" References: <47AA4D97.4060902@gmail.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> <47AB703F.6040204@gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_27794_21863032.1202428095629 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Rahul, Looks like there is a problem if the tests aren't compiled the enhancer will still run. I think most of us have been skipping the tests by doing this : mvn clean install -Dtest=false. Could you give that a try and see if it works for you? On Feb 7, 2008 2:55 PM, Rahul Thakur wrote: > > 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! > >>>>> > >>> > >>> > >>> > >> > > ------=_Part_27794_21863032.1202428095629--