Return-Path: Delivered-To: apmail-db-jdo-dev-archive@www.apache.org Received: (qmail 55526 invoked from network); 5 Aug 2005 15:30:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 Aug 2005 15:30:14 -0000 Received: (qmail 58418 invoked by uid 500); 5 Aug 2005 15:30:13 -0000 Mailing-List: contact jdo-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jdo-dev@db.apache.org Delivered-To: mailing list jdo-dev@db.apache.org Received: (qmail 58399 invoked by uid 99); 5 Aug 2005 15:30:13 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Aug 2005 08:30:13 -0700 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=HTML_60_70,HTML_MESSAGE,NORMAL_HTTP_TO_IP,RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of karan.malhi@gmail.com designates 64.233.184.205 as permitted sender) Received: from [64.233.184.205] (HELO wproxy.gmail.com) (64.233.184.205) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Aug 2005 08:30:03 -0700 Received: by wproxy.gmail.com with SMTP id i2so591108wra for ; Fri, 05 Aug 2005 08:30:10 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:references; b=PEtTZX1MvXleiFsDI2S23zMBJViW4NpdwlnjA2QIYC6mDkfgwDELz1naghIkvrMwhzEMocuoOSeV85xVc9DjvMTS6L4fCzBwZVDPATKr/LvkZ0qJFNu/9HmDnMKHkXz5uNmAZ7In9AhAVg+StdkdIp+6NQ40GnX3kq2oUWb7+OI= Received: by 10.54.11.41 with SMTP id 41mr2653705wrk; Fri, 05 Aug 2005 08:30:10 -0700 (PDT) Received: by 10.54.108.11 with HTTP; Fri, 5 Aug 2005 08:30:10 -0700 (PDT) Message-ID: Date: Fri, 5 Aug 2005 11:30:10 -0400 From: Karan Malhi Reply-To: Karan Malhi To: jdo-dev@db.apache.org Subject: Re: maven build failed In-Reply-To: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_7437_2835131.1123255810508" References: <47F93946-2289-48F0-B574-D029EBD0F092@Sun.COM> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_7437_2835131.1123255810508 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Thanks Michael and Craig, If we should not rename the jar files, then my suggestion is that for the= =20 files we explicitly download, we should not rename them to xxx-SNAPSHOT.jar(i think i saw this in the README.txt for JPOX). This will reduce the confusion with version numbers.= =20 If we have explicit version numbers in the repository and project.xml, it= =20 will be easier to identify the mismatch when a build error occurs due to a= =20 version change in project.xml. If i just had a xxx-SNAPSHOT.jar, then i will actually have to remember=20 which version i renamed to xxx-SNAPSHOT.jar. So, renaming JPOX jars to=20 SNAPSHOT will cause confusion. QUESTION: What about the build fail message (which i posted earlier) where i needed= =20 jdo-r1 and jdo-api. Could you send me the link to download these files or= =20 should i just go on the sun/jcp website to download them. Again, i guess th= e=20 problem is going to be that if there are multiple versions of these files,= =20 then which version would i need , because the build fail message just says= =20 that i need SNAPSHOT version of these files. =20 On 8/5/05, Craig Russell wrote:=20 >=20 > Hi Karan,=20 > On Aug 4, 2005, at 10:16 PM, Karan Malhi wrote: >=20 > I am a newbie, have worked with it a little bit, but need to read more= =20 > about=20 > it. I did put the derby files in the /repository/derby/jars, just guessed= =20 > that this would be the location. >=20 > Another question:=20 >=20 > For c3p0, the README says that i need to copy c3p0-0.9.0-pre6.jar to the= =20 > /repository/c3p0/jars folder. I just downloaded the latest c3p0 jar file= =20 > and=20 > it is name c3p0-0.9.0.jar. Would i need to rename this file to=20 > c3p0-0.9.0-pre6.jar before i copy it? I will just rename it just to be on= =20 > the safer side though. >=20 >=20 > The name in the dependencies section of project.xml has to correspond to= =20 > the name of the jar file. So if you can't get the version listed in the= =20 > dependencies, you can just change the dependency. >=20 > Might be safer than changing the name of the jar file to something that= =20 > it's not... >=20 > Craig >=20 >=20 > On 8/5/05, Craig Russell wrote: >=20 > =20 > Hi Karan, > In the tck20 project.xml, you will find the dependencies. Derby is=20 > 10.0.2.1 . So you need to put a jar= =20 > file called=20 > derby-10.0.2.1.jar into the maven repository/derby/jars/ directory.=20 >=20 > If this is too cryptic, it might belong in the README file.=20 >=20 > How familiar are you with maven? (I'm a newby myself...) >=20 > Craig >=20 > On Aug 4, 2005, at 9:54 PM, Karan Malhi wrote: >=20 > Is there a specific location in the repository where i need to put derby= =20 > jar=20 > files? >=20 > On 8/5/05, Karan Malhi wrote: >=20 > =20 > Hi Craig, >=20 > The information was exactly where it should have been . I was just being= =20 > lazy to read the whole thing, and thought i would try and run maven first= .=20 > I=20 > have downloaded antlr and jar files for jndi.=20 >=20 > However, what version of JPOX jar files need to be downloaded. Can i=20 > simply download the latest beta versions? > If i need to make a change to the README.txt (like add the version number= s=20 > for JPOX jars), then do i submit a diff of README.txt file to the mailing= =20 > list?=20 >=20 > Regards >=20 > On 8/5/05, Craig Russell wrote: >=20 > =20 > Hi Karan, > On Aug 4, 2005, at 8:50 PM, Karan Malhi wrote: >=20 > Just checked out code from svn. Am a newbie to this project, so started= =20 > off=20 > with looking into some code and then ran maven. The build failed, below= =20 > is=20 > the partial output >=20 > =20 > This is just what is needed. Someone to download the repo and try to=20 > build it. >=20 > ANTLR is a dependency of JDO but unfortunately, maven can't get it all= =20 > by itself because ANTLR isn't available in a location that maven can=20 > access=20 > itself. That's why we give you a clue as to where to find it=20 >=20 > antlr-2.7.3.jar (try downloading from http://www.antlr.org/download.html= =20 > ) >=20 > =20 > What you have to do it to download it yourself. This should be explained= =20 > in the readme for the project. It should tell you exactly what to do with= =20 > the file that you download from the ANTLR site. >=20 > If the explanation isn't where you expected it to be, could you tell us= =20 > where you did expect this information to be? We can't by ourselves fix=20 > ANTLR=20 > download, but we sure can give you more explicit instructions how and=20 > where=20 > to find it. >=20 > Thanks, >=20 > Craig >=20 > =20 > +---------------------------------------- > | Executing multiproject:install-snapshot-callback JDO2 Implementation=20 > (Query) > | Memory: 18M/26M > +---------------------------------------- > Attempting to download jdo2-api-SNAPSHOT.jar. > Artifact /apache-jdo/jars/jdo2- api-SNAPSHOT.jar doesn't exists in=20 > remote=20 > repository, but it exists locally > Attempting to download jdo2-core-SNAPSHOT.jar. > Artifact /apache-jdo/jars/jdo2-core-SNAPSHOT.jar doesn't exists in=20 > remote=20 > repository, but it exists locally > Attempting to download jdo2-runtime-SNAPSHOT.jar . > Artifact /apache-jdo/jars/jdo2-runtime-SNAPSHOT.jar doesn't exists in=20 > remote=20 > repository, but it exists locally > Attempting to download antlr-2.7.3.jar. > WARNING: Failed to download antlr-2.7.3.jar. >=20 > BUILD FAILED > File...... /home/karan/.maven/cache/maven-multiproject-plugin-1.3.1 > /plugin.jelly > Element... maven:reactor > Line...... 217 > Column.... 9 > The build cannot continue because of the following unsatisfied=20 > dependency: >=20 > antlr-2.7.3.jar (try downloading from http://www.antlr.org/download.html > ) >=20 > Regards >=20 > --=20 > Karan Malhi >=20 > "Playfully doing something difficult, whether useful or not, that is > hacking." -- Richard Stallman >=20 > =20 > Craig Russell >=20 > Architect, Sun Java Enterprise System http://java.sun.com/products/jdo >=20 > 408 276-5638 mailto:Craig.Russell@sun.com < > Craig.Russell@sun.com> < > Craig.Russell@sun.com> >=20 > P.S. A good JDO? O, Gasp! >=20 > =20 > =20 > =20 > =20 > =20 > --=20 > Karan Malhi >=20 > "Playfully doing something difficult, whether useful or not, that is > hacking." -- Richard Stallman=20 >=20 > =20 > =20 > =20 > =20 > --=20 > Karan Malhi >=20 > "Playfully doing something difficult, whether useful or not, that is > hacking." -- Richard Stallman >=20 > =20 > Craig Russell >=20 > Architect, Sun Java Enterprise System http://java.sun.com/products/jdo >=20 > 408 276-5638 mailto:Craig.Russell@sun.com < > Craig.Russell@sun.com> >=20 > P.S. A good JDO? O, Gasp! >=20 > =20 > =20 >=20 > =20 > =20 > --=20 > Karan Malhi >=20 > "Playfully doing something difficult, whether useful or not, that is > hacking." -- Richard Stallman >=20 >=20 > Craig Russell >=20 > Architect, Sun Java Enterprise System http://java.sun.com/products/jdo >=20 > 408 276-5638 mailto:Craig.Russell@sun.com >=20 > P.S. A good JDO? O, Gasp! >=20 >=20 >=20 --=20 Karan Malhi "Playfully doing something difficult, whether useful or not, that is hacking." -- Richard Stallman ------=_Part_7437_2835131.1123255810508--