You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ivy-commits@incubator.apache.org by "Nascif Abousalh-Neto (JIRA)" <ji...@apache.org> on 2007/06/28 19:58:04 UTC

[jira] Created: (IVY-548) Ant target "clean" on Ivy multi-project tutorial points to wrong cache directory.

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.


[jira] Updated: (IVY-548) Ant target "clean" on Ivy multi-project tutorial points to wrong cache directory.

Posted by "Xavier Hanin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/IVY-548?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xavier Hanin updated IVY-548:
-----------------------------

    Fix Version/s:     (was: unspecified)
                   2.0.0-alpha-2

> 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: 2.0.0-alpha-2
>
>
> 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.


[jira] Assigned: (IVY-548) Ant target "clean" on Ivy multi-project tutorial points to wrong cache directory.

Posted by "Xavier Hanin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/IVY-548?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xavier Hanin reassigned IVY-548:
--------------------------------

    Assignee: Xavier Hanin

> 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
>            Assignee: Xavier Hanin
>             Fix For: 2.0.0-alpha-2
>
>
> 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.


[jira] Resolved: (IVY-548) Ant target "clean" on Ivy multi-project tutorial points to wrong cache directory.

Posted by "Xavier Hanin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/IVY-548?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xavier Hanin resolved IVY-548.
------------------------------

    Resolution: Fixed

I've updated the tutorial to make use of the new cleancache task (see IVY-565)

> 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
>            Assignee: Xavier Hanin
>             Fix For: 2.0.0-alpha-2
>
>
> 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.