Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 49986 invoked from network); 8 Feb 2008 01:17:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Feb 2008 01:17:30 -0000 Received: (qmail 85255 invoked by uid 500); 8 Feb 2008 01:17:22 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 85235 invoked by uid 500); 8 Feb 2008 01:17:22 -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 85226 invoked by uid 99); 8 Feb 2008 01:17:22 -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 17:17:22 -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.146.178 as permitted sender) Received: from [209.85.146.178] (HELO wa-out-1112.google.com) (209.85.146.178) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Feb 2008 01:16:53 +0000 Received: by wa-out-1112.google.com with SMTP id m28so98490wag.13 for ; Thu, 07 Feb 2008 17:17:00 -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=gJiu0Eok4/BGrgSv5nh6Sm/9szgcjUpl+Th5XtQ/hNk=; b=QrpN4QGqWiwG0c+iAbSaTHwdvTIaN5/T4ufid33XQmW1KC8XFzqLcAXuZS3a0cBFS1KfmIeeecDE2ejD5KdVJkANvRIFX4eg3QiKH/HrLPw7dDfuaPprVKkFfYIUmuVuyRGEMRVHJxhZbTTIpb089BAAqq9EXaHcTnMZcQixJFg= 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=Z5MNii9Y0ADIjZJ9ddgkHvxTPR401zR4jZ4zBVCs9kdtYaO5z5Picjy9Q3qhqhyRdF1bSg7hfIa2VUBU66rd/41T2WKwyCDrsWhLyM3DMaTEVrc8JvP9cQ1Bujlr6OUkRXvwYzBFtpkmQRbzMCxE59WZ2F+NfVNokQTKMFfuX+o= Received: by 10.115.54.1 with SMTP id g1mr6761047wak.133.1202433420220; Thu, 07 Feb 2008 17:17:00 -0800 (PST) Received: by 10.114.195.16 with HTTP; Thu, 7 Feb 2008 17:17:00 -0800 (PST) Message-ID: <72c1350f0802071717n12623688rd1060d9182f9294c@mail.gmail.com> Date: Thu, 7 Feb 2008 19:17:00 -0600 From: "Michael Dick" To: dev@openjpa.apache.org, rahul.thakur.xdev@gmail.com Subject: Re: Compilation errors on trunk In-Reply-To: <72c1350f0802071548j506155b0l17c0022214108cba@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_28011_31296215.1202433420218" References: <47AA4D97.4060902@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> <72c1350f0802071548j506155b0l17c0022214108cba@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_28011_31296215.1202433420218 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Should be fixed by OPENJPA-512 which is in trunk -mike On Feb 7, 2008 5:48 PM, Michael Dick wrote: > 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_28011_31296215.1202433420218--