You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Phillip Rhodes (JIRA)" <ji...@apache.org> on 2007/12/10 16:54:43 UTC

[jira] Created: (IVY-667) Inconsistency with "multi-project" tutorial

Inconsistency with "multi-project" tutorial
-------------------------------------------

                 Key: IVY-667
                 URL: https://issues.apache.org/jira/browse/IVY-667
             Project: Ivy
          Issue Type: Bug
          Components: Documentation
            Reporter: Phillip Rhodes
            Priority: Minor


I've noticed what seems to be a discrepancy with the
multi-project tutorial.  If I do a "publish-local" in one of
the projects (say, "sizewhere" the place where the artifacts
are published looks like this:

multi-project/repository/local/org.apache.ivy.example/sizewhere

note that the organisation is part of the path that gets created.

But, in the common.xml, in the "clean-local" task, the "delete"
doesn't specify the organisation as part of the path, so nothing
is ever deleted on a "clean-local" (since the actual path that it's
trying to delete doesn't exist):

 <target name="clean-local" description="--> cleans the local repository
for the current module">
          <delete dir="${ivy.local.default.root}/${ant.project.name}"/>
</target>

I modified my copy of common.xml as follows and this seems to work.  Not
sure if this was what was intended to be in the tutorial or not, but
this works:

 <target name="clean-local" description="--> cleans the local repository
for the current module">
          <ivy:info file="${basedir}/ivy.xml" />
          <delete
dir="${ivy.local.default.root}/${ivy.organisation}/${ant.project.name}"/>
</target>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (IVY-667) Inconsistency with "multi-project" tutorial

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

Xavier Hanin reassigned IVY-667:
--------------------------------

    Assignee: Xavier Hanin

> Inconsistency with "multi-project" tutorial
> -------------------------------------------
>
>                 Key: IVY-667
>                 URL: https://issues.apache.org/jira/browse/IVY-667
>             Project: Ivy
>          Issue Type: Bug
>          Components: Documentation
>            Reporter: Phillip Rhodes
>            Assignee: Xavier Hanin
>            Priority: Minor
>             Fix For: 2.0-RC1
>
>
> I've noticed what seems to be a discrepancy with the
> multi-project tutorial.  If I do a "publish-local" in one of
> the projects (say, "sizewhere" the place where the artifacts
> are published looks like this:
> multi-project/repository/local/org.apache.ivy.example/sizewhere
> note that the organisation is part of the path that gets created.
> But, in the common.xml, in the "clean-local" task, the "delete"
> doesn't specify the organisation as part of the path, so nothing
> is ever deleted on a "clean-local" (since the actual path that it's
> trying to delete doesn't exist):
>  <target name="clean-local" description="--> cleans the local repository
> for the current module">
>           <delete dir="${ivy.local.default.root}/${ant.project.name}"/>
> </target>
> I modified my copy of common.xml as follows and this seems to work.  Not
> sure if this was what was intended to be in the tutorial or not, but
> this works:
>  <target name="clean-local" description="--> cleans the local repository
> for the current module">
>           <ivy:info file="${basedir}/ivy.xml" />
>           <delete
> dir="${ivy.local.default.root}/${ivy.organisation}/${ant.project.name}"/>
> </target>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (IVY-667) Inconsistency with "multi-project" tutorial

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

Xavier Hanin updated IVY-667:
-----------------------------

    Fix Version/s: 2.0

> Inconsistency with "multi-project" tutorial
> -------------------------------------------
>
>                 Key: IVY-667
>                 URL: https://issues.apache.org/jira/browse/IVY-667
>             Project: Ivy
>          Issue Type: Bug
>          Components: Documentation
>            Reporter: Phillip Rhodes
>            Priority: Minor
>             Fix For: 2.0
>
>
> I've noticed what seems to be a discrepancy with the
> multi-project tutorial.  If I do a "publish-local" in one of
> the projects (say, "sizewhere" the place where the artifacts
> are published looks like this:
> multi-project/repository/local/org.apache.ivy.example/sizewhere
> note that the organisation is part of the path that gets created.
> But, in the common.xml, in the "clean-local" task, the "delete"
> doesn't specify the organisation as part of the path, so nothing
> is ever deleted on a "clean-local" (since the actual path that it's
> trying to delete doesn't exist):
>  <target name="clean-local" description="--> cleans the local repository
> for the current module">
>           <delete dir="${ivy.local.default.root}/${ant.project.name}"/>
> </target>
> I modified my copy of common.xml as follows and this seems to work.  Not
> sure if this was what was intended to be in the tutorial or not, but
> this works:
>  <target name="clean-local" description="--> cleans the local repository
> for the current module">
>           <ivy:info file="${basedir}/ivy.xml" />
>           <delete
> dir="${ivy.local.default.root}/${ivy.organisation}/${ant.project.name}"/>
> </target>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (IVY-667) Inconsistency with "multi-project" tutorial

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

Xavier Hanin resolved IVY-667.
------------------------------

    Resolution: Fixed

I've fixed the problem following your suggestion. Thanks for reporting the problem!

> Inconsistency with "multi-project" tutorial
> -------------------------------------------
>
>                 Key: IVY-667
>                 URL: https://issues.apache.org/jira/browse/IVY-667
>             Project: Ivy
>          Issue Type: Bug
>          Components: Documentation
>            Reporter: Phillip Rhodes
>            Assignee: Xavier Hanin
>            Priority: Minor
>             Fix For: 2.0-RC1
>
>
> I've noticed what seems to be a discrepancy with the
> multi-project tutorial.  If I do a "publish-local" in one of
> the projects (say, "sizewhere" the place where the artifacts
> are published looks like this:
> multi-project/repository/local/org.apache.ivy.example/sizewhere
> note that the organisation is part of the path that gets created.
> But, in the common.xml, in the "clean-local" task, the "delete"
> doesn't specify the organisation as part of the path, so nothing
> is ever deleted on a "clean-local" (since the actual path that it's
> trying to delete doesn't exist):
>  <target name="clean-local" description="--> cleans the local repository
> for the current module">
>           <delete dir="${ivy.local.default.root}/${ant.project.name}"/>
> </target>
> I modified my copy of common.xml as follows and this seems to work.  Not
> sure if this was what was intended to be in the tutorial or not, but
> this works:
>  <target name="clean-local" description="--> cleans the local repository
> for the current module">
>           <ivy:info file="${basedir}/ivy.xml" />
>           <delete
> dir="${ivy.local.default.root}/${ivy.organisation}/${ant.project.name}"/>
> </target>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.