ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Florian Traverse" <florian.trave...@gmail.com>
Subject Re: [Ivy SVN trunk ]Sun Jars
Date Tue, 18 Sep 2007 18:39:44 GMT
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
>

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