Ant target "clean" on Ivy multi-project tutorial points to wrong cache 
directory.
---------------------------------------------------------------------------------

                 Key: IVY-548
                 URL: https://issues.apache.org/jira/browse/IVY-548
             Project: Ivy
          Issue Type: Bug
    Affects Versions: 1.4.1
            Reporter: Nascif Abousalh-Neto
             Fix For: unspecified


In the "multi-project" tutorial example, the Ant task clean is defined as 
follows:
<target name="clean" depends="clean-all" description="clean tutorial: delete 
repository, ivy cache, and all projects">
     <delete dir="repository"/>
     <delete dir="ivy-cache"/>
</target>

The last target doesn't do anything. The intention is to delete the user's 
cache, so it should be:
<target name="clean" depends="clean-all" description="clean tutorial: delete 
repository, ivy cache, and all projects">
  <delete dir="repository"/>
  <delete dir="${user.home}/.ivy/cache"/>
</target>

Ideally though it should point to an Ivy defined Ant property that contains the 
location of the cache, as this value can be set in the Ivy configuration file.


-- 
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