[ 
https://issues.apache.org/jira/browse/IVY-641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12680144#action_12680144
 ] 

Daniel Dekany commented on IVY-641:
-----------------------------------

I just realize retrieve can do something like that, for example:

      <delete dir=".ivy-repo" />
      <mkdir dir=".ivy-repo" />
      <ivy:retrieve settingsRef="remote"
          ivypattern=".ivy-repo/[organisation]/[module]/ivy-[revision].xml"
          
pattern=".ivy-repo/[organisation]/[module]/[artifact]-[revision].[ext]"
      />

This will get the dependencies in a format that's usable as an own private 
repository of the project:

            <filesystem name=".ivy-repo" cache="nocache">
                <ivy 
pattern="${ivy.project.dir}/.ivy-repo/[organisation]/[module]/ivy-[revision].xml"
 />
                <artifact 
pattern="${ivy.project.dir}/.ivy-repo/[organisation]/[module]/[artifact]-[revision].[ext]"
 />
            </filesystem>


> Need task to clone repository
> -----------------------------
>
>                 Key: IVY-641
>                 URL: https://issues.apache.org/jira/browse/IVY-641
>             Project: Ivy
>          Issue Type: New Feature
>          Components: Ant
>            Reporter: Pavel Krupets
>
> I installed repository at work (it's not visible from outside due to security 
> issues) so I need means to clone repository to local drive so people can work 
> remotely or at home. <repreport> can go through repository so I think it 
> won't be to difficult to add.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to