<project name="ivyde" basedir="." default="publish" xmlns:ivy="antlib:fr.jayasoft.ivy.ant" xmlns:antcontrib="antlib:net.sf.antcontrib">
    <target name="init_ivy">            
        <!-- Please add the path to you ivy.jar here: -->
        <path id="ivy.path" location="D:/sources.java/development/_Build/ivy/bin/ivy-1.4.1.jar"/>                        
        <taskdef resource="fr/jayasoft/ivy/ant/antlib.xml" uri="antlib:fr.jayasoft.ivy.ant" classpathref="ivy.path"/>            
        
        <!-- configure using the settings file in this directory -->
        <ivy:configure file="ivysettings.xml"/>
    </target>
    
    
    <target name="publish" depends="init_ivy" description="Publish a problematic ivy.xml to local repository">
        <ivy:resolve file="problem-ivy.xml"/>
        <ivy:publish resolver="simple"/>
    </target>
    
    <!-- This task is just to prove that ant & ivy are able to resolve the problematic module, since "validate" is set to false -->
    <target name="resolve" depends="init_ivy" description="Resolve a problematic ivy.xml from local repository">
        <ivy:resolve file="ivy.xml"/>
    </target>        
</project>
