ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ravindra Reddy <ravindrareddy...@gmail.com>
Subject how to publish artifacts in to remote server (eg: Linux machine)
Date Wed, 06 May 2015 10:46:46 GMT
Hi ,

How to publish artifacts in to remote machine (eg: linux) ?

I have published artifacts in to my local (windows) but I want to publish
same artifacts in to Linux machine.

<ivysettings>

    <!-- Load the build.properties -->
    <properties file="${ivy.settings.dir}/ivy.properties" />

   <!-- Properties for a local repository of artifacts we're building -->
    <property name="ivy.local.root"
value="${ivy.settings.dir}/build/ivy-repository" /> (publishing artifacts
in to local like this I want to publish to some remote machine)
    <property name="ivy.local.ivy.pattern"
value="[organisation]/[module]/[artifact]-[revision].[ext]" />
    <property name="ivy.local.artifact.pattern"
value="[organisation]/[module]/[artifact]-[revision].[ext]" />


    <settings defaultResolver="offline" />

<resolvers>
        <filesystem name="local">
            <ivy pattern="${ivy.local.root}/${ivy.local.ivy.pattern}" />
            <artifact
pattern="${ivy.local.root}/${ivy.local.artifact.pattern}" />
        </filesystem>

        <chain name="offline">
            <resolver ref="local" />
            </chain>
    </resolvers>
</ivysettings>


publish tag

<ivy:publish resolver="local" status="integration" forcedeliver="true"
overwrite="true" publishivy="true">
   <artifacts pattern="${dist.dir}/[artifact].[ext]"/>
  </ivy:publish>

could you please help me on this?

Thanks in advance.


*Regards,*
*Ravindra Reddy J*

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