[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ivy-user
Subject:    Re: [Ivy SVN trunk ]Sun Jars
From:       "Florian Traverse" <florian.traverse () gmail ! com>
Date:       2007-09-18 18:39:44
Message-ID: 5ef057e40709181139n109bb2e5x97c65016b963bee0 () mail ! gmail ! com
[Download RAW message or body]


Great it worked, using both [module] & ${basedir} !! :)

Thanks !

Temsa

2007/9/18, Gilles Scokart <gscokart@gmail.com>:
>
> Try to use [module] instead of [artefact].
>
> Ivy dependencies are defined first in term of modules.  Artefacts are only
> known when the ivy.xml file (or pom.xml) is read.  If you don't want to
> write an module descriptors, you have to work only at module level.
>
> Maybe we should define such a resolver in our default settings...
>
> Note also that it migh be possible to define a resolver that take the
> pom.xml from the maven repository and the jars from a local dir.  (I know
> it
> is possible with an ivy repository, but I'm sure it can work with a maven
> repository).
>
> Gilles
>
> 2007/9/17, Florian Traverse <florian.traverse@gmail.com>:
> >
> > That's the point :)
> >
> > Do I have to make a  real repository, with Ivi xml description files, or
> > can
> > I simply drop the jar in my "lib" project's directory using  something
> > like
> > this (this one seems not to work)?
> >
> >             <filesystem name="libraries">
> >                 <ivy pattern="lib/[artifact]-[revision].xml" />
> >                 <artifact pattern="lib/[artifact]-[revision].[ext]" />
> >             </filesystem>
> >
> > I've tried to comment out  <ivy pattern="lib/[artifact]-[revision].xml"
> />
> > but it doesn't work either. So, any solution (don't forget, I'm a noob,
> > and
> > making a real repository with all the directories and xml files really
> > bugs
> > me ATM)?
> >
> > Regards,
> > Temsa
> > 2007/9/17, Jing Xue <jingxue@digizenstudio.com>:
> > >
> > >
> > > Quoting Florian Traverse <florian.traverse@gmail.com>:
> > >
> > > > And where do you see a Jar file ? There's only a pom ... ;oP
> > >
> > > Oops, should've looked closer.  My apologies.
> > >
> > > > I had the same problem with maven before, the solution was to
> download
> > > it
> > > > then do a mvn install with some options.
> > > >
> > > > So the question remains ... Any Idea ? :)
> > >
> > > I would look at publishing the jar into a local or shared repository,
> > > then.
> > >
> > > Cheers.
> > > --
> > > Jing Xue
> > >
> > >
> >
>
>
>
> --
> Gilles SCOKART
>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic