db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karan Malhi <karan.ma...@gmail.com>
Subject Re: maven build failed
Date Fri, 05 Aug 2005 15:30:10 GMT
Thanks Michael and Craig,
 If we should not rename the jar files, then my suggestion is that for the 
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. 
If we have explicit version numbers in the repository and project.xml, it 
will be easier to identify the mismatch when a build error occurs due to a 
version change in project.xml.
 If i just had a xxx-SNAPSHOT.jar, then i will actually have to remember 
which version i renamed to xxx-SNAPSHOT.jar. So, renaming JPOX jars to 
SNAPSHOT will cause confusion.
 QUESTION:
 What about the build fail message (which i posted earlier) where i needed 
jdo-r1 and jdo-api. Could you send me the link to download these files or 
should i just go on the sun/jcp website to download them. Again, i guess the 
problem is going to be that if there are multiple versions of these files, 
then which version would i need , because the build fail message just says 
that i need SNAPSHOT version of these files.
 
 On 8/5/05, Craig Russell <Craig.Russell@sun.com> wrote: 
> 
> Hi Karan, 
>  On Aug 4, 2005, at 10:16 PM, Karan Malhi wrote:
> 
>  I am a newbie, have worked with it a little bit, but need to read more 
> about 
> it. I did put the derby files in the /repository/derby/jars, just guessed 
> that this would be the location.
> 
>  Another question: 
> 
>  For c3p0, the README says that i need to copy c3p0-0.9.0-pre6.jar to the 
> /repository/c3p0/jars folder. I just downloaded the latest c3p0 jar file 
> and 
> it is name c3p0-0.9.0.jar. Would i need to rename this file to 
> c3p0-0.9.0-pre6.jar before i copy it? I will just rename it just to be on 
> the safer side though.
> 
> 
> The name in the dependencies section of project.xml has to correspond to 
> the name of the jar file. So if you can't get the version listed in the 
> dependencies, you can just change the dependency.
> 
>  Might be safer than changing the name of the jar file to something that 
> it's not...
> 
>  Craig
> 
> 
>  On 8/5/05, Craig Russell <Craig.Russell@sun.com> wrote:
> 
>  
>  Hi Karan,
> In the tck20 project.xml, you will find the dependencies. Derby is 
> 10.0.2.1 <http://10.0.2.1/> <http://10.0.2.1>. So you need to put a jar 
> file called 
>  derby-10.0.2.1.jar into the maven repository/derby/jars/ directory. 
> 
>  If this is too cryptic, it might belong in the README file. 
> 
>  How familiar are you with maven? (I'm a newby myself...)
> 
>  Craig
> 
>  On Aug 4, 2005, at 9:54 PM, Karan Malhi wrote:
> 
>  Is there a specific location in the repository where i need to put derby 
> jar 
> files?
> 
>  On 8/5/05, Karan Malhi <karan.malhi@gmail.com> wrote:
> 
>  
>  Hi Craig,
> 
>  The information was exactly where it should have been . I was just being 
> lazy to read the whole thing, and thought i would try and run maven first. 
> I 
> have downloaded antlr and jar files for jndi. 
> 
>  However, what version of JPOX jar files need to be downloaded. Can i 
> simply download the latest beta versions?
> If i need to make a change to the README.txt (like add the version numbers 
> for JPOX jars), then do i submit a diff of README.txt file to the mailing 
> list? 
> 
>  Regards
> 
>  On 8/5/05, Craig Russell <Craig.Russell@sun.com> wrote:
> 
>  
>  Hi Karan,
> On Aug 4, 2005, at 8:50 PM, Karan Malhi wrote:
> 
>  Just checked out code from svn. Am a newbie to this project, so started 
> off 
> with looking into some code and then ran maven. The build failed, below 
> is 
> the partial output
> 
>  
>  This is just what is needed. Someone to download the repo and try to 
> build it.
> 
>  ANTLR is a dependency of JDO but unfortunately, maven can't get it all 
> by itself because ANTLR isn't available in a location that maven can 
> access 
> itself. That's why we give you a clue as to where to find it 
> 
>  antlr-2.7.3.jar (try downloading from http://www.antlr.org/download.html 
> )
> 
>  
>  What you have to do it to download it yourself. This should be explained 
> in the readme for the project. It should tell you exactly what to do with 
> the file that you download from the ANTLR site.
> 
>  If the explanation isn't where you expected it to be, could you tell us 
> where you did expect this information to be? We can't by ourselves fix 
> ANTLR 
> download, but we sure can give you more explicit instructions how and 
> where 
> to find it.
> 
>  Thanks,
> 
>  Craig
> 
>  
>  +----------------------------------------
> | Executing multiproject:install-snapshot-callback JDO2 Implementation 
> (Query)
> | Memory: 18M/26M
> +----------------------------------------
> Attempting to download jdo2-api-SNAPSHOT.jar.
> Artifact /apache-jdo/jars/jdo2- api-SNAPSHOT.jar doesn't exists in 
> remote 
> repository, but it exists locally
> Attempting to download jdo2-core-SNAPSHOT.jar.
> Artifact /apache-jdo/jars/jdo2-core-SNAPSHOT.jar doesn't exists in 
> remote 
> repository, but it exists locally
> Attempting to download jdo2-runtime-SNAPSHOT.jar .
> Artifact /apache-jdo/jars/jdo2-runtime-SNAPSHOT.jar doesn't exists in 
> remote 
> repository, but it exists locally
> Attempting to download antlr-2.7.3.jar.
> WARNING: Failed to download antlr-2.7.3.jar.
> 
>  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 
> dependency:
> 
>  antlr-2.7.3.jar (try downloading from http://www.antlr.org/download.html
> )
> 
>  Regards
> 
>  -- 
> Karan Malhi
> 
>  "Playfully doing something difficult, whether useful or not, that is
> hacking." -- Richard Stallman
> 
>  
>  Craig Russell
> 
>  Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
> 
>  408 276-5638 mailto:Craig.Russell@sun.com <Craig.Russell@sun.com> <
> Craig.Russell@sun.com> <
> Craig.Russell@sun.com>
> 
>  P.S. A good JDO? O, Gasp!
> 
>  
>  
>  
>  
>  
>  -- 
> Karan Malhi
> 
>  "Playfully doing something difficult, whether useful or not, that is
> hacking." -- Richard Stallman 
> 
>  
>  
>  
>  
>  -- 
> Karan Malhi
> 
>  "Playfully doing something difficult, whether useful or not, that is
> hacking." -- Richard Stallman
> 
>  
>  Craig Russell
> 
>  Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
> 
>  408 276-5638 mailto:Craig.Russell@sun.com <Craig.Russell@sun.com> <
> Craig.Russell@sun.com>
> 
>  P.S. A good JDO? O, Gasp!
> 
>  
>  
> 
>  
>  
>  -- 
> Karan Malhi
> 
>  "Playfully doing something difficult, whether useful or not, that is
> hacking." -- Richard Stallman
> 
> 
>  Craig Russell
> 
> Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
> 
> 408 276-5638 mailto:Craig.Russell@sun.com <Craig.Russell@sun.com>
> 
> P.S. A good JDO? O, Gasp!
> 
> 
> 


-- 
Karan Malhi

"Playfully doing something difficult, whether useful or not, that is
hacking." -- Richard Stallman

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message