You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ivy-dev@incubator.apache.org by jpyork <jp...@hotmail.com> on 2007/11/06 17:00:19 UTC
Ivy suggestions/help needed
I am trying to introduce Ivy to my ant scripts but I am not able to figure
out how to do one thing.
I am looking for the command to manually install jar into my local
repository. These jar files are not available for download from public
repositories. I would imagine that the command would be similar to mavens
mvn install command.
Thanks
--
View this message in context: http://www.nabble.com/Ivy-suggestions-help-needed-tf4759539.html#a13611102
Sent from the ivy-dev mailing list archive at Nabble.com.
Re: Ivy suggestions/help needed
Posted by jpyork <jp...@hotmail.com>.
Xavier Hanin wrote:
>
> On 11/6/07, jpyork <jp...@hotmail.com> wrote:
>>
>>
>> I am trying to introduce Ivy to my ant scripts but I am not able to
>> figure
>> out how to do one thing.
>> I am looking for the command to manually install jar into my local
>> repository. These jar files are not available for download from public
>> repositories. I would imagine that the command would be similar to
>> mavens
>> mvn install command.
>
>
> There is no similar thing in Ivy, you should either copy your files by
> hand
> (which is pretty straightforward), or use the install task by first
> setting
> up the location of your module as the source repositoryin settings used
> only
> for installation. But this is much more complex, and this can be an
> interesting solution only if you have many modules to install this way.
>
> Xavier
>
> Thanks
>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Ivy-suggestions-help-needed-tf4759539.html#a13611102
>> Sent from the ivy-dev mailing list archive at Nabble.com.
>>
>>
>
>
> --
> Xavier Hanin - Independent Java Consultant
> http://xhab.blogspot.com/
> http://ant.apache.org/ivy/
> http://www.xoocode.org/
>
>
Thanks for the info, I was copying the files by hand, I guess I will keep
going.
--
View this message in context: http://www.nabble.com/Ivy-suggestions-help-needed-tf4759539.html#a13617114
Sent from the ivy-dev mailing list archive at Nabble.com.
Re: Ivy suggestions/help needed
Posted by Xavier Hanin <xa...@gmail.com>.
On 11/6/07, jpyork <jp...@hotmail.com> wrote:
>
>
> I am trying to introduce Ivy to my ant scripts but I am not able to figure
> out how to do one thing.
> I am looking for the command to manually install jar into my local
> repository. These jar files are not available for download from public
> repositories. I would imagine that the command would be similar to mavens
> mvn install command.
There is no similar thing in Ivy, you should either copy your files by hand
(which is pretty straightforward), or use the install task by first setting
up the location of your module as the source repositoryin settings used only
for installation. But this is much more complex, and this can be an
interesting solution only if you have many modules to install this way.
Xavier
Thanks
>
>
> --
> View this message in context:
> http://www.nabble.com/Ivy-suggestions-help-needed-tf4759539.html#a13611102
> Sent from the ivy-dev mailing list archive at Nabble.com.
>
>
--
Xavier Hanin - Independent Java Consultant
http://xhab.blogspot.com/
http://ant.apache.org/ivy/
http://www.xoocode.org/
Re: Ivy suggestions/help needed
Posted by Gilles Scokart <gs...@gmail.com>.
I'm using a script like this :
<target name="install" depends="setup-ivy" description="Download a
module from ibiblio an install it on a local repository">
<input message="Organisation" defaultvalue="org.apache"
addproperty="install.org"/>
<input message="Module" addproperty="install.module"/>
<input message="Version" addproperty="install.version"/>
<property name="install.target.reposiroty" value="local"/>
<property name="install.transtivity" value="true"/>
<echo>install.target.reposiroty = ${install.target.reposiroty
}</echo>
<echo>install.transtivity = ${install.transtivity}</echo>
<ivy:install from="ibiblio" to="${install.target.reposiroty}"
organisation="${install.org}" module="${install.module}"
revision="${install.version}"
transitive="${install.transtivity}"
/>
</target>
2007/11/6, jpyork <jp...@hotmail.com>:
>
>
> I am trying to introduce Ivy to my ant scripts but I am not able to figure
> out how to do one thing.
> I am looking for the command to manually install jar into my local
> repository. These jar files are not available for download from public
> repositories. I would imagine that the command would be similar to mavens
> mvn install command.
>
> Thanks
>
>
> --
> View this message in context:
> http://www.nabble.com/Ivy-suggestions-help-needed-tf4759539.html#a13611102
> Sent from the ivy-dev mailing list archive at Nabble.com.
>
>
--
Gilles SCOKART