ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bokc bokc <youk...@gmail.com>
Subject Re: Problem with local repository
Date Tue, 01 Jun 2010 06:56:44 GMT
Yes, my jar is in ${dist.dir} .

The ant log is :
publish-local:
:: delivering :: FDI#FDITools;working@FR-KUNTZ :: last-build :: integration
:: Tue Jun 01 08:50:20 CEST 2010
        delivering ivy file to
C:\Olivier\dev\Tools\FDITools\scripts\..\dist\ivy.xml
:: publishing :: FDI#FDITools
        published FDITools to C:\Documents and
Settings\kuntz\.ivy2/local/FDI/FDITools/last-build/jars/FDITools.jar
        published ivy to C:\Documents and
Settings\kuntz\.ivy2/local/FDI/FDITools/last-build/ivys/ivy.xml

Olivier




2010/5/31 Maarten Coene <maarten_coene@yahoo.com>

> Stupid question: is your jar located in ${dist.dir} ?
> If so, could you post the Ant console output you get when publishing your
> jar?
>
> Maarten
>
>
>
>
> ----- Original Message ----
> From: bokc bokc <youkoun@gmail.com>
> To: ivy-user@ant.apache.org
> Sent: Mon, May 31, 2010 3:41:37 PM
> Subject: Problem with local repository
>
> Hi all,
>
> I'm new on Ivy. I try to publish a jar on a local repository (shared
> directory).
>
> My ivy conf file is :
> <ivysettings>
>    <properties file="${ivy.settings.dir}/ivysettings.properties" />
>    <property name="myrepository" value="//192.168.100.124/Repository"
> overrrite="true"/>
>    <settings defaultResolver="default"/>
>    <resolvers>
>            <filesystem name="local">
>                <ivy pattern="${myrepository}/[module]/ivy-[revision].xml"
> />
>                <artifact
> pattern="${myrepository}/[module]/[artifact]-[revision].[ext]" />
>            </filesystem>
>    </resolvers>
>    <include url="${ivy.default.settings.dir}/ivysettings-public.xml"/>
>    <include url="${ivy.default.settings.dir}/ivysettings-shared.xml"/>
>    <include url="${ivy.default.settings.dir}/ivysettings-local.xml" />
>    <include url="${ivy.default.settings.dir}/ivysettings-main-chain.xml"/>
>    <include
> url="${ivy.default.settings.dir}/ivysettings-default-chain.xml"/>
>
> </ivysettings>
>
> My ant task is :
>    <target name="ivy-init" description="Initialisation d'Ivy">
>        <ivy:settings file="${basedir}/ivysettings.xml"/>
>    </target>
>    <target name="publish-local" depends="jar,ivy-init" description="-->
> publish artifacts in the local repository">
>        <tstamp>
>            <format property="now" pattern="yyyyMMddHHmmss"/>
>        </tstamp>
>        <ivy:info />
>        <ivy:publish
>            resolver="local"
>            artifactspattern="${dist.dir}/[artifact].[ext]"
>            pubrevision="last-build"
>            pubdate="${now}"
>            status="integration"
>            forcedeliver="true"
>            overwrite="true"
>            />
>    </target>
>
> The build is good but my jar is not in the local repository. Some one can
> help me?
>
>
> --
> Olivier
> http://bokc-fr.blogspot.com/
>
>
>
>
>


-- 
Olivier
http://bokc-fr.blogspot.com/

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