You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ivy-user@ant.apache.org by ekta goel <ek...@gmail.com> on 2007/10/23 09:59:36 UTC
Could not find commons-lang.jar
Hi
I am running build.xml given in the quick start tutorial provided on the
site.
I got problem t this line :
<ivy:cachepath organisation="apache" module="commons-lang" revision="2.1"
pathid="lib.path.id" inline="true"/>
I dont have net on my system and I copied commons-lang.jar at the same
location where build.xml is present.
I want to ask two things:
> Internet is necessary to work with ivy.
> If I want to copy commons-lang.jar(on which there is dependency) where
should i copy it. Where do I found other file also like ivy.xml.
which it tries to download
Sir for deatiled information , I am attaching output of the build.
Please see the problem, reply me asap
Thanks
Ekta
Re: Could not find commons-lang.jar
Posted by Jacob Grydholt Jensen <gr...@gmail.com>.
On 23/10/2007, ekta goel <ek...@gmail.com> wrote:
> Hi
>
> I am running build.xml given in the quick start tutorial provided on the
> site.
> I got problem t this line :
> <ivy:cachepath organisation="apache" module="commons-lang" revision="2.1 "
> pathid="lib.path.id" inline="true"/>
>
> I dont have net on my system and I copied commons-lang.jar at the same
> location where build.xml is present.
>
> I want to ask two things:
> > Internet is necessary to work with ivy.
No, internet access is not a requirement, but access to some kind of
repository is necessary. If you want to play with the Ivy examples, I
suggest you go online.
> > If I want to copy commons-lang.jar(on which there is dependency) where
> should i copy it. Where do I found other file also like ivy.xml.
> which it tries to download
Basically, you will need to download the dependencies into a local
repository and create an ivysettings file that points to the local
repository. I think the install-task will work well for this scenario.
However, I do believe you will be better off trying out ivy when
online rather than going through these hoops.
Jacob
Re: Could not find commons-lang.jar
Posted by Xavier Hanin <xa...@gmail.com>.
On 10/23/07, ekta goel <ek...@gmail.com> wrote:
>
> Hi
>
> I am running build.xml given in the quick start tutorial provided on the
> site.
> I got problem t this line :
> <ivy:cachepath organisation="apache" module="commons-lang" revision="2.1 "
> pathid="lib.path.id" inline="true"/>
>
> I dont have net on my system and I copied commons-lang.jar at the same
> location where build.xml is present.
>
> I want to ask two things:
> > Internet is necessary to work with ivy.
> > If I want to copy commons-lang.jar(on which there is dependency) where
> should i copy it. Where do I found other file also like ivy.xml.
> which it tries to download
You need an internet access to use internet repositories like the maven 2
repository which is the default for latest Ivy version. If you don't have
internet access on your build box, I suggest reading more information about
the settings in Ivy, and especially the adjusting default settings tutorial,
the dual and multiple tutorials, and the settings reference documentation
which will help you setup your own repository..
Xavier
Sir for deatiled information , I am attaching output of the build.
>
> Please see the problem, reply me asap
>
> Thanks
> Ekta
>
>
>
--
Xavier Hanin - Independent Java Consultant
http://xhab.blogspot.com/
http://ant.apache.org/ivy/
http://www.xoocode.org/